Remove the deprecated overload.
This commit is contained in:
@@ -39,11 +39,6 @@ public abstract class BaseLiaison implements DatabaseLiaison
|
|||||||
// from DatabaseLiaison
|
// from DatabaseLiaison
|
||||||
public abstract boolean isTransientException (SQLException sqe);
|
public abstract boolean isTransientException (SQLException sqe);
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
public int lastInsertedId (Connection conn, String table, String column) throws SQLException {
|
|
||||||
return (int)lastInsertedId(conn, null, table, column);
|
|
||||||
}
|
|
||||||
|
|
||||||
// from DatabaseLiaison
|
// from DatabaseLiaison
|
||||||
public long lastInsertedId (Connection conn, Statement istmt, String table, String column)
|
public long lastInsertedId (Connection conn, Statement istmt, String table, String column)
|
||||||
throws SQLException
|
throws SQLException
|
||||||
|
|||||||
@@ -44,10 +44,6 @@ public interface DatabaseLiaison
|
|||||||
*/
|
*/
|
||||||
public boolean isTransientException (SQLException sqe);
|
public boolean isTransientException (SQLException sqe);
|
||||||
|
|
||||||
/** @deprecated Use version that takes the insert statement. */
|
|
||||||
@Deprecated
|
|
||||||
public int lastInsertedId (Connection conn, String table, String column) throws SQLException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attempts as dialect-agnostic an interface as possible to the ability of certain databases to
|
* Attempts as dialect-agnostic an interface as possible to the ability of certain databases to
|
||||||
* auto-generated numerical values for i.e. key columns; there is MySQL's AUTO_INCREMENT and
|
* auto-generated numerical values for i.e. key columns; there is MySQL's AUTO_INCREMENT and
|
||||||
|
|||||||
Reference in New Issue
Block a user