Revision 4800
Added by ben leinfelder over 15 years ago
src/edu/ucsb/nceas/metacat/DBEntityResolver.java | ||
---|---|---|
264 | 264 |
|
265 | 265 |
pstmt = connection.prepareStatement( |
266 | 266 |
"INSERT INTO xml_catalog " + |
267 |
"(catalog_id, entry_type, public_id, system_id) " +
|
|
268 |
"VALUES (null, 'DTD', ?, ?)");
|
|
267 |
"(entry_type, public_id, system_id) " + |
|
268 |
"VALUES ('DTD', ?, ?)"); |
|
269 | 269 |
// Increase usage count |
270 | 270 |
connection.increaseUsageCount(1); |
271 | 271 |
// Bind the values to the query |
Also available in: Unified diff
do not include the column name when inserting into an auto-increment column