ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
103

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
47

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

ObjectDB 2.7.3_03 gives my application a "com.objectdb.o.UserException: Attempt to modify a primary key of a managed object", but my application is not trying to change the primary key. (ObjectDB log ... give the exception. 2.7.3_05 log file attached. CBE CBE Thanks. Could you please provide details on the primary
43

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 --> <property name="eclipselink.id-validation" value="NULL
42

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 ... . You can have a bidirectional one to one association, but it cannot be based on identical primary keys, i.e
41

Failed to commit transaction: Attempt to reuse an existing primary key value (613)

.RollbackException Failed to commit transaction: Attempt to reuse an existing primary key value (domain ... : Attempt to reuse an existing primary key value (domain.Pronostikoa:72) at com.objectdb.o ... to store more than one object in the database with the same primary key. Unfortunately
41

More Efficient Primary Keys

Primary Key with two Longs b) Embedded Primary Key with two Longs c) Furthermore, as String ... engine. In both cases it is a composite primary key with the same size and structure. (b) requires
41

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
41

Merge failure with composite primary key

should fix it. The composite primary key issue is unclear, since switching to a single primary key
11

ObjectDB Object Database Features

support of the JPA and JDO APIs. Fundamental features of relational databases (e.g. primary keys, derived ... callback methods and listener classes. Primary Keys Support of primary keys in ObjectDB is unique compared to other Objec-Oriented Databases. Primary Key Modes Hidden - primary key is automatically
0

JDO Predefined ID Classes

An object ID is a combination of a persistence capable class and a primary key. It provides ... for persistence capable classes with a simple single field primary key: Object IDs are used in many ... but should not be used as the type of a primary key field in a persistence capable class. For example

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support