http://novathin.kr/님께서 알려준, 오라클 db conn detect할 수 있는 옵션입니다.
<dataSource type="POOLED"> 안에 아래의 property를 넣어주면 됩니다..
<dataSource type="POOLED"> 안에 아래의 property를 넣어주면 됩니다..
<property name="poolPingEnabled" value="true"/>아, 좋네요.. ^^
<property name="poolPingQuery" value="select 1 from dual"/>
'Apache Project > Ibatis/Mybatis' 카테고리의 다른 글
| mybatis의 SqlSession에서 commit();close(); vs close(); 어떤걸 해야 하나요? (0) | 2011/04/29 |
|---|---|
| ibatis/mybatis에서 oracle connection detect 하기.. (0) | 2011/01/11 |
| java.lang.IllegalArgumentException: Mapped Statements collection does not contain value xxx.xxx.xxx.xxx (0) | 2010/09/13 |
| mssql 2008 jdbc 세팅하기.. (0) | 2010/06/11 |
| Apache iBatis에서 다중 데이터 베이스 사용 방법 (0) | 2008/08/01 |