본문 바로가기

database

spring + mongodb setup 무료 mongodb 호스팅500M free : https://mongolab.com 참조: http://www.mkyong.com/mongodb/spring-data-mongodb-hello-world-example/ http://www.springsource.org/spring-data/mongodb http://www.mongodb.org/ pom.xml org.mongodbmongo-java-driver2.11.0 org.springframework.dataspring-data-mongodb1.2.0.RELEASE SpringMongoConfig.java@Configurationpublic class SpringMongoConfig { public @BeanMongoDbFactory mongoDbF.. 더보기
iBATIS Dowload & Document.. from http://ibatis.apache.org/javadownloads.cgi Releases iBATIS Java 2.3.0 Binaries, Source, and Documentation (Dec 1, 2006) [MD5] [PGP] [Status: General Availability] Release Notes iBATIS Java 2.2.0 Binaries, Source and Documentation (Aug 16, 2006) [MD5] [PGP] [Status: General Availability] Release Notes Documentation Korean PDF SQL Maps for Java, Developer Guide SQL Maps for Java, Tutorial 더보기
서브쿼리. (SubQuery) 서브쿼리. - 다른하나의 결과물을 조건절이나 테이블 조건으로 사용할 수 있다. ex) [code type=oracle8] select * from ( select .... from ..... 조건절 ) select ( select .... from .... 조건절) from ..... ) select * from .... where ( select .... from ..... ) [/code] 머 이런식으로 쓸수 있다. 아직까진 자유자재로 쓰진 못하지만.. 따로 뷰형식으로 쓸수 있다는 것. 더보기
NVL 함수. - NVL 문법: NVL( expr1, expr2 ) 형식으로 사용. 만약 1의 값이 NULL 이라면 2의 값을 반환하고, 1이 NULL이 아니면 그냥 1의 값을 반환한다. - NVL2 문법: NVL2(expr, expr1, expr2) expr의 값이 null이 아니면 expr1, null이면 expr2 더보기