ObjectDB ObjectDB

Internal Website Search

81-90 of 168 resultsRefresh
3

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
3

lock(entity, lockMode)

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

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
3

Best practise loading big data

). But this does not sound like a nice solution. We tried to detach the MyValue object before returning ... touched two of the entity classes so I had a mix of attached and detached classes. Sorry ... manager factory. Still all memory in use. Entities have detached trackers (Capture 6
0

getDetachmentRoots()

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

javax.jdo.JDODetachedFieldAccessException

is detached. Since: JDO 2.0 JDODetachedFieldAccessException() Constructs a new
0

getSource()

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

makePersistentAll(pcs)

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
0

getTarget()

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
0

makePersistentAll(pcs)

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

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