ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh

Object belongs to another EntityManager - ERROR

[stderr] (http-- Failed to commit transaction: Object 'pbdmodel.impl.OrgJedinicaImpl ... .UserException: Object 'pbdmodel.impl.OrgJedinicaImpl#8' belongs to another EntityManager 10:29:15,072 ... -- Caused by: com.objectdb.o.UserException: Object 'pbdmodel.impl.OrgJedinicaImpl

Delete object from collection versus delete from JPQL

relationship between the objects in memory and ObjectDB. I know I can modify the objects and use ... objects? There are cases where the JPQL syntax is more expressive than operating on a collection ... and DELETE queries bypass the EntityManager entity object management, and accordingly break

em.flush(); em.clear(); loosing data and not persisting managed objects

objects to database. Sometimes it does other times it doesn't. Here is my Entity. import javax ... supports JPA. Most of these tables map directly to Objects very well and have a sequencial integer as ... it as the ID. This gives me a String object that is always a 40 digit hex string and should be unique

Is ObjectDB the only object database that supports JPA?

Other Object database doesn't support JPA? Manikandan ManikandanPalaniappan JPA is designed as an API for Object Relational Mapping (ORM), so many JPA features cannot be supported by regular object ... (relational databases), which are not supported by most object databases. ObjectDB does support

Accessing objects to make them available after EntityManager close?!

Hi, I would like to get all the instances of an entity object. So I wrote a function which returns ... objects? Many thanks mmmndt2015 Thi Nguyen Closing the EntityManager changes the state of the managed object to detached, and in detached objects only fields that have already been loaded

Question: remove and recreate an object, do the references survive ?

We want to move unused objects to a second database. We want to copy the objects and delete them in the production database. If we then recreate the objects with the same primary key as it has been before, do the references from other objects survive this (assuming that no Doctor is done in between

persisting object with long[][] arrays of array

Hi, I have an object I am trying to persist (java) - It has several fields of type long ... (); Here is the object: import java.io.Serializable; import javax.persistence.CascadeType; import javax ... ();         EMF.close();     } note that the dimension of the first object's arrays of arrays are n x 1

Storing objects problem

I want to save this object to database: @Entity public class Device {     private String name ... > children; } An object contains a list of other devices which are also type Device. My root device ... for that children devices and they don't have their children devices. I'm new to this object database so I

Executing JUnit "all tests" throws "Object ... belongs to another EntityManager" Exception

," one fails consistently with the message: com.objectdb.o._JdoUserException: Object 'actr.model.Symbol ... more than one PersistenceManager, and somehow objects from different PersistenceManager instances get mixed, which is forbidden - each PersistenceManager should have its own separate graphs of persistent objects. Check for static

Cannot insert more than about 2^20 objects

Hi I have a DB with 4 entities and a total of 4 index. Once I reach 1048565 total objects in the whole DB, i am unable to insert more object, although i get NO error message nor exceptions. Doctor said Db is fine (see below) I notice that 1048565 objects + 4 entities + 4 ID indexes + 4

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