ObjectDB ObjectDB

Internal Website Search

101-110 of 168 resultsRefresh

Cascading makeTransient

an option to treat embedded objects on detachment (eventually it may be better than our suggestion at #4 ... ObjectDB:     System.setProperty("objectdb.temp.detach-embeddable", "true"); Then embedded objects are expected to be disconnected when owner entity objects are detached (made transient). support

List of Enum Values in an entity

this tutorial on detached Guest instances, and in detached objects only fields that have been loaded before detachment (e.g. defined as eager rather than lazy, or accessed) are available. One way to solve

UserException - Object User#2 belongs to another EntityManager

more The problem can be fixed by detaching User entity after query in #findUserById(Long id), but this shouldn't ... is closed all its objects should be detached automatically (unless specified otherwise), so probably ... is to warn against mixing objects of different entity managers as soon as possible. Accordingly, detaching

Accessing objects to make them available after EntityManager close?!

object to detached, and in detached objects only fields that have already been loaded ... you may consider the non standard "objectdb.temp.no-detach" extension. support Support

problem with lazy loading - unittest project attached

object becomes detached. Since the relationship between Foo And Bar is lazy - it is unavailable in a detached Foo instance and the collection looks empty. support Support thanks for your help

Does ObjectDB create one instance of each entity class on (web app) load ?

across the system. Most of my EJB methods for querying are configurable with a pre-detach loader that "visits" any data ... . This pre-detach loader approach is even more flexible than entity fetch graphs, too. webel Dr Darren Kelly

Unable to update a OneToMany Set

the EntityManager after every operation your Company instance becomes detached. A detached entity object does not

"Attempt to lock a non entity object" error

the entire persistence context and detach all managed entity objects: ... Rolling ... expected and would prefer. AlphaOne Ron Brennan It is correct. All the entity objects are detached

NullPointerException using with "refresh" method

an entity object. The NullPointerException indicates an unexpected state (the map seems to be detached, which is unexpected as the owner entity object is probably not detached). It is unlikely ... , detached, etc.)? Which maps does it have? Do you do something special with the object maps, e.g. sharing

ObjectDB 2.6.4

Added memory only database mode. Added an option to cascade detachment to embedded objects. Added ... memory management in multi flush transactions. Extended detachment of embedded objects to collections ... handling large objects with long primary keys as query results (issue #1717). Fixed detachment

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