ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh
22

OneToMany and cascade delete problem

): @Entity public static class Store { @OneToMany(targetEntity = Offer.class, mappedBy = "store ... { @ManyToOne private Product product; @ManyToOne private Store store; } Naming ... (one Product can have many Offers) and for a given store list of all Offers of all Products
6

javax.persistence.TableGenerator

to be used to initialize the column that stores the last value generated. (Optional) The initial value to be used to initialize the column that stores the last value generated. Default value: 0 Since: JPA ... others that may be stored in the table. (Optional) The primary key value in the generator table
0

javax.jdo.annotations.Value

Name of the column to store the value in. Name of the column to store the value in. Returns: the name of the column to store the value in Default value: "" Since: JDO 2.1 Column[] columns The column ... where this value is stored. Name of a member in the key class where this value is stored. Returns
0

javax.jdo.annotations.Key

of the column to store the key in. Name of the column to store the key in. Returns: name of the column to store the key in Default value: "" Since: JDO 2.1 Column[] columns The column(s) for the key ... .1 String mappedBy Name of a member in the value class where this key is stored. Name of a member in
0

javax.jdo.InstanceCallbacks

are loaded from the data store into this instance. Called after the values are loaded from the data store ... jdoPreStore() Called before the values are stored from this instance to the data store. Called before the values are stored from this instance to the data store. Data store fields
0

javax.jdo.listener.StoreLifecycleListener

This interface is implemented by listeners to be notified of store events. Since: JDO 2.0 void postStore( InstanceLifecycleEvent event) Invoked whenever a persistent instance is stored, for example ... instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction
0

javax.jdo.listener.StoreCallback

to notify instances of store events. Since: JDO 2.0 void jdoPreStore() Called before the values are stored from this instance to the data store. Called before the values are stored from this instance to the data store. Data store fields that might have been affected by modified non-persistent fields
0

javax.jdo.annotations.Element

". Since: JDO 2.1 String column Name of the column to store the element in. Name of the column to store the element in. Returns: name of the column to store the element in Default value: "" Since: JDO 2.1 Column ... serialized Whether the element is to be stored serialized (into a join table) Whether the element
0

javax.jdo.Transaction

Since: JDO 1.0 boolean getOptimistic() Optimistic transactions do not hold data store locks until commit time. Optimistic transactions do not hold data store locks until commit time. Returns: the value ... do not hold data store locks until commit time. Optimistic transactions do not hold data store locks
0

getObjectById(oid, validate)

. It is an implementation decision whether to access the data store, if required to determine the exact ... ObjectId class. If the validate flag is false, and the instance does not exist in the data store ... parameter, but the instance is not transactional, then it must be verified in the data store

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