About primary key

181-190 of 200Refresh
FAQ
3

Which API should I use - JPA or JDO?

You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API. Both share similar architecture, design and abilities. When to prefer JPA JPA is more commonly used. Therefore, it might be the first choice for most new applications. You can use JPA as the primary
Result
3

Privacy Policy

platforms and encourage users wishing to discuss sensitive details to contact them through primary
Issue
3

again merger missing logs + objectdb exception

ObjectDB into multiple sections and each section is stored in a separate page and has a wrapper key that consists of the original primary key of the object with additional information about the section (e.g ... . a section key wrapper that wraps another section key wrapper that wraps the original primary key
JDO Doc
3

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

TemporalType injection with Calendar using JPA

object as a primary key, which has time fields which I have annotated with TemporalType.TIMESTAMP ... _OF_DAY=19,MINUTE=14,SECOND=43,MILLISECOND=31,ZONE_OFFSET=0,DST_OFFSET=3600000] ]) as a primary key ... =19,MINUTE=14,SECOND=43,MILLISECOND=31,ZONE_OFFSET=0,DST_OFFSET=3600000] ]) as a primary key at com
Issue
3

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

with long primary keys. In such objects the keys may not be embedded in the object content ... objects with long primary keys is not very efficient, because non embeddable keys are slower. If possible, try to avoid primary keys longer than 32 bytes (in the test they seem to be 36 bytes). Thanks
Forum
3

Composite Index error 328

key. The primary key is automatically indexed and cannot be added to user defined indexes. on mysql , i can make primary key as composite index. I can give secondary index. is  it impossible for objectdb ? Yes, a composite index that includes primary key fields is currently not supported by ObjectDB
JDO Doc
2

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
JDO Doc
2

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 ... - the other object Returns: true if the class or class name is the same Since: JDO 1.0 Object getKey() Return the key
Forum
2

How best to unbind all names?

a 'name' field, which may be set as a primary key or as a unique index. This will also solve the orphan ... that it would provide fast lookup, and the bookmark name I use is in fact simply the object primary key (a String ... even on the primary key would be slow. The created schema is in fact recognizing the existence