Revision 1132
Added by Jing Tao over 22 years ago
src/edu/ucsb/nceas/metacat/DBConnection.java | ||
---|---|---|
362 | 362 |
return conn.prepareStatement(sql); |
363 | 363 |
}//prepareStatement |
364 | 364 |
|
365 |
|
|
366 |
/** |
|
367 |
* Method to create a Statement |
|
368 |
*/ |
|
369 |
public Statement createStatement() throws SQLException |
|
370 |
{ |
|
371 |
return conn.createStatement(); |
|
372 |
}//prepareStatement |
|
365 | 373 |
|
366 |
|
|
367 | 374 |
|
368 | 375 |
}//DBConnection class |
Also available in: Unified diff
Add a new method - createStatement.