Fast Object Database for Java - with JPA/JDO support

Internal Website Search

91-100 of 200 resultsRefresh

Is it possible to remove parent/child entities without refresh?

We have a big entity object tree in our project. If I use the entityManager.remove(childEntity) method to remove a child entity a entityManager.refresh(parentEntity) is necessary in order ... . Do you know a way to remove a child entity from a parent entity without a entityManager.refresh

Updating Entities

with Entities not sending their updates to each other. I have two Entities in question at the moment: Employee and Paygrade. @Entity public class Employee { private String id; private String fName; private String lName; private Department dept; private Paygrade pay; ... } @Entity

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 public class Entity_A {     (...)     @Embedded     List bList;     @Embedded ... entity. And what happens if I do operation like : entA.setBList(new ArrayList

Method Invocation On All Entities

Deleting or changing a field of all the entities of some type is fairly easy, using the DELETE ... method on all persisted entities of some type? For instance, suppose every entity object should do some operations before it gets deleted, and at some point we want to delete all those entities

Package name for persisted entities

Hi, I have a question about package name and searching for entities. As for now we were using ... for both systems. After merging entities from two different projects, we get single jar with all entities. Unfortunately some of the names are the same for entities: - homplex.model.dbobject.Inspiration

Removed entities can be found by query in the same transaction

Hello, we opened a transaction, load an entity from database and removed this entity by em.remove(). Afterwards the entity can be load again by query although the resulted entity have an attribute __odbtracker/m (type STA, value=Persistent-Deleted-Flushed) which shows that the entity is deleted

Duplicate Entity class names causes Exception in Query

I have two Entities which have the same class name but reside in different packages ... of one of these entities. If I execute that query I get an exception; Caused by: com.objectdb.o ... .... @Entity @NamedQueries({ @NamedQuery(name = "objdbTest.Singleton.getItem", query = "SELECT o

Need help to make this test work and define proper annotations for entities Lists

annotations on entities list, could anyone help me to define them? NB in this test case I didn't set all entities methods for the sake of clarity, also in actual application no field are public nor static and no entity is static. package testodb; import; import

Entity Update - Is the documentation up to date?

suggests should not work. First, I've been modifying managed entities from outside an active ... . Second, I'm using an array of entities inside another entity, and setting the elements ... entities from outside an active transaction. If I subsequently begin and commit a transaction

Help understanding Entity behavior with JPA

Hi Support, We have a entity with an @Id entity which we then put into a list and store in an different entity inside a field defined as: @OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch ... .ArrayList and it contains multitple entities with an the same id. the behavior we are seeing

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