ObjectDB ObjectDB

Internal Website Search

1-10 of 41 resultsRefresh
97

javax.persistence.metamodel.SingularAttribute

javax.persistence.metamodel Interface SingularAttribute<X,T> Superinterfaces: Attribute<X,T>, Bindable<T> Instances of the type SingularAttribute represents persistent single-valued properties or fields. Since: JPA 2.0 Class<T> getBindableJavaType() Return the Java type of the represented object
94

isId()

Method javax.persistence.metamodel.SingularAttribute boolean isId() Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class. Returns: boolean indicating whether the attribute is an id Since: JPA 2.0
94

getType()

Method javax.persistence.metamodel.SingularAttribute Type<T> getType() Return the type that represents the type of the attribute. Returns: type of attribute Since: JPA 2.0
94

isOptional()

Method javax.persistence.metamodel.SingularAttribute boolean isOptional() Can the attribute be null. Returns: boolean indicating whether the attribute can be null Since: JPA 2.0
94

isVersion()

Method javax.persistence.metamodel.SingularAttribute boolean isVersion() Is the attribute a version attribute. Returns: boolean indicating whether the attribute is a version attribute Since: JPA 2.0
45

JPA Metamodel API

ID attribute - including inherited: SingularAttribute<MyEntity,Long> id1 = entityType.getId(Long.class); // Gets a single ID attribute - excluding inherited: SingularAttribute<MyEntity,Long ... - excluding inherited: SingularAttribute<MyEntity,Long> v1 = entityType.getVersion(Long.class
20

javax.persistence.metamodel.EntityType

Since: JPA 2.0 SingularAttribute<X,Y> getDeclaredId(Class<Y> type) Return the attribute ... - if attribute of the given name and type is not declared in the managed type Since: JPA 2.0 SingularAttribute<X ... SingularAttribute<X,Y> getDeclaredSingularAttribute(String name, Class<Y> type) Return the single-valued
20

javax.persistence.metamodel.MappedSuperclassType

- if attribute of the given name and type is not declared in the managed type Since: JPA 2.0 SingularAttribute<X ... is not declared in the managed type Since: JPA 2.0 SingularAttribute<X,?> getDeclaredSingularAttribute ... name is not declared in the managed type Since: JPA 2.0 SingularAttribute<X,Y
20

javax.persistence.metamodel.IdentifiableType

Since: JPA 2.0 SingularAttribute<X,Y> getDeclaredId(Class<Y> type) Return the attribute that corresponds ... of the given name and type is not declared in the managed type Since: JPA 2.0 SingularAttribute<X ... SingularAttribute<X,Y> getDeclaredSingularAttribute(String name, Class<Y> type) Return the single-valued attribute
15

javax.persistence.metamodel.ManagedType

of the given name and type is not declared in the managed type Since: JPA 2.0 SingularAttribute<X ... - if attribute of the given name is not declared in the managed type Since: JPA 2.0 SingularAttribute<X ... < SingularAttribute<X,?>> getDeclaredSingularAttributes() Return the single-valued attributes declared

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