Home » Search

About license key

71-80 of 200Refresh
Issue
5

JPA Composite Key make Object Db throws "Unexpected exception (Error 990)"

Hello Object Db community :) I am using this wonderful library and I caught a strange exception while testing the "composite key" feature in JPA. Let's see what I am doing : @Entity public class ... embedded Id ) key with an enum type. Here is the code : package test; import java.util.*; import
Forum
5

KEY() / VALUE() not recognized in JPQL??

Hi! Explorer says "unexpected token" on KEY(..: SELECT FROM individual.IndividualContact $1 LEFT OUTER JOIN $1.profile.title.name m WHERE (KEY(m) = 'deu' AND VALUE(m) LIKE '%Dr%') profile = embedded entity title = referenced entity name = Map   thanks, Alex Yes
Forum
5

Merge failure with composite primary key

it. The composite primary key issue is unclear, since switching to a single primary key field doesn't seem to make any difference. eurojet
Forum
5

Merge Issue: Attempt to reuse an existing primary key value

: Attempt to reuse an existing primary key value (MyTestCase$MyEntityChild:'child1') at com.objectdb.o ... that "Attempt to reuse an existing primary key value" on my merge operation is a total nonsense. If 2.5
Issue
5

Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116)

------------------- [1] Page #9 entry 0 has unexpected object format [2] Page #9 entry 0 (key 'bjjl') has 75 extra ... ------------------- [1] Page #3 entry 0 has unexpected object format [2] Page #3 entry 0 (key 'guest') has 11 extra bytes
Forum
5

Primary key generation problem after changing entity package

keep getting errors : Attempt to reuse an existing primary key value... My primary keys are annotated
Forum
5

remove() and persist() in same transaction => Attempt to reuse an existing primary key value

an existing primary key value (Persist_Remove_Persist$EntityA:1)   We created a small test ... and then in the same transaction persisting another object with the same primary key of the removed object
Forum
5

retrieve without key?

. i'm loading data from an external source. i use keys from that source. since i have a singleton i ... and can't see an option to retrieve an object w/o using a key. can this be done? You can use a single result query. duetto
Issue
5

DISTINCT key causing internal exception on 2.6.4.b10

I observed that on new ObjectDb v.2.6.4.b10 query below causes internal exception SELECT DISTINCT $1 FROM Pa3DictionaryItem $2 JOIN $2.values $1 WHERE ($2.namespace == 'com.anritsu.pa3.ttcn3' AND $2.key == 'TliEvent' AND $1 != '') Query above also worked fine on ObjectDb version 2.6.1.b06
Issue
5

Merge throw exception "Attempt to reuse an existing primary key value"

Hi, if Id = 0 I got javax.persistence.EntityExistsException: com.objectdb.o.UserException: Attempt to reuse an existing primary key value (ru.dz.train.test.ZeroIdTest$MyEntity:0)   if Id=1 no exception code : import javax.persistence.*; public class ZeroIdTest {     public static void main