About object

91-100 of 200Refresh
Forum
19

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
Issue
19

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 ... to have to remove generic loops just because of enhancement: for (Object os : steelMaterials.getL_Steel
Forum
19

Problem with merging / persisitng objects with @Embeddable field

Hi, After migration to version 2.4.2_01, I have noticed a strange problem with persisting object with field that contains @Embeddable object. Please check attached exception. Relation between entities looks like this: @Entity public class ProductKit extends BaseEntity implements Serializable
Forum
19

Query all objects that implements a given interface - is that possible?

Hi, I am trying query one of my DB - for all object types that implement a given interface.     TypedQuery query =         em.createQuery("SELECT bk FROM Signal_Interface bk ... bk FROM Object bk WHERE bk instanceof Signal_Interface",             Signal_Interface.class); It worked - thanks a lot EKK
Issue
19

cannot delete objects after crash (see issue 2283)

after the crash we cannot delete specific objects, see screenshots of explorer. Database will be soon available (size 5.561.119 KB) on hummingbird-systems.com, user/pw your db name, main menu option ... our performance monitoring shows that creating of object structures is significantly slower
Forum
19

calling persist on an object more than once

a better help message (ie: 'you called persist more than once on object xxxx'), and b) to throw
Forum
19

embedded objects marked final not persisted.

Discovered that embedded objects marked final are not persisted. I'm not exactly sure why that should the case. Is this a bug?     Final fields are treated as transient regardless of their type. If you mean that declaring the embeddable class as transient causes problems - such a limitation
Forum
19

Finding an object by its datetime

of course). My resultlist from my query gets zero results. I want to search for objects by exact
Forum
19

impossible to drop a table with 50 million objects

when trying to execute in explorer (max heap size 1GByte) delete from LogEntry l it comes up with a Java heap error after 20 minutes of executing. How to empty such a table ?     This may be because the transaction size is limited by the heap size. You can try deleting these objects in batches
Forum
19

Object DB In memory : without Filestore

the Object DB completely in memory without disk storage. thanks, Sandeep At the moment, ObjectDB