ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh

Embedding Managed Entities in Embedded Objects = bad idea

Discovered that you can't embed entities in embeddable objects if the entity is managed. Haven't tried embedding un-managed entities in embeddable objects, though I imagine that's not a great idea. The the error message isn't all that obvious (attempting to persist object which already has an id

selecting objects that have a particular key/value in persistant HashMap

, String> called 'pMap' as a persistable field. I am able to create Person objects and persist them as ... that the pMap field of some Person objects has the key/value pair "location'/'California'. Can I create a JPA query that selects such objects? Something like the following (but clearly does not work) : SELECT p

Removing objects where ManyToMany relationships exist

Lorenz It is application responsibility to prevent broken references. When an OtherEntity object ... to access a removed object via a broken reference throws exceptions. Is it always the same kind ... well enough, even if there's millions of Entity and OtherEntity objects in the database

Does aggregate function "greatest" work on entity objects?

Does aggregate function "greatest" work on entity objects? do not come to the function "compareTo ... static final long serialVersionUID = 1L; @Override public int compareTo(Object t ... objects are not comparable in queries. See the list of Comparable Data Types in the manual. support Support

finding post-persist pre-commit objects

Hi, I'm wondering if there is a way to have post-persisted, pre-committed, objects show up in queries? ie: the object has been persisted, but not yet committed. Dave dmoshal David Moshal Yes, by setting the flush mode. support Support thanks, worked for me. dmoshal David Moshal

Optimistic lock failed : object has version .. instead of ..

I do basic storage and retrieval of Record class. When I stress the retrieval/storage with Apache JMeter sometimes (at some requests) I get this exception. [ObjectDB 2.5.0] javax.persistence.OptimisticLockException Optimistic lock failed for object entities.Record#'1405/838/2011/121' (object

A few questions on object database design

objects improves performance by eliminating the need to persist and retrieve small pieces of data separately. On the other hand, if the entity object becomes too big and it includes a lot of data

References to objects of missing obsolete entity classes

that didn't have the issue it could help. Regarding the issue itself, is it correct that the objects ... itself, is it correct that the objects are in the database but their classes have been deleted or missing? The objectdb explorer does not show any objects of the given class in the database. The class

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

don't understand the circumstances) gives this error: incompatible types found: java.lang.Object ... but it is inconvenient to have to remove generic loops just because of enhancement: for (Object os

Error reading UTF string (Serialized Objects in Explorer)

handling failed deserialization better. Still, you cannot see serialized objects in the Explorer ... object also in your application - please provide the exception stack trace (when using the last build

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