About type

manual

JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps.... must be specified for persistent fields or properties of type java.util.Date and java.util.Calendar. See JavaDoc Reference Page... ... must be specified for persistent fields or properties of type java.util.Date and java.util.Calendar. See JavaDoc Reference Page... ...

 
manual

JPA Metamodel API

Explains how to use the JPA Metamodel API to retrieve details on the types and attributes of the persistent object model.... The Metamodel Interface Type Interface Hierarchy Attribute Interface Hierarchy ... JPA interface Instances of the type ManagedType represent entity, mapped superclass, and embeddable types. ...

 
manual

Paths and Types in JPQL and Criteria API

Explains how to use object expressions (path navigation, type) in JPA/JPQL.... types (number, boolean, string, date). Simple type values are more useful in queries. They have special operators and ... Navigation through a NULL value Entity Type Expressions Criteria Query Paths and Types ...

 
api-jpa

javax.persistence.metamodel.EntityType

Instances of the type EntityType represent entity types.(Interface of JPA)

 
api-jpa

javax.persistence.metamodel.MappedSuperclassType

Instances of the type MappedSuperclassType represent mapped superclass types.(Interface of JPA)

 
api-jpa

javax.persistence.metamodel.IdentifiableType

Instances of the type IdentifiableType represent entity or mapped superclass types.(Interface of JPA)

 
api-jpa

javax.persistence.metamodel.ManagedType

Instances of the type ManagedType represent entity, mapped superclass, and embeddable types.(Interface of JPA)

 
api-jpa

javax.persistence.metamodel.EmbeddableType

Instances of the type EmbeddableType represent embeddable types.(Interface of JPA)

 
api-jpa

type()

Create an expression corresponding to the type of the path.(Method of javax.persistence.criteria.Path)

 
forum_thread

Using Enum type in NamedQuery: Field is not found in type

I'm trying to switch an application that worked fine in Hibernate to ObjectDB and am having issues with queries that reference enum types. On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type; @Enumerated public Type getType() {     return type; } I then try to query this field in the following JPA Named Query ... is a static enum public static enum Type { A,B,C } that is stored in an @Enumerated member variable private Type type ;   @ Enumerated public Type ...