 34 | and recommendations, in particular there are some primary keys with value == 0. These cause problems for objectDB, typically "JPA Unexpected argument as primary key". When using eclipselink, there is a workaround ... have a zero value in primary key column --> |
 33 | @OneToOne association that has a shared primary key, example: http://fruzenshtein.com/bidirectional-one-to-one-primary-key-association/ Can ObjectDB support this same specific relationship ... one to one association, but it cannot be based on identical primary keys, i.e. the primary key |
 33 | Primary Key with two Longs b) Embedded Primary Key with two Longs c) Furthermore, as String ... it is a composite primary key with the same size and structure. (b) requires instantiation ... Can you give us a recommendation as we can represent the Key (UUID) most efficient? Both in terms |
 32 | Hi, I don't have a useful test case to expose this issue, but I am getting an intermittent "Attempt to reuse an existing primary key value". In this particular instance, the error is:
Attempt to reuse an existing primary key value (com.x.y.z.UserPassword:1) (error 642)
at com.objectdb.jpa |
 32 | it. The composite primary key issue is unclear, since switching to a single primary key field doesn't seem to make any difference. eurojet |
 32 | : 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 |
 32 | keep getting errors :
Attempt to reuse an existing primary key value... My primary keys are annotated |
 32 | 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 |
 31 | 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 |
 31 | Hi, I am trying to use Embedded Primary Key - but seems I can't retrieve them correctly with the query below - the query seem to work fine for other field (in the code = primkeycopy). The error I get when is below - it complains about a casting issue. Let me know how to fix it - (full reproducible |