ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
180

JPA Persistable Types

The term persistable types refers to data types that can be used for storing data in the database. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes, Mapped superclasses, Embeddable classes. Simple Java data types: Primitive types, Wrappers, String
173

Paths and Types in JPQL and Criteria API

classes) are represented in JPQL by the following types of expressions: Variables - FROM ... . But more often they are used in JPQL path expressions that navigate to values of simple types (number, boolean, string, date). Simple type values are more useful in queries. They have special operators
159

JPA Metamodel API Types

The following interfaces and enum represent types in the JPA Metamodel API: See the Metamodel Type Interface Hierarchy section for more details and examples.
48

JPA Metamodel API

reflection provides for general Java types. The Metamodel Interface The main interface of the JPA ... (); The Metamodel interface provides several methods for exploring user defined persistable types (which are referred to as managed types) in the persistent object model. Three methods can be used
43

javax.persistence.metamodel.Type.PersistenceType

javax.persistence.metamodel Enum Type.PersistenceType java.lang.Object java.lang.Enum<javax.persistence.metamodel.Type.PersistenceType> javax.persistence.metamodel.Type.PersistenceType ... BASIC Basic type Basic type Since: JPA 2.0 PersistenceType EMBEDDABLE Embeddable class Embeddable class
43

javax.persistence.metamodel.Type

javax.persistence.metamodel Interface Type<X> Subinterfaces: BasicType, EmbeddableType, EntityType, IdentifiableType, ManagedType, MappedSuperclassType Instances of the type Type represent persistent object or attribute types. Since: JPA 2.0 Class<X> getJavaType() Return the represented Java type
42

getSingularAttribute(name, type)

name, Class<Y> type ) Return the single-valued attribute of the managed type that corresponds to the specified name and Java type. Parameters: name - the name of the represented attribute type - the type of the represented attribute Returns: single-valued attribute with given name and type Throws
42

getDeclaredSingularAttribute(name, type)

( String name, Class<Y> type ) Return the single-valued attribute declared by the managed type that corresponds to the specified name and Java type. Parameters: name - the name of the represented attribute type - the type of the represented attribute Returns: declared single-valued attribute
13

JDO Miscellaneous Types

This section contains miscellaneous JDO types:
4

Persistent.types

Annotation Element javax.jdo.annotations.Persistent Class[] types Types of the member. Used when the declared member type is a supertype of the actual type that is stored in the member. For example, the declared member type might be an interface type that must contain an object of a concrete type

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support