About primary key

131-140 of 200Refresh
JPA Doc
7

JoinColumn.unique

is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. It is not necessary to explicitly specify this for a join column that corresponds to a primary key that is part of a foreign key. Default value: false Since: JPA 1.0
JPA Doc
7

MapKeyColumn.table

relationship using a foreign key mapping strategy, the name of the primary table of the entity that is the value of the map. Default value: "" Since: JPA 2.0 ... that contains the column. Defaults: If the map key is for an element collection, the name of the collection table for the map value. If the map key is for a OneToMany or ManyToMany entity relationship
Forum
7

Index on map key

Is there a way to create an Index with @Index on the key of a map? Indexes on map keys as well as queries on map keys are currently not supported. But as a workaround you can use a collection ... ();         Query query = em.createQuery(             "SELECT o FROM MyEntity o JOIN o.map e WHERE e.key
Issue
6

Eager Fetch of Map with Entities as Keys

Loading eagerly a map that uses entity objects as keys is currently unsupported, if the equals and hashCode methods of the keys are based on the key entity persistent content, since that content ... ();         MyKeyEntity key = new MyKeyEntity("key");         em.persist(key);         entity.map
Forum
6

Activation key causes database to not start

. We still cannot start ObjectDB if we add the activation key in objectdb.conf. This is the ObjectDB log ... it seems that a wrong license key (for ObjectDB 1.x rather than for ObjectDB 2.x) was sent to you. Sorry about that. A new license key was sent to you now to replace the wrong license key. It's ok. Thank
Manual
6

SSL Configuration

private key and its corresponding public key (the SSL protocol is based on the RSA algorithm ... . This file is generated from the Keystore file by omitting the private key (it still contains the general information and the public key). You can generate these files using the JDK keytool utility
JPA Doc
6

Column.unique

is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint corresponds to only a single column. This constraint applies in addition to any constraint entailed by primary key mapping and to constraints specified at the table level. Default value: false Since: JPA 1.0
JDO Doc
6

ForeignKey.table

Annotation Element javax.jdo.annotations.ForeignKey String table Table for the foreign key. This is needed iff annotating a type where the foreign key is not defined on the primary table for the type. Returns: the table on which the foreign key is defined Default value: "" Since: JDO 2.1
JDO Doc
6

jdoNewObjectIdInstance(o)

with the values of the primary key fields of the persistence-capable instance on which the method is called. If the key is the wrong class for the object id class, null is returned. For classes that use single ... instance of the class used for JDO identity, using the key constructor of the object id class
JPA Doc
6

MapKeyColumn.unique

is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint corresponds to only a single column. This constraint applies in addition to any constraint entailed by primary key mapping and to constraints specified at the table level. Default value: false Since: JPA 2.0