public interface Updateable
| Modifier and Type | Method and Description |
|---|---|
int |
update(Connection aConn)
This method allows the implemented object to store its altered state in the
persistent store.
|
int update(Connection aConn) throws 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.SQLException - When the save fails (e.g.: Connection gone stale).Copyright © 2014. All rights reserved.