About FROM

111-120 of 200Refresh
Manual
11

JPA Persistable Types

only once even if they are referenced multiple times. Referencing instances of other persistable types from multiple ... most cases ObjectDB can overcome a missing no-arg constructor. Aside from these constraints ... : boolean, byte, short, char, int, long, float and double. Equivalent wrapper classes from package
Manual
11

Strings in JPQL and Criteria Queries

(when present) specifies from which position to start the search. LOWER and UPPER - Changing String Case ... ] FROM] str) function returns a string after removing leading and/or trailing characters (usually space characters). For example: TRIM(' UK ') is evaluated to 'UK'. TRIM(LEADING FROM ' UK
Manual
10

JPA Criteria API Queries

JPA Criteria Query The following query string represents a minimal JPQL query: SELECT c FROM ... c = q.from(Country.class); q.select(c); The CriteriaBuilder interface serves as the main ... the built query. Then a Root instance is created to define a range variable in the FROM clause. Finally
Manual
10

JPA Entity Fields

fields (including persistent fields that are inherited from ancestor classes), is stored ... . Instead, employees is automatically populated when a Department entity is retrieved from ... the Department entity): SELECT e FROM Employee e WHERE e.department = :d The mappedBy element defines
JDO Doc
10

javax.jdo.PersistenceManager

to manage the life cycle of PersistenceCapable instances. A PersistenceManager is obtained from ... 1.0 void deletePersistent(Object pc) Delete the persistent instance from the data store. Delete the persistent instance from the data store. This method must be called in an active transaction
Manual
10

Deleting JPA Entity Objects

Existing entity objects can be deleted from the database either explicitly by invoking the remove ... from the database it has to first be retrieved (no matter which way) and then in an active ... (); The entity object is physically deleted from the database when the transaction is committed. Embedded
Result
10

Privacy Policy

for websites to obtain explicit consent from users before leaving behind or reading files such as cookies ... . Users are advised that if they wish to deny the use and saving of cookies from this website ... settings to block all cookies from this website and its external serving vendors. This website uses
Manual
10

Updating JPA Entity Objects

Once an entity object is retrieved from the database (no matter which way) it can simply be modified in memory from inside an active transaction: Employee employee = em.find(Employee.class, 1); em ... can be cascaded from all the entity objects that have to be stored in the database, including from
Manual
10

Query Parameters in JPA [2011-04-01]

) The following method retrieves a Country object from the database by its name: public Country ... ( "SELECT c FROM Country c WHERE c.name = :name", Country.class); return query.setParameter ... .createQuery( "SELECT c FROM Country c WHERE c.name = ?1", Country.class); return query
Manual
10

Query Parameters in JPA

) The following method retrieves a Country object from the database by its name: public Country ... ( "SELECT c FROM Country c WHERE c.name = :name", Country.class); return query.setParameter ... .createQuery( "SELECT c FROM Country c WHERE c.name = ?1", Country.class); return query