ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtaki...@kantei.co.jp (瀧内誠)
Subject Many DB sessions are left
Date Thu, 06 Dec 2007 02:13:50 GMT

Hi,

I have a problem.

I use java1.5, iBatis2,3 Oracle10G, tomcat6.

Though servlet processing was over, a lot of Oracle sessions are left. 
Do you know a solution?


---------------part of program------------------------------
Reader reader = Resources.getResourceAsReader(RESOURCE_FILE);
SqlMapClient sqlMap = SqlMapClientBuilder.buildSqlMapClient(reader);
sqlMap.startTransaction();
List<Map> list1 = (List<Map>) sqlMap.queryForList("getData");
sqlMap.endTransaction ();
sqlMap = null;
reader = null;
list1 = null;
---------------part of program------------------------------

Thank You in Advance
Makoto Takiuchi

Mime
View raw message