|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of PersistenceException in fr.umlv.javaodb |
|---|
| Subclasses of PersistenceException in fr.umlv.javaodb | |
|---|---|
class |
RollbackException
This exception is raised by a persistent context to indicate that the current context has been rollbacked. |
| Methods in fr.umlv.javaodb that throw PersistenceException | ||
|---|---|---|
void |
PersistenceManager.close()
Shutdown the database. |
|
void |
PersistenceManager.commit()
Convenient method for PersistenceContext.commit()
on the inner most thread-local context. |
|
void |
PersistenceContext.commit()
Commits all persistent object states. |
|
|
PersistenceContext.create(Class<T> persistenceType)
Create a persistent object belong to the current context. |
|
void |
PersistenceContext.delete(Object o)
Deletes an object from the context. |
|
void |
PersistenceManager.drop(Class<?> persistenceType)
Drops all objects of the specfic persistence type. |
|
|
PersistenceContext.findAll(Class<T> persistenceType)
Returns a view of all persistent objects of a specific persistent class. |
|
|
PersistenceContext.findById(long id,
Class<T> persistenceType)
Returns a persistent object from its id. |
|
static PersistenceManager |
PersistenceManagerFactory.getPersistenceManager()
Returns the first registered persistence manager using the service loader mecanism. |
|
Set<? extends Class<?>> |
PersistenceManager.getPersistentTypes()
Returns the types of all persistent objects stored in the database. |
|
PersistenceContext |
PersistenceManager.newContext(PersistenceContext.Kind kind)
Creates a thread local context or a nested context if a context already exists on the current thread. |
|
void |
PersistenceManager.rollback()
Convenient method for PersistenceContext.rollback()
on the inner most thread-local context. |
|
void |
PersistenceContext.rollback()
Discards all modificatiions on all objects states of the current context. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||