About create

api-jpa

equal(x, y)

Create a predicate for testing the arguments for equality.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

equal(x, y)

Create a predicate for testing the arguments for equality.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

currentTimestamp()

Create expression to return current timestamp.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

createNamedQuery(name)

Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL).(Method of javax.persistence.EntityManager)

 
api-jpa

createNamedQuery(name, resultClass)

Create an instance of TypedQuery for executing a Java Persistence query language named query.(Method of javax.persistence.EntityManager)

 
manual

Running JPA Queries

Explains how to use JPA to run Java Persistence Query Language (JPQL) queries.... resultClass) EntityManager's method Create an instance of TypedQuery for executing a Java Persistence query ... createQuery(qlString) EntityManager's method Create an instance of Query for executing a Java Persistence query language ... resultClass) EntityManager's method Create an instance of TypedQuery for executing a Java Persistence query ...

 
manual

ORDER BY clause (JPQL / Criteria API)

Explains how to use the ORDER BY clause in a JPA/JPQL query.... CriteriaBuilder's method Create a CriteriaQuery object with the specified result type. See JavaDoc ... from(entityClass) AbstractQuery's method Create and add a query root corresponding to the given entity, forming a ... cb. asc asc(x) CriteriaBuilder's method Create an ordering by the ascending value of the expression. See JavaDoc ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in an Eclipse Spring MVC web application project.... class name. Click  Finish to create the new entity class. A new class that should ...

 
tutorial

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class:... class name. Click  Finish to create the new class. A new class that should represent ...

 
api-jpa

trim(t, x)

Create expression to trim character from both ends of a string.(Method of javax.persistence.criteria.CriteriaBuilder)