About or

81-90 of 200Refresh
JPA Doc
6

javax.persistence.TypedQuery

/JPQL queries in Chapter 4 of the ObjectDB/JPA manual. int executeUpdate() Execute an update or delete statement. Execute an update or delete statement. Returns: the number of entities updated or deleted Throws: IllegalStateException - if called for a Java Persistence query language SELECT statement or
JPA Doc
6

javax.persistence.criteria.CriteriaBuilder

restriction predicates. A conjunction of zero predicates is true. Parameters: restrictions - zero or ... compound selection Throws: IllegalArgumentException - if an argument is a tuple- or array-valued ... selection item Throws: IllegalArgumentException - if an argument is a tuple- or array-valued selection
Tutorial
6

Step 2: Entity Class and Persistence Unit

) and selecting New > Entity Class... (or New > Other... > Persistence > Entity Class and clicking ... a text editor (by right clicking and selecting Edit or by double click and then moving to the Source or XML tab in the editor window). Use copy and paste to replace the default content
Manual
6

Shared (L2) Entity Cache

has to be specified. Persistence Unit Settings The shared cache can also be enabled or disabled using a persistence ... classes except classes that are specified as Cacheable explicitly. For example: @Cacheable // or ... . This might be useful when the database might be updated by other applications (or using
Manual
6

WHERE clause (JPQL / Criteria API)

AND. Therefore, using OR requires building an OR expression explicitly: q.where(      cb.or
Tutorial
6

NetBeans/JPA Spring MVC Web Tutorial

, Tomcat (or GlassFish) and Maven. The demo web application manages a basic guestbook page ... database. Required Software For this tutorial you will need the following software: Java JDK 6.0 (or above). NetBeans (Java or All bundle). The tutorial was written for NetBeans 6.9.1 but it should work
Manual
6

SELECT clause (JPQL / Criteria API)

projection. The field values are extracted from (or projected out of) entity objects to form the query ... efficiently. They are less productive with operations that update or delete entity objects, in ... methods (array, tuple or construct) as demonstrated above. The behavior of the multiselect method depends
FAQ
6

What is ObjectDB?

objects (and graphs of objects) in an ObjectDB database directly. There's no need to define tables or convert objects to records/records to objects using SQL or ORM, as opposed to when using relational database systems (RDBMS), such as Oracle, DB2, SQL Server or MySQL.
Manual
6

ORDER BY clause (JPQL / Criteria API)

of Order instances as arguments (or a list of Order) rather than Expression instances. The Order ... ) or descending (DESC). The CriteriaBuilder's asc and desc methods (which are demonstrated above) take an expression and return an ascending or descending Order instance (respectively).
JPA Doc
6

JPA Queries

these interfaces to build and run JPQL queries. The TypedQuery interface (or alternatively the older Query ... , representing query elements. Running criteria queries, however, still requires a TypedQuery or a Query ... getCriteriaBuilder method or by the EntityManager's getCriteriaBuilder method (both methods