ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh


Annotation Element javax.persistence.Column boolean insertable (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default value: true Since: JPA 1.0


Method javax.persistence.criteria.CriteriaBuilder Predicate not( Expression<Boolean> restriction ) Create a negation of the given restriction. Parameters: restriction - restriction expression Returns: not predicate Since: JPA 2.0


Annotation Element javax.persistence.OneToOne 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


Annotation Element javax.persistence.MapKeyColumn boolean unique (Optional) Whether the column is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint corresponds to only a single column. This constraint applies in


Method javax.jdo.spi.StateManager boolean isNew( PersistenceCapable pc ) Tests whether this object has been newly made persistent. Instances that have been made persistent in the current transaction return true. Transient instances return false. Parameters: pc - the calling PersistenceCapable

unpinAll(pcClass, subclasses)

Method javax.jdo.datastore.DataStoreCache void unpinAll( Class pcClass, boolean subclasses ) Unpin instances from the second-level cache. Parameters: pcClass - the class of instances to unpin subclasses - if true, unpin instances of subclasses also Since: JDO 2.0


Method javax.jdo.PersistenceManager boolean getMultithreaded() Get the current Multithreaded flag for this PersistenceManager. Returns: the Multithreaded setting. Since: JDO 1.0 See Also: setMultithreaded


may be specified to be one of the java.lang classes Character, Boolean, Byte, Short, Integer, Long, Float, Double

evictAll(subclasses, pcClass)

Method javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache void evictAll( boolean subclasses, Class pcClass ) Parameters: subclasses - pcClass - Since: JDO 2.0


Method javax.jdo.Transaction void setNontransactionalRead( boolean nontransactionalRead ) If true, allow persistent instances to be read without a transaction active. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters: nontransactionalRead

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