About object

51-60 of 200Refresh
Forum
10

OutofMemory error with Object DB 2.0

after persisting 200 records and then the same transaction object from the same PersistentManager ... it will show what objects fill the heap. But one possible reason for OutOfMemoryError in ObjectDB 2.x ... recommended in ObjectDB 2.x, and impossible in ObjectDB 1.x). In that case, new objects are not
Forum
10

Searching lists within objects

want to search using cb.isMember passing an object. This however does NOT work. I'm uncertain ... you can only match isMember if you have a database object. This does not help as I'm never going to have the real object at search time. Trying to use join is problematic as for every extra attribute I
Forum
10

UserException - Object User#2 belongs to another EntityManager

CDI. Problem on method execution, which runs a NamedQuery: com.objectdb.o.UserException - Object 'com ... is thrown only when mixing entity objects of different entity managers (which is forbidden, since every EntityManager manages its own space of managed objects, and a managed object
Forum
10

GWT RPC is throwing serialization exception when I have object db date value

its Class object could not be loaded. For security purposes, this type will not be serialized.: instance ... for all of mine Data Transfer Object. But still I am getting this error. Note: (In gwt RPC you cannot use the Entity objects, You need srializable DTO objects to handle CRUD operations).     The objectdb
Forum
10

collection of embedded objects

1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Entity? 2. If you have a large nested collection of @Embedded objects, and you remove the parent ... of @Embedded objects more expensive (time) than searching through collections of @Entity? Thanks
Forum
10

Object comparation never matches

Hi! I'm trying to compare 2 identical objects in SELECT with no success: @Embeddable public ... ;   Which is a part of Customer object: @MappedSuperclass @NamedQueries({     @NamedQuery(         name ... "     ) }) public abstract class Customer implements Serializable {     Object principal; The entity
Forum
10

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

key of a managed object", but my application is not trying to change the primary key.  (ObjectDB ... change, and save some space in memory. You can still use StringIdentity to represent object IDs ... and is the primary key used to save/restore the object into/out of the database.  Another user might try
Forum
10

object creation during pmf.getPersistenceManager()

Hi   We have observed that during pmf.getPersistenceManager(), objectdb is creating object ... that transaction we will create instances for all classes. The number of objects created during this invocation is really huge, that causes OutOfMemory during commit (memory for jvm 1,4GB). The object
Forum
10

removed objects stay with null field values in the reference

We have a class with a one to many relationship declared like this (1 or more objects of the same ... (); When we remove an object that is in this relationship (workflow), the object stays in ... is when we  delete with a query use entityManager.remove  You have to remove the object from the set explicitly
Issue
10

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

. When the project runs it logs creation of objects. Please note that there are 2 Project objects, and note that every Element object (except Project itself) gets a Project reference on construction: INFO ... ) We see that 2 Project objects were created, however in the database Explorer it lists size=0 for Project class