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