ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
16

Composite Index error 328

the primary key. The primary key is automatically indexed and cannot be added to user defined indexes. support Support on mysql , i can make primary key as composite index. I can give secondary index. is it impossible for objectdb ? eix128 Kadir BAŞOL Yes, a composite index that includes primary key
15

World database - Changing country ID

to change field which is primary key? If so what am I doing wrong? Thanks vasekt Vaclav Topinka Changing the primary key of an existing entity object is not allowed and the Explorer should be fixed to prevent it. If you have to change the primary key you should create a new entity object with the new
15

How best to unbind all names?

portable way, by adding a 'name' field, which may be set as a primary key or as a unique index ... the object primary key (a String). The free edition of objectdb does not provide indexes, so I was concerned that using JDO queries even on the primary key would be slow. The created schema is in fact
13

Mismatch client-server protocol prefix

where in the code it's happening. com.objectdb.o.UserException: Attempt to reuse an existing primary key ... entity object with a primary key that is already in use by an existing entity object of that type ... but the primary key exception raises every few calls of our logging method. mosi0815 Ralph Moser The cause
13

Can't modify @EmbeddedId in ObjectDB Explorer

the application as well. You set a primary key before persisting an entity, and it cannot be modified later. Therefore replacing a primary key requires creating a new entity object with the new primary key, copying ... broken references. It is also a good practice to keep primary keys fixed (in RDBMS too). Accordingly, currently this feature has a low priority. support Support
3

InternalException when using MEMBER OF on a large list in a query

because of a bug in handling query results that combine large objects with long primary keys. In ... . Note that although the new build fixes the exception - storing large objects with long primary keys is not very efficient, because non embeddable keys are slower. If possible, try to avoid primary keys
2

ObjectDB needs "insert ignore"

. However, to check if a specific primary key is in use, you may also use find or getReferemce (see this page). Use an ID class or an embedded ID as the second parameter if you have a composite primary ... How do you get the duplicate primary key error? Are you using persist? You may try merge instead, which should work with existing primary keys as well. support Support
0

javax.jdo.annotations.Value

: {} Since: JDO 2.1 ForeignKeyAction deleteAction Delete action to apply to any foreign key for the value. Delete action to apply to any foreign key for the value. Returns: delete action to apply to any foreign key for the value Default value: javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED
0

javax.jdo.identity.StringIdentity

(Class pcClass, String key) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0 int compareTo(T arg0) Parameters: arg0 - int ... : true if the class or class name is the same Since: JDO 1.0 String getKey() Return the key. Return
0

javax.jdo.identity.ObjectIdentity

ObjectIdentity(Class pcClass, Object param) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the class param - the key Since: JDO 1.0 int compareTo(T arg0) Parameters: arg0 ... Returns: true if the class or class name is the same Since: JDO 1.0 Object getKey() Return the key

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