--- FM2SQL/Attic/DBBean.java 2004/03/23 11:57:06 1.11 +++ FM2SQL/Attic/DBBean.java 2004/04/05 10:14:01 1.12 @@ -665,6 +665,19 @@ public class DBBean if (!connection.isClosed()) stm = connection.createStatement(); + else { + + + try + { + connection = getConnection(); + stm= connection.createStatement(); + } catch (Exception e) + { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } stm.setMaxRows(numberOfHits); long time = System.currentTimeMillis(); stm.execute(query);