About primary key

1-10 of 200Refresh
Manual
534

JPA Primary Key

Every entity object that is stored in the database has a primary key. Once assigned, the primary ... an object database, ObjectDB supports implicit object IDs, so an explicitly defined primary key is not required. But ObjectDB also supports explicit standard JPA primary keys, including composite primary
Forum
50

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

key of a managed object", but my application is not trying to change the primary key.  (ObjectDB ... attached. Thanks. Could you please provide details on the primary key of JdoBlob2? Is it composite ... a combination of class + primary key and therefore it seems a bit strange to use it as the type
Forum
47

problem when primary key value is zero

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 -->            
Forum
47

A bidirectional OneToOne association with a shared primary key

@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
Forum
47

More Efficient Primary Keys

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
Forum
46

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

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
Forum
46

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
46

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
Forum
46

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
46

remove & 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