About Id

91-100 of 200Refresh
JDO Doc
6

javax.jdo.PersistenceManagerFactory

setting. Since: JDO 1.0 String getServerTimeZoneID() Gets the TimeZone ID of the server associated with this PersistenceManagerFactory. Gets the TimeZone ID of the server associated with this PersistenceManagerFactory. If not set, assume that the server has the same TimeZone ID as the client. Returns
JPA Doc
6

javax.persistence.GeneratedValue

conjunction with the Id annotation. The use of the GeneratedValue annotation is only required ... primary keys. Example 1: @Id @GeneratedValue(strategy=SEQUENCE, generator="CUST_SEQ") @Column(name="CUST_ID") public Long getId() { return id; } Example 2: @Id
JPA Doc
6

javax.persistence.OneToOne

// On Customer class: @OneToOne(optional=false) @JoinColumn( name="CUSTREC_ID", unique ... : @Entity public class Employee { @Id Integer id; @OneToOne @MapsId ... { @Id Integer id; ... } Example 3: One-to-one association from an embeddable class
JDO Doc
6

javax.jdo.spi.JDOImplHelper

that has three key fields ( int id, String name, and Float salary) would have the method generated: void ... , oid.id); fm.storeStringField (1, oid.name); fm.storeObjectField (2, oid.salary ... in the ObjectId. For example, an ObjectId class that has three key fields (int id, String name
JPA Doc
6

javax.persistence.MapKeyClass

is specified and vice versa. Example 1: @Entity public class Item { @Id int id ... and target type of relationship can be defaulted @Entity public class Item { @Id int id ... : @Entity public class Company { @Id int id; ... @OneToMany
JPA Doc
6

javax.persistence.MapKeyJoinColumn

: @Entity public class Company { @Id int id; ... @OneToMany ... public class VideoStore { @Id int id; String name; Address location ... (name="MOVIE", referencedColumnName="ID") Map videoInventory
JPA Doc
5

javax.persistence.AttributeOverride

Id property or field. May be applied to an entity that extends a mapped superclass or to an embedded field or property to override a basic mapping or id mapping defined by the mapped superclass or ... : @MappedSuperclass public class Employee { @Id protected Integer id
JDO Doc
5

javax.jdo.identity.ObjectIdentity

Since: JDO 2.2 boolean equals(Object obj) Determine if the other object represents the same object id. Determine if the other object represents the same object id. Parameters: obj - the other object Returns: true if both objects represent the same object id Since: JDO 1.0 boolean equals(Object obj
JDO Doc
5

javax.jdo.JDOHelper

.getObjectById(Object oid, boolean validate) Object[] getObjectIds(Object[] pcs) Get object ids for an array of instances. Get object ids for an array of instances. For each instance in the parameter ... of the parameter array. Parameters: pcs - the persistence-capable instances Returns: the object ids
JPA Doc
5

javax.persistence.metamodel.SingularAttribute

whether the attribute is collection-valued Since: JPA 2.0 boolean isId() Is the attribute an id attribute. Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class. Returns: boolean