--- FM2SQL/Attic/DBBean.java 2004/07/09 10:26:38 1.27 +++ FM2SQL/Attic/DBBean.java 2004/07/19 11:01:29 1.28 @@ -1545,5 +1545,26 @@ public class DBBean { useNormanToUnicodeMapper = b; } + /** + * + */ + protected void closeAllConnections() + { + Enumeration enumeration = connectionPool.elements(); + while(enumeration.hasMoreElements()) + { + ConnectionPool conPol =(ConnectionPool)enumeration.nextElement(); + try + { + System.out.println(conPol); + conPol.con.close(); + } catch (SQLException e) + { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + + } } \ No newline at end of file