About example

131-140 of 200Refresh
JPA Doc
3

javax.persistence.OneToOne

embedded field or property. Example 1: One-to-one association that maps a foreign key column ... ") public Customer getCustomer() { return customer; } Example 2: One-to-one association ... { @Id Integer id; ... } Example 3: One-to-one association from an embeddable class
JPA Doc
3

javax.persistence.OrderBy

annotation is not used when an order column is specified. Example 1: @Entity public class ... getStudents() {...}; ... } Example 2: @Entity public class Student ... public List getCourses() {...}; ... } Example 3: @Entity
Forum
3

Dependency from enhanced classes to the objectDB library

a “small” example based on our OSGi Bundle structure. The example contains 7 eclipse projects. (We use ... this example to get the exception on #1 (or if the example demonstrates a different exception, please describe it in details). Hello, in the example of post #3, we get a different error message than in
Forum
3

Extra uninitialised entities spawned on merge()

relationship Element owner - List ownedElements, and Example is a subclass entity ...         Example e = new Example(root, "example");         root.addOwnedElement(e ... ) {             return ownedElements.add(owned);         }     }     @Entity     static public class Example
JDO Doc
2

javax.jdo.InstanceCallbacks

over callbacks, for example to allow a class to implement the load callback without implementing any ... the runtime infrastructure of the application. For example, a persistent instance might notify
JDO Doc
2

javax.jdo.spi.JDOImplHelper

a call to the field manager for each key field in the ObjectId. For example, an ObjectId class ... in the ObjectId. For example, an ObjectId class that has three key fields (int id, String name
JPA Doc
2

javax.persistence.AssociationOverride

must be specified to override the mapping of the join table and/or its join columns. Example 1: Overriding ... public class PartTimeEmployee extends Employee { ... } Example 2: Overriding the mapping
JPA Doc
2

javax.persistence.Basic

property, the default values of the Basic annotation will apply. Example 1: @Basic protected String name; Example 2: @Basic(fetch=LAZY) protected String getName() { return name
JPA Doc
2

javax.persistence.EmbeddedId

supported. Example 1: @EmbeddedId protected EmployeePK empPK; Example 2: @Embeddable
JPA Doc
2

javax.persistence.GeneratedValue

primary keys. Example 1: @Id @GeneratedValue(strategy=SEQUENCE, generator="CUST_SEQ") @Column(name="CUST_ID") public Long getId() { return id; } Example 2: @Id