vars.DAO |
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
True if the to objects represent the same object in the datastore.
| |||||||||||
Retrieves the object from the datastore.
| |||||||||||
Executes a named query that does not take any parameters
| |||||||||||
Executes a named query using a map of named parameters
| |||||||||||
Checks to see if the given object is persisted in the databas
| |||||||||||
Many one-to-many relations are lazy loaded in JPA.
| |||||||||||
True if the to objects represent the same object in the datastore. (e.g. It basically compares the primary key)
Retrieves the object from the datastore. This ignores all state changes in the provided object and returns the copy as found in the data store.
Executes a named query that does not take any parameters
name | The name of the JPL query |
---|
Executes a named query using a map of named parameters
name | The name of the query to execute |
---|---|
namedParameters | A Map |
Checks to see if the given object is persisted in the databas
entity | The object of interest |
---|
Many one-to-many relations are lazy loaded in JPA. For convenience, this method will load all lazy relations of an IEntity object. This method has no effect on objects that are not persistent
entity | The persistent object who's children will be loaded from the database. |
---|