public Connection getConnection() //throws SQLException { Connection con=null; while(con==null) { try { con=_source.getConnection(); } catch (SQLException e) { _log.warning("L2DatabaseFactory: getConnection() failed, trying again "+e); } }; return con; }