ObjectDB ObjectDB

Internal Website Search

151-160 of 200 resultsRefresh
13

Broken @ManyToOne reference

: @MappedSuperclass public abstract class A { @Id @ManyToOne(fetch = FetchType.EAGER, cascade=CascadeType.ALL, optional=false) private B b; @Id @Column(length = 36) private String stringId; } @MappedSuperclass public abstract class B { @Id private String name; } Both objects store
2

javax.persistence.IdClass

Employee { @Id String empName; @Id Date birthDay; ... } Since: JPA 1.0 Class
2

javax.persistence.Transient

{ @Id int id; @Transient User currentUser; ... } Since: JPA 1.0 This annotation is a marker annotation (with no elements).
0

equals(obj)

Method javax.jdo.identity.StringIdentity boolean equals( Object obj ) 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
0

javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier

javax.jdo.spi Interface PersistenceCapable.ObjectIdFieldSupplier Subinterfaces: ObjectIdFieldManager This interface is used to provide fields to the Object id instance. It is used by the method ... of ObjectIdFieldManager for each field in the object id. Since: JDO 1.0 boolean fetchBooleanField(int fieldNumber
0

getObjectIds(pcs)

Static Method javax.jdo.JDOHelper Object[] getObjectIds( Object[] pcs ) Get object ids for an array of instances. For each instance in the parameter, the getObjectId method is called. This method ... - the persistence-capable instances Returns: the object ids of the parameters Since: JDO 2.0 See Also: getObjectId(Object pc) getObjectIds(Collection pcs)
0

getObjectIds(pcs)

Static Method javax.jdo.JDOHelper Collection getObjectIds( Collection pcs ) Get object ids for a collection of instances. For each instance in the parameter, the getObjectId method is called ... : pcs - the persistence-capable instances Returns: the object ids of the parameters Since: JDO 2.0 See Also: getObjectId(Object pc) getObjectIds(Object[] pcs)
0

equals(obj)

Method javax.jdo.identity.IntIdentity boolean equals( Object obj ) 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
0

jdoCopyKeyFieldsFromObjectId(fm, oid)

field in the ObjectId. For example, an ObjectId class that has three key fields (int id, String name ... (ObjectIdFieldConsumer fm, Object objectId) { EmployeeKey oid = (EmployeeKey)objectId; fm.storeIntField (0, oid.id); fm
0

jdoCopyKeyFieldsToObjectId(fm, oid)

in the ObjectId. For example, an ObjectId class that has three key fields (int id, String name ... fm, Object objectId) { EmployeeKey oid = (EmployeeKey)objectId; oid.id = fm.fetchIntField (0); oid

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