ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
2

FetchType.EAGER

Enum Constant javax.persistence.FetchType EAGER Defines that data must be eagerly fetched. Since: JPA 1.0
2

getReference(entityClass, primaryKey)

Method javax.persistence.EntityManager T getReference( Class<T> entityClass, Object primaryKey ) Get an instance, whose state may be lazily fetched. If the requested instance does not exist in the database, the EntityNotFoundException is thrown when the instance state is first accessed
0

fetchStringField(fieldNumber)

Methodjavax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier String fetchStringField( int fieldNumber ) Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId. Parameters: fieldNumber - the field number of the key field. Returns: the value of the field to be stored into the ObjectId. Since: JDO 1.0
0

fetchShortField(fieldNumber)

Methodjavax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier short fetchShortField( int fieldNumber ) Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId. Parameters: fieldNumber - the field number of the key field. Returns: the value of the field to be stored into the ObjectId. Since: JDO 1.0
0

fetchObjectField(fieldNumber)

Methodjavax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier Object fetchObjectField( int fieldNumber ) Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId. Parameters: fieldNumber - the field number of the key field. Returns: the value of the field to be stored into the ObjectId. Since: JDO 1.0
0

fetchLongField(fieldNumber)

Methodjavax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier long fetchLongField( int fieldNumber ) Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId. Parameters: fieldNumber - the field number of the key field. Returns: the value of the field to be stored into the ObjectId. Since: JDO 1.0
0

setGroups(fetchGroupNames)

Method javax.jdo.FetchPlan FetchPlan setGroups( String... fetchGroupNames ) Set a collection of groups. Parameters: fetchGroupNames - a String array of names of fetch groups Returns: the FetchPlan Since: JDO 2.0
0

getFetchGroup(cls, name)

for the FetchGroup name - the name of the fetch group Returns: the FetchGroup Throws: JDOUserException
0

fetchIntField(fieldNumber)

Methodjavax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier int fetchIntField( int fieldNumber ) Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId. Parameters: fieldNumber - the field number of the key field. Returns: the value of the field to be stored into the ObjectId. Since: JDO 1.0
0

hashCode()

Method javax.jdo.FetchGroup int hashCode() Return the hashCode for this instance. The hash code should combine both the class and fetch group name. The hash codes for two equal instances must be identical. Returns: the hash code Since: JDO 2.2

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