public interface Updateable
Modifier and Type | Method and Description |
---|---|
int |
update(java.sql.Connection aConn)
This method allows the implemented object to store its altered state in the
persistent store.
|
int update(java.sql.Connection aConn) throws java.sql.SQLException
aConn
- The Connection on which to execute SQL statements.
It should be an open connection and the implementation
should refrain from closing it, so the caller can reuse it.java.sql.SQLException
- When the save fails (e.g.: Connection gone stale).Copyright © 2013. All Rights Reserved.