ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
35

valueOf(name)

Static Method javax.persistence.EnumType EnumType 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 to be returned
35

getList(name, elementType)

Method javax.persistence.metamodel.ManagedType ListAttribute<?,E> getList( String name, Class<E ... name and Java element type. Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: ListAttribute of the given name and element
35

getCollection(name)

Method javax.persistence.metamodel.ManagedType CollectionAttribute<?,?> getCollection( String name ) Return the Collection-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: CollectionAttribute of the given
35

valueOf(name)

Static Method javax.persistence.CacheRetrieveMode CacheRetrieveMode 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
35

getDeclaredSingularAttribute(name, type)

( 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 ... of the given name and type Throws: IllegalArgumentException - if attribute of the given name and type is not declared in the managed type Since: JPA 2.0
35

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
35

setParameter(name, value, temporalType)

Method javax.persistence.Query Query 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 instance Throws
35

createNamedQuery(name)

Method javax.persistence.EntityManager Query createNamedQuery( String name ) Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL). Parameters: name - the name of a query defined in metadata Returns: the new query instance Throws
35

setParameter(name, value, temporalType)

Method javax.persistence.Query Query setParameter( String name, Date value, TemporalType temporalType ) Bind an instance of java.util.Date to a named parameter. Parameters: name - parameter name ... : IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or if the value argument is of incorrect type Since: JPA 1.0
35

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

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