Fast Object Database for Java - with JPA/JDO support

Internal Website Search

21-30 of 200 resultsRefresh

setParameter(name, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery setParameter( String name, Calendar value ... - parameter name value - parameter value temporalType - temporal type Returns: the same query ... of the query or if the value argument is of incorrect type Since: JPA 2.0


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


Annotation Element javax.jdo.annotations.Value String table Name of the table for the value. Returns: the name of the table for the value Default value: "" Since: JDO 2.1


Annotation Element javax.jdo.annotations.Value String serialized Whether the value is to be stored serialized (into a single column of a join table). Returns: Whether the value is to be stored serialized (into a join table) Default value: "" Since: JDO 2.1


Annotation Element javax.jdo.annotations.Value String mappedBy Name of a member in the key class where this value is stored. Returns: the name of a member in the key class where this value is stored Default value: "" Since: JDO 2.1


Annotation Element javax.jdo.annotations.Value String indexed Whether the value column(s) should be indexed. Returns: whether the value column(s) should be indexed. Default value: "" Since: JDO 2.1

addExtension(key, value)

Method javax.jdo.Query void addExtension( String key, Object value ) Add a vendor-specific extension to this query. The key and value are not standard. An implementation must ignore keys that are not recognized. Parameters: key - the key of the extension value - the value of the extension Since: JDO 2.0


Annotation Element javax.persistence.DiscriminatorValue String value (Optional) The value that indicates that the row is an entity of the annotated entity type. If the DiscriminatorValue annotation ... to generate a value representing the entity type. If the DiscriminatorType is STRING, the discriminator value default is the entity name. Since: JPA 1.0


Method javax.persistence.criteria.CriteriaBuilder Expression literal( T value ) Create an expression for a literal. Parameters: value - value represented by the expression Returns: expression literal Throws: IllegalArgumentException - if value is null Since: JPA 2.0

setParameter(param, value)

Method javax.persistence.TypedQuery TypedQuery setParameter( Parameter param, T value ) Bind the value of a Parameter object. Parameters: param - parameter object value - parameter value Returns: the same query instance Throws: IllegalArgumentException - if the parameter does not correspond to a parameter of the query 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