ObjectDB ObjectDB

javax.persistence.metamodel.BasicType - JPA interface

javax.persistence.metamodel
Interface BasicType<X>

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