ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh

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

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

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

Is it ok to put list or map of embeddable objects in entity ?

Hi, Is it ok to put list or map of embeddable objects in entity? I mean, for example : @Entity ... not found". I found an option to put a classpath for persistence objects and metadata, where I ... ). A collection of embedded objects is always stored as part of the containing entity

how to persist an object twice into two diff. collections of two diff. classes

ok my problem, i persist a Squad Object into a Cup Object at the beginning, after i have to create and persist a competition object in which i have to put some of the already created/persisted squads ... object. See the Updating Entity Objects page in the manual and this forum thread. support Support

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

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

Attempt to refresh a non managed entity object (error 635)

.IllegalArgumentException Attempt to refresh a non managed entity object (error 635) Nothing changed in my code ... ) on a non managed entity object, i.e. a new entity object that has not been persisted yet, or a detached entity object (e.g. after clear). It doesn't seem to be related to the IDE that you use. support

Activation & Object Model Enhancement

We'd like to buy and use OEM Licenses. However, our object model gets enhanced at runtime (using JEnhancer directly) and not at compile time so we can not "sign" our object model at compile time ... licenses are bound to machines. OEM licenses are bound to the object model. Please suggest alternative

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