ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
36

getMap(name, keyType, valueType)

Method javax.persistence.metamodel.ManagedType<X> MapAttribute<X,K,V> getMap( String name, Class<T ... to the specified name and Java key and value types. Parameters: name - the name of the represented ... of the represented attribute Returns: MapAttribute of the given name and key and value types Throws
36

getParameter(name)

Method javax.persistence.Query Parameter<?> getParameter( String name ) Get the parameter object corresponding to the declared parameter of the given name. This method is not required to be supported for native queries. Parameters: name - parameter name Returns: parameter object Throws
36

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
36

setParameter(name, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( String name, Calendar value, TemporalType temporalType ) Bind an instance of java.util.Calendar to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query
36

setParameter(name, value)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( String name, Object value ) Bind an argument to a named parameter. Parameters: name - parameter name value - parameter value Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not correspond
36

setParameter(name, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( String name, Date value, TemporalType temporalType ) Bind an instance of java.util.Date to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance
36

getParameterValue(name)

Method javax.persistence.Query Object getParameterValue( String name ) Return the value bound to the named parameter. Parameters: name - parameter name Returns: parameter value Throws: IllegalStateException - if the parameter has not been been bound IllegalArgumentException - if the parameter of the specified name does not exist Since: JPA 2.0
36

Entity.name

Annotation Element javax.persistence.Entity String name (Optional) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer to the entity in queries. The name must not be a reserved literal in the Java Persistence query language. Default value: "" Since: JPA 1.0
36

PrimaryKeyJoinColumn.name

Annotation Element javax.persistence.PrimaryKeyJoinColumn String name (Optional) The name of the primary key column of the current table. Defaults to the same name as the primary key column of the primary table of the superclass (JOINED mapping strategy); the same name as the primary key column
3

valueOf(name)

Static Method javax.jdo.annotations.SequenceStrategy SequenceStrategy valueOf( String name ) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. Parameters: name - the name of the enum constant

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