Changeset 9851 for branches/ant-install-branch/gsdl3/src/java/org/greenstone/gsdl3/gs3build/metadata/METSFileSet.java
- Timestamp:
- 2005-05-10T15:54:21+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ant-install-branch/gsdl3/src/java/org/greenstone/gsdl3/gs3build/metadata/METSFileSet.java
r8742 r9851 310 310 311 311 // start going through the matching file groups 312 // clone the connection cos we are still usign the old result set 313 GS3SQLConnection cloned_connection = connection.cloneConnection(); 312 314 try { 313 315 ResultSet resultSet = connection.getResultSet(); 314 316 resultSet.first(); 315 317 do { 316 METSFileGroup filegroup = METSFileGroup.readSQL(document, c onnection, resultSet);318 METSFileGroup filegroup = METSFileGroup.readSQL(document, cloned_connection, resultSet); 317 319 if (filegroup != null) { 318 320 set.addGroup(filegroup); 319 321 } 320 322 } while (resultSet.next()); 323 324 cloned_connection.close(); 325 cloned_connection = null; 321 326 } 322 327 catch (SQLException sqlEx) { 323 328 System.out.println(sqlEx); 329 sqlEx.printStackTrace(); 324 330 System.exit(1); 325 331 }
Note:
See TracChangeset
for help on using the changeset viewer.