Home » Search

About primary key

81-90 of 200Refresh
JPA Doc
12

javax.persistence.MapsId

a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key, an attribute within an EmbeddedId primary key, or a simple primary key of the parent entity ... corresponds. If the entity's primary key is of the same Java type as the primary key of the entity
JDO Doc
12

javax.jdo.annotations.Join

: "" Since: JDO 2.1 String generatePrimaryKey Generate or assume a primary key constraint exists on the column or columns associated with this join. Generate or assume a primary key constraint exists on the column ... assume a primary key constraint Default value: "" Since: JDO 2.1 String index The name of the index
Forum
12

Getting Foreign Key

level primary key but i also nead to get foreign key which is belongs to header. WriteObjectQuery ... got pojo name query.getPrimaryKey() by using this i can get primary key now i nead to get foreighn ... How to get Foreign key using  org.eclipse.persistence.queries.WriteObjectQuery class
JPA Doc
12

javax.persistence.TableGenerator

get methods) Defines a primary key generator that may be referenced by name when a generator element ... on the primary key field or property. The scope of the generator name is global to the persistence ... of the primary key column in the table. (Optional) Name of the primary key column in the table
JDO Doc
12

javax.jdo.PersistenceManager

(primary key) JDO identity. If it is used for instances of classes using datastore identity ... javax.jdo Interface PersistenceManager PersistenceManager is the primary interface for JDO-aware ... 1.0 T getObjectById(Class cls, Object key) Looks up the instance of the given type
JDO Doc
12

javax.jdo.spi.PersistenceCapable

identity, this method must be called on an instance of a persistence-capable class with its primary key ... is initialized with the value(s) of the primary key field(s) of the instance on which the method is called ... with the values of the primary key fields of the persistence-capable instance on which the method
Forum
11

Can a Set<E> be a foreign key?

I have two classes, Cell and Character.  Basically, the cell is like a room, and contains a variable (private Set cellHeldCharacters;) which holds the IDs of the characters within the cell (The IDs are Primary Keys).  Can I use the Foreign Key annotation for the variable, or is it illegal
JPA Doc
11

javax.persistence.MapKeyColumn

applies in addition to any constraint entailed by primary key mapping and to constraints specified ... the mapping for the key column of a map whose map key is a basic type. If the name element is not ... relationship field or property; "_"; "KEY". Example: @Entity public class Item { @Id int id
JDO Doc
11

javax.jdo.annotations.ForeignKey

. This is needed iff annotating a type where the foreign key is not defined on the primary table ... get methods) Annotation for a database foreign-key. Corresponds to the xml element "foreign-key". Since: JDO 2.1 Column[] columns Columns that compose this foreign key. Columns that compose this foreign key
JPA Doc
11

javax.persistence.GenerationType

, Comparable Defines the types of primary key generation strategies. Since: JPA 1.0 ... must assign primary keys for the entity using a database identity column. Indicates that the persistence provider must assign primary keys for the entity using a database identity column. Since: JPA 1.0