ObjectDB ObjectDB

Internal Website Search

31-40 of 99 resultsRefresh
24

General Performance Issues Illustrated with a Specific Method

.persistence.Table; import javax.persistence.Temporal; import javax.persistence.Transient; import lk ... defaultstate="collapsed" desc="Transient Attributes"> @Transient private boolean ageCalculated = false; @Transient private int ageMonths; @Transient private int ageDays
22

Cascading makeTransient

should work independently on the DB as if it contained transient objects. However those instances ... of A instances (the reference com.objectdb.o.ENT is less important since after making an instance transient ... via loaded fields is made transient. The state of fields in the affected instances is as specified
0

makeTransientAll(pcs)

Method javax.jdo.PersistenceManager void makeTransientAll( Collection pcs ) Make a Collection of instances transient, removing them from management by this PersistenceManager. The instances lose ... is preserved unchanged. Parameters: pcs - the instances to make transient. Since: JDO 1.0
0

makeTransactional(pc)

Method javax.jdo.PersistenceManager void makeTransactional( Object pc ) Make an instance subject to transactional boundaries. Transient instances normally do not observe transaction boundaries. This method makes transient instances sensitive to transaction completion. If an instance is modified in
0

jdoReplaceStateManager(sm)

by the StateManager during the process of making an instance persistent, transient, or ... - The StateManager which will own this instance, or null to reset the instance to transient state
0

setDetachAllOnCommit(flag)

persistent instances transition to transient; and detachable instances can be serialized as detached instances. Transient transactional instances are unaffected by this flag. Parameters: flag - Since: JDO 2.0 See Also: getDetachAllOnCommit()
0

setRestoreValues(restoreValues)

of the transaction, and the instances revert to transient. Additionally, fields of modified instances of primitive ... and the instances revert to transient. Additionally, dirty instances transition to hollow
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
0

getPersistenceManager(pc)

Static Method javax.jdo.JDOHelper PersistenceManager getPersistenceManager( Object pc ) Return the associated PersistenceManager if there is one. Transactional and persistent instances return the associated PersistenceManager. Transient non-transactional instances and instances of classes
0

getObjectId(pc)

that represents the JDO identity. Transient instances and instances of classes that do not implement

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