ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
21

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
0

javax.jdo.spi.PersistenceCapable

the ObjectIdFieldConsumer to store the values for the key fields. Parameters: fm - the field manager ... data store identity. If the JDO identity is managed by the application, then the ObjectId may be used ... . If the JDO identity is not managed by the application or the data store, then the ObjectId returned
0

jdoPreStore()

Method javax.jdo.listener.StoreCallback void jdoPreStore() Called before the values are stored from this instance to the data store. Data store fields that might have been affected by modified non ... so that changes to persistent fields will be reflected in the data store. The context in
0

javax.jdo.spi.StateManager

is persistent. Instances whose state is stored in the data store return true. Transient instances return ... call; newly made persistent or deleted persistent instances; persistent instances read in data store ... PersistenceCapable instance Returns: the value of jdoFlags to be stored in the PersistenceCapable
0

javax.jdo.Extent

the entire collection of instances in the data store of the candidate class or interface possibly ... all instances of a particular class or interface to execute a Query in the data store over all instances ... contains all instances of a particular class or interface in the data store; this method returns
0

javax.jdo.annotations.Persistent

String column Column name where the values are stored for this member. Column name where the values are stored for this member. Returns: the name of the column Default value: "" Since: JDO 2.1 Column ... when the declared member type is a supertype of the actual type that is stored in the member. For example
0

javax.jdo.Query

to obtain persistent instances, values, and aggregate data from the data store. The PersistenceManager ... is done at the data store. Parameters: fromInclToExcl - comma-separated fromIncl and toExcl values ... should execute the query such that the range algorithm is done at the data store. Parameters: fromIncl - 0
0

refresh(pc)

the data store. In an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state of the instance from the data store so that a subsequent commit is more likely to succeed. Outside a transaction, this method
0

javax.jdo.spi.StateInterrogation

implementation to locate a persistent instance with the same data store identity. If the JDO identity ... the application or the data store, then the ObjectId returned is only valid within the current ... that represent persistent objects in the data store return Boolean.TRUE. Instances known by
0

refresh(pc)

from the data store. In an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state of the instance from the data store so that a subsequent commit is more likely to succeed. Outside a transaction, this method

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