Revision 1137
Added by Jing Tao over 22 years ago
src/edu/ucsb/nceas/metacat/AccessionNumber.java | ||
---|---|---|
259 | 259 |
pstmt.execute(); |
260 | 260 |
pstmt.close(); |
261 | 261 |
|
262 |
uniqueid = "" + dbAdapter.getUniqueID("accession_number"); |
|
262 |
uniqueid = "" + dbAdapter.getUniqueID(conn.getConnections(), |
|
263 |
"accession_number"); |
|
264 |
//because we only count the connection usage one when it check in |
|
265 |
//but it use twice. So we need to increase one |
|
266 |
conn.increaseUsageCount(1); |
|
263 | 267 |
|
264 | 268 |
} catch (SQLException e) { |
265 | 269 |
throw new |
Also available in: Unified diff
Change the API for dbAdopter.