ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
2

ManyToOne.optional

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
2

setRollbackOnly()

Method javax.persistence.EntityTransaction void setRollbackOnly() Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back. Throws: IllegalStateException - if isActive() is false Since: JPA 1.0
2

rollback()

Method javax.persistence.EntityTransaction void rollback() Roll back the current resource transaction. Throws: IllegalStateException - if isActive() is false PersistenceException - if an unexpected error condition is encountered Since: JPA 1.0
2

commit()

Method javax.persistence.EntityTransaction void commit() Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if isActive() is false RollbackException - if the commit fails Since: JPA 1.0
2

getRollbackOnly()

Method javax.persistence.EntityTransaction boolean getRollbackOnly() Determine whether the current resource transaction has been marked for rollback. Returns: boolean indicating whether the transaction has been marked for rollback Throws: IllegalStateException - if isActive() is false Since: JPA 1.0
2

distinct(distinct)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery<T> distinct( boolean distinct ) Specify whether duplicate query results will be eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not been specified
0

Join.generateForeignKey

Annotation Element javax.jdo.annotations.Join String generateForeignKey Generate or assume a foreign key constraint exists on the column or columns associated with this join. Specify "true" or "false". Returns: whether to generate or assume a foreign key constraint Default value: "" Since: JDO 2.1
0

Join.generatePrimaryKey

Annotation Element javax.jdo.annotations.Join String generatePrimaryKey Generate or assume a primary key constraint exists on the column or columns associated with this join. Specify "true" or "false". Returns: whether to generate or assume a primary key constraint Default value: "" Since: JDO 2.1
0

isTransactional(pc)

nontransactional instances return false. Parameters: pc - the calling PersistenceCapable instance
0

isPersistent(pc)

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

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