ObjectDB ObjectDB

Internal Website Search

101-110 of 168 resultsRefresh
10

Puzzler: Not getting cascades on read from Spring context

dhosek Don Hosek Fetching doesn't work by default for detached objects. Please read see this issue and as a workaround you may try setting objectdb.temp.no-detach. support Support Would it make sense ... Hosek It would be better and more efficient, if possible, to arrange fetching of the relevant data before detachment. support Support
10

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
10

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
10

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
10

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
8

Is it possible to commit only specific elements?

, retrieving only the needed ones, creating new ones (which I want to commit), detaching the ones I've ... to multiple threads. Another option is to detach specific objects from the persistence context
8

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
8

Can't get arraylist/vector type attributes

the EntityManager managed entity objects become detached, and content that has not been retrieved from ... ). See also "objectdb.temp.no-detach" as a possible quick workaround. support Support Loading it eagerly worked Unknown unknown
2

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
2

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

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