public interface Retrievable
Modifier and Type | Method and Description |
---|---|
void |
retrieve(Connection aConn,
HashMap aHMKeys)
This method allows the implemented object to retrieve its state from the persistent
store.
|
void retrieve(Connection aConn, HashMap aHMKeys) 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.aHMKeys
- HashMap with the 'key-value' pairs necessary for the
construction of the primary key to be retrieved.SQLException
- When the retrieve fails (e.g.: PK not found).Copyright © 2016. All rights reserved.