Revision 1131
Added by Jing Tao over 22 years ago
src/edu/ucsb/nceas/metacat/DBEntityResolver.java | ||
---|---|---|
190 | 190 |
int serialNumber = -1; |
191 | 191 |
try { |
192 | 192 |
//check out DBConnection |
193 |
conn=DBConnectionPool.getDBConnection("AccessControlList.isAccessDoc");
|
|
193 |
conn=DBConnectionPool.getDBConnection("DBEntityResolver.getDTDSystemID");
|
|
194 | 194 |
serialNumber=conn.getCheckOutSerialNumber(); |
195 | 195 |
|
196 | 196 |
stmt = conn.createStatement(); |
... | ... | |
228 | 228 |
// make a reference in db catalog table with @systemId for @doctype |
229 | 229 |
try { |
230 | 230 |
//check out DBConnection |
231 |
conn=DBConnectionPool.getDBConnection("AccessControlList.isAccessDoc");
|
|
231 |
conn=DBConnectionPool.getDBConnection("DBEntityResolver.registerDTD");
|
|
232 | 232 |
serialNumber=conn.getCheckOutSerialNumber(); |
233 | 233 |
|
234 | 234 |
PreparedStatement pstmt; |
Also available in: Unified diff
Correct the parameter of getDBConnection - methodName in code.