Home » Search

About object

91-100 of 200Refresh
Forum
11

A few questions on object database design

there are advantages and disadvantages in each method. In many cases using embedded objects improves performance ... , if the entity object becomes too big and it includes a lot of data that is not always needed
Forum
11

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

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
11

finding post-persist pre-commit objects

Hi, I'm wondering if there is a way to have post-persisted, pre-committed, objects show up in queries? ie: the object has been persisted, but not yet committed. Dave   Yes, by setting the flush mode. thanks, worked for me.   dmoshal
Forum
11

JPA CriteriaQuery -- Iterate Expression<List<Object>>

Hi, I am new to  JPA and in particular the CriteriaQuery API. I have a simple CriteriaQuery where I pattern match a simple search String against field entires in a Person entity... i.e. the searchString is always decorated with %searchString%.  The Person object can contain many Record objects. I
Issue
11

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
11

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
11

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
11

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
11

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