ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh
4

javax.persistence.ColumnResult

( "SELECT o.id AS order_id, " + "o.quantity AS order_quantity, " + "o.item ... " + "WHERE (order_quantity > 25) AND (order_item = i.id)", "OrderResults ... .class, fields={ @FieldResult(name="id", column="order_id"), @FieldResult
4

javax.persistence.AssociationOverrides

: @MappedSuperclass public class Employee { @Id protected Integer id; @Version ... Locker locker; public Integer getId() { ... } public void setId(Integer id ... ( name="address", joinColumns=@JoinColumn("ADDR_ID
4

javax.persistence.AssociationOverride

=@JoinColumn(name="ADDR_ID")) // address field mapping overridden to ADDR_ID foreign key ... { @Id int id; @AssociationOverride( name="phoneNumbers", joinTable ... ; } @Entity public class PhoneNumber { @Id int number; @ManyToMany
4

javax.persistence.EmbeddedId

. There must be only one EmbeddedId annotation and no Id annotation when the EmbeddedId annotation is used ... may only be used to override those attributes of the embedded id that do not correspond to the relationship to the parent entity. Relationship mappings defined within an embedded id class are not
4

javax.persistence.FieldResult

.createNativeQuery( "SELECT o.id AS order_id, " + "o.quantity AS order_quantity ... > 25) AND (order_item = i.id)", "OrderResults"); @SqlResultSetMapping(name="OrderResults ... ={ @FieldResult(name="id", column="order_id"), @FieldResult(name="quantity", column
4

javax.persistence.ManyToOne

: @ManyToOne(optional=false) @JoinColumn(name="CUST_ID", nullable=false, updatable=false) public ... { @Id int id; @Embedded JobInfo jobInfo; ... } @Embeddable ... ; // Bidirectional } @Entity public class ProgramManager { @Id int id
4

getId(type)

) Return the attribute that corresponds to the id attribute of the entity or mapped superclass. Parameters: type - the type of the represented id attribute Returns: id attribute Throws: IllegalArgumentException - if id attribute of the given type is not present in the identifiable type or if the identifiable type has an id class Since: JPA 2.0
0

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
0

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
0

javax.jdo.JDOEntityManager

. This is equivalent to getObjectById(oid, true); Parameters: oid - The object id of the object to load Returns ... of the object id, or an object representation of a single field identity key Returns: the corresponding

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support