ObjectDB ObjectDB

Internal Website Search

1-10 of 189 resultsRefresh
234

JPA Metamodel API

The JPA Metamodel API provides the ability to examine the persistent object model and retrieve ... reflection provides for general Java types. The Metamodel Interface The main interface of the JPA Metamodel API is Metamodel. It can be obtained either by the EntityManagerFactory's getMetamodel method or
212

JPA Metamodel API

The JPA Metamodel API, which is introduced in JPA 2.0, enables examining the classes, fields ... of the JPA Metamodel API is: Types (mainly classes) and attributes (persistent field and properties ... : The JPA Metamodel API may optionally be used with the JPA Criteria API. Many of the interfaces in
205

JPA Metamodel API Attributes

The following interfaces and enum types represent attributes (persistent fields and properties) in the JPA Metamodel API: See the Metamodel Attribute Interface Hierarchy section for more details and examples.
205

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.
96

javax.persistence.metamodel.Metamodel

javax.persistence.metamodel Interface Metamodel Provides access to the metamodel of persistent ... the metamodel embeddable type representing the embeddable class. Return the metamodel embeddable type ... Returns: the metamodel embeddable type Throws: IllegalArgumentException - if not an embeddable class
63

entity(cls)

Method javax.persistence.metamodel.Metamodel EntityType<X> entity( Class<X> cls ) Return the metamodel entity type representing the entity. Parameters: cls - the type of the represented entity Returns: the metamodel entity type Throws: IllegalArgumentException - if not an entity Since: JPA 2.0
63

embeddable(cls)

Method javax.persistence.metamodel.Metamodel EmbeddableType<X> embeddable( Class<X> cls ) Return the metamodel embeddable type representing the embeddable class. Parameters: cls - the type of the represented embeddable class Returns: the metamodel embeddable type Throws: IllegalArgumentException - if not an embeddable class Since: JPA 2.0
63

managedType(cls)

Method javax.persistence.metamodel.Metamodel ManagedType<X> managedType( Class<X> cls ) Return the metamodel managed type representing the entity, mapped superclass, or embeddable class. Parameters: cls - the type of the represented managed class Returns: the metamodel managed type Throws: IllegalArgumentException - if not a managed class Since: JPA 2.0
63

getEntities()

Method javax.persistence.metamodel.Metamodel Set<EntityType<?>> getEntities() Return the metamodel entity types. Returns: the metamodel entity types Since: JPA 2.0
63

getEmbeddables()

Method javax.persistence.metamodel.Metamodel Set<EmbeddableType<?>> getEmbeddables() Return the metamodel embeddable types. Returns empty set if there are no embeddable types. Returns: the metamodel embeddable types Since: JPA 2.0

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