Changeset 9849
- Timestamp:
- 2005-05-10T15:50:32+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ant-install-branch/gsdl3/src/java/org/greenstone/gsdl3/gs3build/doctypes/AbstractDocument.java
r8742 r9849 447 447 * Obtain a document from the SQL database 448 448 */ 449 public static AbstractDocument readSQL(GS3SQLConnection connection, ResultSet sqlResult)449 public static AbstractDocument readSQL(GS3SQLConnection connection, ResultSet sqlResult) 450 450 { try { 451 451 DocumentID id = new DocumentID(sqlResult.getString("DocID")); … … 460 460 document.modifiedDate = sqlResult.getTimestamp("ModifiedDate"); 461 461 462 // Note that once we have used the connection for something else, our results are closed. 462 463 // Get the individual components of the document 463 464 METSFileSet fileSet = METSFileSet.readSQL(document, connection);
Note:
See TracChangeset
for help on using the changeset viewer.