public interface Persistent extends ObjectModel
Modifier and Type | Method and Description |
---|---|
void |
save()
Saves the object.
|
void |
save(Connection con)
Stores the object in the database.
|
void |
save(String dbName)
Stores the object in the database.
|
getPrimaryKey, isModified, isNew, setModified, setNew, setPrimaryKey, setPrimaryKey
void save() throws Exception
Exception
- This method might throw an exceptionvoid save(String dbName) throws Exception
dbName
- the name of the databaseException
- This method might throw an exceptionvoid save(Connection con) throws Exception
con
- the Connection used to store the objectException
- This method might throw an exceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.