Home » Search

About IDE

111-120 of 200Refresh
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
Forum
4

@OneToMany(fetch = FetchType.LAZY) list is always null

Parent { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "b") private int id; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) private List children; public int getId() { return id; } public void setId(int id
Forum
4

Should derived fields of an EmbeddedId be manually maintained by app code?

.... public void setSingleton(EContainer singleton) { this.id.cont = singleton.id; this.container ... .... public void setParent(ECompoundKeyMapItem parent) { this.id.prnt = parent.id; this.parent ... javax.persistence.Id; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery
Forum
4

Optimistic locking: prevent version increment on entity collection attribute

you can help. Thanks @Entity public class Document {        // ID is generated by the database     @Id private long id;        @OneToMany(mappedBy="document")     private ArrayList readings = new ArrayList();        public long getId() {         return id