Revision 1138
Added by Jing Tao over 22 years ago
src/edu/ucsb/nceas/metacat/DBConnection.java | ||
---|---|---|
371 | 371 |
return conn.createStatement(); |
372 | 372 |
}//prepareStatement |
373 | 373 |
|
374 |
/** |
|
375 |
* Method to make a commit command |
|
376 |
*/ |
|
377 |
public void commit() throws SQLException |
|
378 |
{ |
|
379 |
conn.commit(); |
|
380 |
}//commit |
|
374 | 381 |
|
382 |
|
|
375 | 383 |
}//DBConnection class |
Also available in: Unified diff
Add a new method commit.