9899100101102103104105106107108
try{ pStmt = con.prepareStatement(FIND_ALL_STATEMENT); rs = pStmt.executeQuery(); while (rs.next()){ valueObject = populate(rs); valueObject.afterPopulate(con); col.add(valueObject); } return col; }finally{ if(null!=rs){
151152153154155156157158159160161
pStmt = con.prepareStatement(LanBeanBase.SELECT_STATEMENT); pStmt.setObject(1, primaryKey.getLankod()); rs = pStmt.executeQuery(); while (rs.next()){ valueObject = populate(rs); valueObject.afterPopulate(con); } return valueObject; }finally{ if(null!=rs){ rs.close();
102103104105106107108109110111112
155156157158159160161162163164165
pStmt = con.prepareStatement(LanguageBeanBase.SELECT_STATEMENT); pStmt.setObject(1, primaryKey.getLanguageid()); rs = pStmt.executeQuery(); while (rs.next()){ valueObject = populate(rs); valueObject.afterPopulate(con); } return valueObject; }finally{ if(null!=rs){ rs.close();
152153154155156157158159160161162
pStmt.setObject(1, primaryKey.getId()); pStmt.setObject(2, primaryKey.getGroupid()); rs = pStmt.executeQuery(); while (rs.next()){ valueObject = populate(rs); valueObject.afterPopulate(con); } return valueObject; }finally{ if(null!=rs){ rs.close();
100101102103104105106107108109110
153154155156157158159160161162163
pStmt = con.prepareStatement(PatientlogBeanBase.SELECT_STATEMENT); pStmt.setObject(1, primaryKey.getId()); rs = pStmt.executeQuery(); while (rs.next()){ valueObject = populate(rs); valueObject.afterPopulate(con); } return valueObject; }finally{ if(null!=rs){ rs.close();