About paging

api-jpa

executeUpdate()

Execute an update or delete statement.(Method of javax.persistence.Query)

 
api-jpa

getSingleResult()

Execute a SELECT query that returns a single result.(Method of javax.persistence.TypedQuery)

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Java EE 6 web application. To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New > Entity Clas ...

 
forum_thread

how to query by properties of onetomany relations? (Error 990)

the following code fails em.createQuery("select f from Foo f where f.bars.name = ?1", Foo.class).setParameter(1, barName) stacktrace: #1 2011-05-10 21:39 the following code fails em. createQuery ( "select f from Foo f where f.bars.name = ?1" , Foo. ...

 
manual

DELETE Queries in JPA/JPQL

Explains how to apply server side bulk delete using a JPA/JPQL query. As explained in chapter 2 , entity objects can be deleted from the database by: Retrieving the entity objects into an EntityManager . Removing these objects from the EntityManager  within an active ...

 
api-jpa

multiselect(selections)

Specify the selection items that are to be returned in the query result.(Method of javax.persistence.criteria.CriteriaQuery)

 
api-jpa

javax.persistence.OneToMany

Defines a many-valued association with one-to-many multiplicity.(Annotation of JPA)

 
api-jpa

javax.persistence.TemporalType

Type used to indicate a specific mapping of java.util.Date or java.util.Calendar.(Enum of JPA)

 
api-jpa

javax.persistence.criteria.CriteriaBuilder

Used to construct criteria queries, compound selections, expressions, predicates, orderings.(Interface of JPA)

 
forum_thread

@JoinColumn(nullable=false)

  During the evaluation of ObjectDB (We're currently developing with EclipseLink/mysql) I noticed was the following: #1 2011-08-01 20:44 During the evaluation of ObjectDB (We're currently developing with EclipseLink/mysql) I noticed was the ...