Home » Search

About or

61-70 of 200Refresh
Manual
9

Setting and Tuning of JPA Queries

execution if invoked before a query is run using getResultList or getSingleResult. Result Range ... or at the level of a specific query, by overriding the default EntityManager setting: // Enable ... " (JDO query language) or "ODBQL" (ObjectDB query language). The default is ODBQL, which is a union
Manual
9

Strings in JPQL and Criteria Queries

characters: The percent character (%) - which matches zero or more of any character. The underscore ... for a match (usually a path expression) and the right operand is always the pattern (usually a parameter or ... ). To match an actual underscore or percent character it has to be preceded by an escape character
Manual
9

JPA / JDO Class Enhancer

of a class (without .class suffix) in the CLASSPATH - path to class or jar file(s ... for enhanced classes You can specify class files and jar files for enhancement explicitly or by ... can also be passed to the enhance method as a single string delimited by commas or spaces. In
JDO Doc
9

javax.jdo.Query

namespace. The method declareImports introduces the names of the imported class or interface types ... , cast expression, etc.) a type name must be the name of the candidate class, the name of a class or interface imported by method declareImports, or denote a class or interface from the same package
JPA Doc
8

javax.persistence.EntityManager

that are related or grouped by the application, and which must be colocated in their mapping to a single ... for executing a named query (in the Java Persistence query language or in native SQL). Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL
Manual
8

Auto Generated Values

and using the named sequence in one or more fields in one or more classes. The @SequenceGenerator ... one or more fields in one or more classes. The SEQUENCE strategy is used in the @GeneratedValue
Manual
8

Deleting JPA Entity Objects

method or implicitly as a result of a cascade operation. Explicit Remove In order to delete an object ... if the argument is not a an instance of an entity class or if it is a detached entity ... with CascadeType.REMOVE (or CascadeType.ALL, which includes REMOVE) indicates that remove operations
Manual
8

Detached Entity Objects

object. Cascading Detach Marking a reference field with CascadeType.DETACH (or CascadeType ... invocation of rollback or by a commit failure. Explicit Merge Detached objects can be attached ... class or it is a removed entity. A TransactionRequiredException is thrown if there is no active
Tutorial
8

Eclipse/JPA Java EE 6 Tutorial

For this tutorial you will need the following software: Java JDK 6.0 (or above). Eclipse IDE for Java EE Developers. GlassFish Server 3.0.1 (or above). The last version of ObjectDB (just download and extract ... : ObjectDB 2.3.7_04 or later is required if Glassfish 3.1.2 (or later) is used. The Tutorial Steps This tutorial consists of the following steps:
Manual
8

JPA Criteria API Queries

the EntityManagerFactory's getCriteriaBuilder method or by the EntityManager's getCriteriaBuilder method ... , 10000000); List results = query.getResultList(); The setParameter method takes a Parameter (or a ParameterExpression) instance as the first argument instead of a name or a position