ObjectDB ObjectDB

Internal Website Search

31-40 of 57 resultsRefresh
62

getList(name, elementType)

Method javax.persistence.metamodel.ManagedType ListAttribute<?,E> getList( String name, Class<E> elementType ) Return the List-valued attribute of the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented attribute elementType
62

getDeclaredSingularAttribute(name, type)

Method javax.persistence.metamodel.ManagedType SingularAttribute<X,Y> getDeclaredSingularAttribute( 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
62

getMap(name, keyType, valueType)

Method javax.persistence.metamodel.ManagedType<X> MapAttribute<X,K,V> getMap( String name, Class<T> keyType, Class<T> valueType ) Return the Map-valued attribute of the managed type that corresponds to the specified name and Java key and value types. Parameters: name - the name of the represented
19

JPA Named Queries

. For example: em.getMetamodel().managedType(MyEntity.class); Following the above code
10

javax.persistence.metamodel.Metamodel

Set< ManagedType<?>> getManagedTypes() Return the metamodel managed types. Return the metamodel managed types. Returns: the metamodel managed types Since: JPA 2.0 ManagedType<X> managedType(Class<X> cls
5

javax.persistence.metamodel.MapAttribute

: collection type Since: JPA 2.0 ManagedType<X> getDeclaringType() Return the managed type representing
5

javax.persistence.metamodel.SingularAttribute

type of the represented object. Returns: bindable type Since: JPA 2.0 ManagedType<X
5

javax.persistence.metamodel.CollectionAttribute

the collection type. Returns: collection type Since: JPA 2.0 ManagedType<X> getDeclaringType() Return
5

javax.persistence.metamodel.EntityType

javax.persistence.metamodel Interface EntityType<X> Superinterfaces: Bindable<X>, IdentifiableType<X>, ManagedType<X>, Type<X> Instances of the type EntityType represent entity types. Since: JPA 2.0 Attribute<?,?> getAttribute(String name) Return the attribute of the managed type that corresponds
5

javax.persistence.metamodel.ListAttribute

: collection type Since: JPA 2.0 ManagedType<X> getDeclaringType() Return the managed type representing

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