ObjectDB ObjectDB

Internal Website Search

81-90 of 168 resultsRefresh

lock(entity, lockMode)

is a detached entity TransactionRequiredException - if there is no transaction EntityNotFoundException

TYE NullPointerException

is thrown on an attempt to use a lazy collection that has not been loaded in a detached entity object ... and the collection would look empty - if it has not been loaded before detachment). If an unexpected exception (e.g ... . support Support Thanks for that. Its interesting you mention the entity is detached though as that wasnt

spuriously objectdb objects have null references

>(); ... hgzwicker Hans-Georg Zwicker When an entity object is detached (e.g. when the EntityManager is closed), ObjectDB replaces lazy loaded collections that have not been loaded with null values. Detached ... is to make sure that unloaded fields are known as unloaded after detachment. This way you can easily tell


Method javax.jdo.FetchPlan Collection getDetachmentRoots() Get the roots for DetachAllOnCommit. Returns: Collection of detachment roots. Since: JDO 2.0


Method javax.jdo.FetchPlan Class[] getDetachmentRootClasses() Get the root classes for DetachAllOnCommit. Returns: The detachment root classes Since: JDO 2.0


Method javax.jdo.FetchPlan int getDetachmentOptions() Get options used during detachment. Since: JDO 2.0


instance for detached parameter instances, with an iteration in the same order as in the parameter


Method javax.jdo.PersistenceManager T[] makePersistentAll( T... pcs ) Make an array of instances persistent. Parameters: pcs - an array of instances Returns: the parameter instances for parameters in the transient or persistent state, or the corresponding persistent instance for detached parameter


Method javax.jdo.listener.InstanceLifecycleEvent Object getTarget() The target object of the Event. Although not deprecated, it is recommended that the the methods getPersistentInstance() and getDetachedInstance() be used instead. Returns: The detached instance for preDetach and postAttach


except preAttach, or the detached instance for a postDetach or preAttach callback. Since: JDO 2.0

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