Internal Website Search
121-130 of 200 resultsRefreshJPA Entity Fields persistent fields that are inherited from ancestor classes), is stored. When an entity ... >Department entity is retrieved from the database. ObjectDB accomplishes this by effectively ... > SELECT e FROM Employee e WHERE e.department = :d | |
Query Parameters in JPA a Country object from the database by its name: public ... /jpa/EntityManager/createQuery_String_Class_">createQuery( "SELECT c FROM Country c ... _">createQuery( "SELECT c FROM Country c WHERE c.name = ?1", Country.class); return | |
Deleting JPA Entity Objects Existing entity objects can be deleted from the database either explicitly by invoking ... In order to delete an object from the database it has to first be retrieved (no matter ... is physically deleted from the database when the transaction is committed. Embedded objects | |
Running JPA Queries("SELECT c FROM Country c", Country.class); List<Country> results = query.createQuery("SELECT c FROM Country c"); List results ... this case, the result object has to be extracted from the result collection after query execution (e.g | |
Updating JPA Entity Objects> Transparent Update Once an entity object is retrieved from the database (no matter which way) it can simply be modified in memory from inside an active ... can be cascaded from all the entity objects that have to be stored in the database, including from | |
javax.persistence.criteria.Join/java/jpa/criteria/From" title="Interface in javax.persistence.criteria">From<Z,X>from">Chapter 4 ... . Note: Applications using the string-based API may need to specify the type resulting from | |
javax.persistence.criteria.SetJoin="/api/java/jpa/criteria/From" title="Interface in javax.persistence.criteria">From<Z,E> ... : Applications using the string-based API may need to specify the type resulting from the from(Person.class); q.select(p) .where(cb.isMember("joe", p | |
javax.jdo.JDOEntityManager> (Object pc) Delete the persistent instance from ... the persistent instance from the data store. This method must be called in an active transaction ... > , which makes the closure of the instance persistent, the closure of the instance is not deleted from | |
javax.jdo.PersistenceManager>A PersistenceManager is obtained from the Delete the persistent instance from the data store ... instance from the data store. This method must be called in an active transaction. The data store object | |
[ODB1] Chapter 4 - JDO Metadata> is stored, only persistent fields from classes B and C are stored ... should be managed in a group with other fields. When a persistent object is retrieved from ... automatically by ObjectDB from the database. If the field belongs to the default fetch group, values |