About IDE

141-150 of 200Refresh
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
3

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
3

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
Forum
3

Database Inconsistency or corruption

. ObjectValue ID:=100, TYPE:=Person, REVISION:=0, isPersisted:=true, LockMode:=PESSIMISTIC_WRITE]] ... Attribute  ID:=1400, Name:=profileName, Value:=ID:=1400, PrimitiveValue:=ProfileName 99, REVISION:=0, isPersisted:=true ... After the update Operation I also dump the properties of the object. ObjectValue ID
JPA Doc
3

getIdClassAttributes()

Method javax.persistence.metamodel.IdentifiableType Set> getIdClassAttributes() Return the attributes corresponding to the id class of the identifiable type. Returns: id attributes Throws: IllegalArgumentException - if the identifiable type does not have an id class Since: JPA 2.0
JDO Doc
3

javax.jdo.identity.ByteIdentity

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