ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh

Why can't we persist an object with a field of type EnumMap in ObjectDB?

Hi, Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB? but it works fine for fields like = HashMap<EnumType,Double> Thanks EKK EKK Emmanuel Keskes You can persist any Serializable type if you enable this ability in the configuration. But using this feature

embedded objects marked final not persisted.

Discovered that embedded objects marked final are not persisted. I'm not exactly sure why that should the case. Is this a bug? dmoshal David Moshal Final fields are treated as transient regardless of their type. If you mean that declaring the embeddable class as transient causes problems

calling persist on an object more than once

help message (ie: 'you called persist more than once on object xxxx'), and b) to throw the exception

Query to find object from element of a contained collection

= null;     ... } lo Hoel Although serializable objects that are not entity or embeddable classes

The exception "Attempt to remove a detached entity object" have no information about the entity

Hello, the exception "Attempt to remove a detached entity object" have no information about the detached entity. It is very hard, especially if the involved entities uses cascading, to find the removed call for the detached entity. It would be very helpful if you can add a few information

Optimistic lock failed for object

Hi, I seem to be getting a lot of these optimistic locking errors: Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock failed for object Is there any way to force the database to use pessimistic locking only? I've tried various xml configurations, and also various transaction

Object DB In memory : without Filestore

the Object DB completely in memory without disk storage. thanks, Sandeep Sandeep Sandeep Dhamale

Fields in objects not populated in query result.

When I run the following Java code TypedQuery<Folder> rootFolderQuery = this.entityManager.createQuery("SELECT f FROM Folder f WHERE f.parent IS NULL", Folder.class); final List<Folder> resultList = rootFolderQuery.getResultList(); none of the Folder objects has its fields populated. Running

Finding an object by its datetime

of course). My resultlist from my query gets zero results. I want to search for objects by exact

Object creation in the Explorer requires automatically set primary keys

The feature of creating new objects in the Explorer is currently supported only for entity classes that have primary keys that are set automatically. support Support

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