ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh


Method javax.persistence.metamodel.SingularAttribute boolean isId() Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class. Returns: boolean indicating whether the attribute is an id Since: JPA 2.0


. 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


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


: @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


> type ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id attribute Returns: declared id attribute Throws: IllegalArgumentException - if id attribute of the given type is not declared in


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


.getObjectById(Object oid, boolean validate) Object[] getObjectIds(Object[] pcs) Get object ids for an array of instances. Get object ids for an array of instances. For each instance in the parameter ... of the parameter array. Parameters: pcs - the persistence-capable instances Returns: the object ids


. 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


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


: oid - The object id of the object to load Returns: the corresponding persistent instance Since: JDO 1 ... of object to load key - either the string representation of the object id, or an object representation ... newObjectIdInstance(Class pcClass, Object key) This method returns an object id instance 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