AW: JDBC connection leak

2002-03-08 Thread Marc Lehnert
Hi! Problem solved. I removed all the JDBC things and implemented two more finder methods for min and max of date such as: finder-method query=$rw_websiteID = $1 and rw_datetime in (select min (rw_datetime) from logfilerow where $rw_websiteID = $1) method ejb-nameLogFileRow/ejb-name

JDBC connection leak

2002-03-07 Thread Marc Lehnert
anybody help me? Thanks in advance. Marc Lehnert,. The code: PreparedStatement stmt = null; java.sql.Timestamp siteEndDate; java.sql.Timestamp siteBeginDate; try { javax.sql.DataSource ds = (javax.sql.DataSource