ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
45

getId(type)

Method javax.persistence.metamodel.IdentifiableType SingularAttribute<?,Y> getId( Class<Y> 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
45

as(type)

Method javax.persistence.criteria.Expression Expression<X> as( Class<X> 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
45

getParameter(name, type)

Method javax.persistence.Query Parameter<T> getParameter( String name, Class<T> 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

getDeclaredVersion(type)

( Class<Y> 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
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

getParameter(position, type)

Method javax.persistence.Query Parameter<T> getParameter( int position, Class<T> 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
4

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
4

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
4

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
4

InstanceLifecycleEvent(source, type)

Constructor javax.jdo.listener.InstanceLifecycleEvent InstanceLifecycleEvent( Object source, int type ) Creates a new event object with the specified source and type. Parameters: source - the instance that triggered the event type - the event type Since: JDO 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