public interface Deleteable
Modifier and Type | Method and Description |
---|---|
int |
delete(Connection aConn)
This method will physically delete the implemented object's data from the
persistent store.
|
int delete(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.: PK not found).Copyright © 2016. All rights reserved.