ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh


Annotation Element javax.persistence.ManyToOne boolean optional (Optional) Whether the association is optional. If set to false then a non-null relationship must always exist. Default value: true Since: JPA 1.0


Method javax.jdo.Query void setIgnoreCache( boolean ignoreCache ) Set the ignoreCache option. The default value for this option was set by the PersistenceManagerFactory or the PersistenceManager used to create this Query. The ignoreCache option setting specifies whether the query should execute

replacingBooleanField(pc, field)

Method javax.jdo.spi.StateManager boolean replacingBooleanField( PersistenceCapable pc, int field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Returns: the new value for the field Since: JDO 1.0


Method javax.jdo.spi.StateManager boolean isTransactional( PersistenceCapable pc ) Tests whether this object is transactional. Instances that respect transaction boundaries return true. These instances include transient instances made transactional as a result of being the target


Method javax.jdo.spi.StateManager boolean isPersistent( PersistenceCapable pc ) Tests whether this object is persistent. Instances whose state is stored in the data store return true. Transient instances return false. Parameters: pc - the calling PersistenceCapable instance Returns: true

providedBooleanField(pc, field, currentValue)

Method javax.jdo.spi.StateManager void providedBooleanField( PersistenceCapable pc, int field, boolean currentValue ) The value of the field requested to be provided to the StateManager. Parameters: pc - the calling PersistenceCapable instance field - the field number currentValue - the current value of the field Since: JDO 1.0


Method javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier boolean fetchBooleanField( 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


of ObjectIdFieldManager for each field in the object id. Since: JDO 1.0 boolean fetchBooleanField(int fieldNumber


See Also: PersistenceManager.getObjectId(Object pc) PersistenceCapable.jdoGetObjectId() PersistenceManager.getObjectById(Object oid, boolean validate)


of the query. It is then evaluated by the Boolean expression of the filter. The element passes the filter

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