Revision 6606
Added by ben leinfelder over 12 years ago
DBConnection.java | ||
---|---|---|
411 | 411 |
|
412 | 412 |
/** |
413 | 413 |
* Method to create a Statement |
414 |
* @deprecated PreparedStatements are preferred so as to encourage |
|
415 |
* parameter value binding |
|
414 | 416 |
*/ |
415 | 417 |
public Statement createStatement() throws SQLException |
416 | 418 |
{ |
Also available in: Unified diff
uses prepared statement instead of plain old statement.
deprecated the DBConnection.createStatement() method to discourage direct parameter value use in favor of parameter binding.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527