ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
25

JPA Metamodel API

: Class cls = type.getJavaType(); // Get one of BASIC, EMBEDDABLE, ENTITY, MAPPED_SUPERCLASS ... , mapped super classes) Set<ManagedType> allManagedTypes = metamodel.getManagedTypes ... instance: // Get a managed type (entity, embeddable or mapped super classes): ManagedType
21

javax.persistence.metamodel.MappedSuperclassType

>, ManagedType<X>, Type<X> Instances of the type MappedSuperclassType represent mapped superclass ... by the entity or mapped superclass. Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id
21

javax.persistence.metamodel.IdentifiableType

entity or mapped superclass types. Since: JPA 2.0 Attribute<?,?> getAttribute(String name) Return ... to the id attribute declared by the entity or mapped superclass. Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type
20

javax.persistence.metamodel.EntityType

that corresponds to the id attribute declared by the entity or mapped superclass. Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type ... the attribute that corresponds to the version attribute declared by the entity or mapped superclass
20

createContainerEntityManagerFactory(info, map)

createContainerEntityManagerFactory( PersistenceUnitInfo info, Map map ) Called by the container when an EntityManagerFactory is to be created. Parameters: info - metadata for use by the persistence provider map - a Map ... the ValidatorFactory instance in the map with the key "javax.persistence.validation.factory". Returns
20

get(map)

Method javax.persistence.criteria.Path Expression<M> get( MapAttribute<X,K,V> map ) Create a path corresponding to the referenced map-valued attribute. Parameters: map - map-valued attribute Returns: expression corresponding to the referenced attribute Since: JPA 2.0
20

createEntityManager(map)

Method javax.persistence.EntityManagerFactory EntityManager createEntityManager( Map map ) Create a new application-managed EntityManager with the specified Map of properties. This method returns ... on the returned instance. Parameters: map - properties for entity manager Returns: entity manager instance Throws
20

keys(map)

Method javax.persistence.criteria.CriteriaBuilder Expression<Set<K>> keys( M map ) Create an expression that returns the keys of a map. Parameters: map - map Returns: set expression Since: JPA 2.0
20

createEntityManagerFactory(emName, map)

Method javax.persistence.spi.PersistenceProvider EntityManagerFactory createEntityManagerFactory( String emName, Map map ) Called by Persistence class when an EntityManagerFactory is to be created. Parameters: emName - the name of the persistence unit map - a Map of properties for use by
2

setMapping(mapping)

Method javax.jdo.PersistenceManagerFactory void setMapping( String mapping ) Set the Mapping setting for this factory. This is used to find the object-datastore mapping file(s). Parameters: mapping - the Mapping setting. Since: JDO 1.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