Revision 5319
Added by Matt Jones about 14 years ago
DBSAXNode.java | ||
---|---|---|
241 | 241 |
pstmt.close(); |
242 | 242 |
|
243 | 243 |
// get the generated unique id afterward |
244 |
nid = DatabaseService.getDBAdapter().getUniqueID(connection.getConnections(), "xml_nodes"); |
|
244 |
nid = DatabaseService.getInstance().getDBAdapter().getUniqueID(connection.getConnections(), "xml_nodes");
|
|
245 | 245 |
//should increase connection usage!!!!!! |
246 | 246 |
|
247 | 247 |
|
... | ... | |
370 | 370 |
pstmt.close(); |
371 | 371 |
|
372 | 372 |
// get the generated unique id afterward |
373 |
nid = DatabaseService.getDBAdapter().getUniqueID(connection.getConnections(), "xml_nodes"); |
|
373 |
nid = DatabaseService.getInstance().getDBAdapter().getUniqueID(connection.getConnections(), "xml_nodes");
|
|
374 | 374 |
//should incease connection usage!!!!!! |
375 | 375 |
|
376 | 376 |
} catch (SQLException e) { |
Also available in: Unified diff
Modifications to support the DataONE service API version 0.1.0. For DataONE, the get() and
create() services are partially complete. Several more functions and checks need to be added to
create() before it is viable. This DataONE support is not complete, and the current support breaks the MetacatRestClientTest for the time being (this client will eventually be removed).