OpenSource/Mybatis&Ibatis(10)
-
Mybatis SVN 주소
참고참고~ http://mybatis.googlecode.com/svn
2013.05.09 -
org.postgresql.util.PSQLException: Returning autogenerated keys is not supported
환경 : springframework 3.1 + PostgreSQL 9.2 + Mybatis 사용 오류내용 : org.postgresql.util.PSQLException: Returning autogenerated keys is not supported. ### SQL: INSERT INTO BOARD (title, contents, reg_id, reg_date, mod_id, mod_date) VALUES (?, ?,?,current_timestamp,?,current_timestamp) ### Cause: org.postgresql.util.PSQLException: Returning autogenerated keys is not supported. ; uncategorized SQLExcepti..
2013.01.22 -
Mybatis 시작하기 전..
모든 MyBatis 애플리케이션은 SqlSessionFactory 인스턴스를 사용 SqlSessionFactory 인스턴스는 SqlSessionFactoryBuilder 를 사용 SqlSessionFactoryBuilder 는 XML 설정파일에서 SqlSessionFactory 인스턴스를 빌드할 수 있다. Mybatis를 사용하기 위해 설정을 하고자 한다면 아래의 내용을 볼 수 있을 것이다. 아래는 spring에서 bean 설정을 해주는 부분이다. 아래의 용어들에 대해서 살펴볼 필요가 있다. SqlSessionFactoryBuilder 이 클래스는 인스턴스회되어 사용되고 던져질 수 있다. SqlSessionFactory 를 생성한 후 유지할 필요는 없다. 그러므로 SqlSessionFactoryBuild..
2013.01.02 -
ibatis 쓸만한 것 정리
■ Ibatis 1) - : 여기서 지정된 쿼리 매핑 구문이 실행되면 캐시의 내용을 지운다. - : 캐시의 내용을 지우는 시간 간격을 정의 한다. 2) 3) 4) item_id = #item_id# 5) /* Item.getItemList */ /* 요소를 넣을 수 도 있다. */ 6) /* Item.getDeliPriceCode */ select deli_price_code From item Where item_id= #item_id# and rownum =1 7) 8) ............................................................ 9) /* Item.getItemPositionStockQty*/ SELECT F1_PRICEMGR_STOCKQTY_TEMP(..
2012.04.24