Home » Search

About object

91-100 of 200Refresh
Issue
12

not possible to add an existing object to an array via explorer

when trying to add an existing object via context menu/add existing object an entering the id the attached message appears (see attachment): objectdb.java.util.ArrayList cannot be cast to java.util.Map Thank you for your report. Build 2.7.1_02 should fix this exception. hgzwicker
Forum
12

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
12

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
12

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

Error reading UTF string (Serialized Objects in Explorer)

objects in the Explorer but no exception is thrown - only the serialized fields display an error message ... fixes the Explorer only, right? If you have a problem in retrieval of this entity object also in
Forum
12

Adding multi part path index on non-embedable object member

Is there a way to add single member index on members of a object member which is not configured embedable but is/are mapped by id like the two members below.  @Entity public class Customer ... { ... } There is a documentation says it works on embedded objects only. So since it reference
Forum
12

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
Manual
12

Setting and Tuning of JPA Queries

since the setter methods in Query and TypedQuery support method chaining (by returning the query object ... uses automatic optimistic locking to prevent concurrent changes to entity objects by multiple users ... that has to be applied on all the result objects that the query retrieves. For example, the following query
Forum
12

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
12

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