About types

191-200 of 200Refresh
Tutorial
6

Step 2: Entity Class and Persistence Unit

name="GuestbookPU" transaction-type="RESOURCE_LOCAL"> com.objectdb.jpa.Provider
Tutorial
6

Step 3: Create an ObjectDB Data Source

data source types. Enter data source name (e.g. ObjectDB Points) and click Next. Specify the database
Manual
6

WHERE clause (JPQL / Criteria API)

a variable number of arguments of Predicate type and uses an AND conjunction as the WHERE clause content
Manual
6

Retrieving JPA Entity Objects

using a lazy fetch type: @Entity class Employee { : @ManyToOne(fetch=FetchType.LAZY
Manual
6

JPA Named Queries

are used to instantiate them. The createNamedQuery method receives a query name and a result type
JPA Doc
6

javax.persistence.criteria.AbstractQuery

: entity - metamodel entity representing the entity of type X Returns: query root corresponding ... > getResultType() Return the result type of the query or subquery. Return the result type of the query or subquery. If a result type was specified as an argument to the createQuery or subquery method
JPA Doc
6

javax.persistence.criteria.Expression

, ParameterExpression, Path, PluralJoin, Predicate, Root, SetJoin, Subquery Type for query expressions ... . Parameters: name - alias Returns: selection item Since: JPA 2.0 Expression as(Class type ... upon the expression, returning a new expression object. This method does not cause type conversion
JPA Doc
6

javax.persistence.criteria.Predicate

, TupleElement Subinterfaces: In The type of a simple or compound predicate ... (Class type) Perform a typecast upon the expression, returning a new expression object. Perform a typecast upon the expression, returning a new expression object. This method does not cause type
JPA Doc
6

javax.persistence.MapKeyEnumerated

) Specifies the enum type for a map key whose basic type is an enumerated type. The MapKeyEnumerated annotation can be applied to an element collection or relationship of type java.util.Map, in conjunction with the ElementCollection, OneToMany, or ManyToMany annotation. If the enumerated type is not
JPA Doc
6

javax.persistence.metamodel.BasicType

javax.persistence.metamodel Interface BasicType Superinterfaces: Type Instances of the type BasicType represent basic types (including temporal and enumerated types). Since: JPA 2.0 Class getJavaType() Return the represented Java type. Return the represented Java type. Returns: Java type