About types

manual

JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps. The term persistable types refers to data types that can be used in storing data in the database. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes, Mapped ...

 
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 ability that Java reflection provides for general Java types. This page covers the following topics: The ... several methods for exploring user defined persistable types  (which are referred to as managed types) in the persistent ...

 
manual

Paths and Types in JPQL and Criteria API

Explains how to use object expressions (path navigation, type) in JPA/JPQL.... classes) are represented in JPQL by the following types of expressions: Variables - FROM identification ... in JPQL path expressions that navigate to values of simple types (number, boolean, string, date). Simple type values are more ...

 
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 ... and am having issues with queries that reference enum types. On my entity object is a static enum public static enum ... everything correct according to the JPA Persistable Types page Thanks for the help ...