ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
7

javax.persistence.Query

Chapter 4 of the ObjectDB/JPA manual. int executeUpdate() Execute an update or delete statement ... back Since: JPA 1.0 int getFirstResult() The position of the first result the query object was set ... a Criteria API query Since: JPA 2.0 int getMaxResults() The maximum number of results the query
4

javax.persistence.MapKeyClass

is specified and vice versa. Example 1: @Entity public class Item { @Id int id ... and target type of relationship can be defaulted @Entity public class Item { @Id int id ... : @Entity public class Company { @Id int id; ... @OneToMany
4

javax.persistence.TableGenerator

="empGen") int id; ... } Example 2: @Entity public class Address ... ") int id; ... } Since: JPA 1.0 See Also: GeneratedValue Learn how to define and use automatic value generation in Chapter 2 of the ObjectDB/JPA manual. int allocationSize
4

javax.persistence.criteria.CriteriaBuilder

> x, String pattern, int from) Create expression to locate the position of one string ... Returns: square root Since: JPA 2.0 Expression<String> substring( Expression<String> x, int from) Create ... extraction Since: JPA 2.0 Expression<String> substring( Expression<String> x, int from, int len
0

javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier

of ObjectIdFieldManager for each field in the object id. Since: JDO 1.0 boolean fetchBooleanField(int fieldNumber ... fetchByteField(int fieldNumber) Fetch one field from the field manager. Fetch one field from the field manager ... .0 char fetchCharField(int fieldNumber) Fetch one field from the field manager. Fetch one field from
0

javax.jdo.listener.InstanceLifecycleEvent

methods are implemented to throw NotSerializableException. Since: JDO 2.0 int ATTACH Since: JDO 2.0 int CLEAR Since: JDO 2.0 int CREATE Since: JDO 2.0 int DELETE Since: JDO 2.0 int DETACH Since: JDO 2.0 int DIRTY Since: JDO 2.0 int LOAD Since: JDO 2.0 int STORE Since: JDO 2.0 InstanceLifecycleEvent
0

javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer

of ObjectIdFieldManager for each field in the object id. Since: JDO 1.0 void storeBooleanField(int fieldNumber ... of the key field. value - the value of the field from the ObjectId. Since: JDO 1.0 void storeByteField(int ... storeCharField(int fieldNumber, char value) Store one field into the field manager. Store one field into
0

javax.jdo.FetchPlan

, and the various setGroups calls. Value: default. Since: JDO 2.0 int DETACH_LOAD_FIELDS For use ... plan should be loaded prior to detachment. Since: JDO 2.0 int DETACH_UNLOAD_FIELDS For use ... should be unloaded prior to detachment. Since: JDO 2.0 int FETCH_SIZE_GREEDY For use with setFetchSize
0

javax.jdo.spi.PersistenceCapable

other, int[] fieldNumbers) Copy field values from another instance of the same class to this instance. Copy ... . For example, an ObjectId class that has three key fields (int id, String name, and Float salary ... , an ObjectId class that has three key fields (int id, String name, and Float salary) would have the method
0

javax.jdo.identity.IntIdentity

, Comparable This class is for identity with a single int field. Since: JDO 1.0 IntIdentity() Constructor ... , int key) Constructor with class and key. Constructor with class and key. Parameters: pcClass ... . Parameters: pcClass - the class key - the key Since: JDO 1.0 int compareTo(T arg0) Parameters

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