Fast Object Database for Java - with JPA/JDO support

Internal Website Search

11-20 of 200 resultsRefresh
46

as(type)

Method javax.persistence.criteria.Expression Expression as( Class type ) Perform a typecast upon the expression, returning a new expression object. This method does not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure. Parameters: type
46

getId(type)

Method javax.persistence.metamodel.IdentifiableType SingularAttribute getId( Class type ... . Parameters: type - the type of the represented id attribute Returns: id attribute Throws: IllegalArgumentException - if id attribute of the given type is not present in the identifiable type or if the identifiable type has an id class Since: JPA 2.0
46

getDeclaredId(type)

> type ) 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 attribute Returns: declared id attribute Throws: IllegalArgumentException - if id attribute of the given type is not declared in
45

getParameter(name, type)

Method javax.persistence.Query Parameter getParameter( String name, Class type ) Get the parameter object corresponding to the declared parameter of the given name and type. This method is required to be supported for criteria queries only. Parameters: name - parameter name type - type
45

getParameter(position, type)

Method javax.persistence.Query Parameter getParameter( int position, Class type ) Get the parameter object corresponding to the declared positional parameter with the given position and type. This method is not required to be supported by the provider. Parameters: position - position type
45

Value.types

Annotation Element javax.jdo.annotations.Value Class[] types Types of the values. This can be determined if using JDK1.5 generics but is required otherwise. Multiple types can be specified if the implementation supports multiple types. Returns: the types of values Default value: {} Since: JDO 2.1
45

Key.types

Annotation Element javax.jdo.annotations.Key Class[] types Types of the keys. This can be determined if using JDK1.5 generics but is required otherwise. Multiple types can be specified if the implementation supports multiple types. Returns: the types of keys Default value: {} Since: JDO 2.1
45

getVersion(type)

> type ) Return the attribute that corresponds to the version attribute of the entity or mapped superclass. Parameters: type - the type of the represented version attribute Returns: version attribute Throws: IllegalArgumentException - if version attribute of the given type is not present in the identifiable type Since: JPA 2.0
45

Element.types

Annotation Element javax.jdo.annotations.Element Class[] types Types of the elements. This can be determined if using JDK1.5 generics but is required otherwise. Multiple types can be specified if the implementation supports multiple types. Returns: the types of elements Default value: {} Since: JDO 2.1
45

getDeclaredVersion(type)

( Class type ) Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared version attribute Returns: declared version attribute Throws: IllegalArgumentException - if version attribute of the type is not declared in the identifiable type 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