About Id

111-120 of 200Refresh
JPA Doc
4

javax.persistence.PersistenceUnitUtil

 entity) Return the id of the entity. Return the id of the entity. A generated id is not guaranteed ... yet have an id. Parameters: entity - entity instance Returns: id of the entity Throws
JPA Doc
4

javax.persistence.SqlResultSetMapping

of the result of a native SQL query. Example: Query q = em.createNativeQuery( "SELECT o.id AS order_id, " + "o.quantity AS order_quantity, " + "o.item AS order_item ... > 25) AND (order_item = i.id)", "OrderResults"); @SqlResultSetMapping(name="OrderResults
JDO Doc
4

setServerTimeZoneID(timezoneid)

the TimeZone ID of the server associated with this PersistenceManagerFactory. The parameter is a String suitable for use with TimeZone.getTimeZone(). The String must match an ID returned by TimeZone ... has the same TimeZone ID as the client. If incorrectly set, the result of PersistenceManager
JPA Doc
4

getIdentifier(entity)

Method javax.persistence.PersistenceUnitUtil Object getIdentifier(   Object entity ) Return the id of the entity. A generated id is not guaranteed to be available until after the database insert has occurred. Returns null if the entity does not yet have an id. Parameters: entity - entity instance
JPA Doc
4

hasSingleIdAttribute()

Method javax.persistence.metamodel.IdentifiableType boolean hasSingleIdAttribute() Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns: boolean indicating whether the identifiable type has a single id attribute Since: JPA 2.0
JDO Doc
4

javax.jdo.Constants

_SERVER_TIME_ZONE_ID The name of the persistence manager factory element's "server-time-zone-id" attribute. The name of the persistence manager factory element's "server-time-zone-id" attribute ... " Since: JDO 2.1 See Also: PersistenceManagerFactory.getRetainValues() String PROPERTY_SERVER_TIME_ZONE_ID
JPA Doc
4

javax.persistence.JoinTable

", joinColumns= @JoinColumn(name="CUST_ID", referencedColumnName="ID"), inverseJoinColumns= @JoinColumn(name="PHONE_ID", referencedColumnName="ID") ) Since: JPA 1
JPA Doc
4

javax.persistence.ManyToMany

", joinColumns= @JoinColumn(name="CUST_ID", referencedColumnName="ID"), inverseJoinColumns= @JoinColumn(name="PHONE_ID", referencedColumnName="ID
JPA Doc
4

javax.persistence.MapKey

() {... } ... } @Entity public class Employee { ... @Id Integer getEmpId() { ... } @ManyToOne @JoinColumn(name="dept_id") public Department ... { @Id public Integer getEmpId() { ... } ... @ManyToOne @JoinColumn(name
JPA Doc
4

javax.persistence.MappedSuperclass

{ @Id protected Integer empId; @Version protected Integer version; @ManyToOne ... () { ... } public void setEmpId(Integer id) { ... } public Address getAddress ... (name="ADDR_ID")) public class PartTimeEmployee extends Employee { // Inherited