ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh
10

Optimization Question

to identify exactly what fields have changed from one update to the next. Currently the following sequence executes when a track update comes in: - If it’s a new track simply add it to the database. - If it's an update to an existing track, delete the entire previous entry and then add in the new
1

createNativeQuery(sqlString)

Method javax.persistence.EntityManager Query createNativeQuery( String sqlString ) Create an instance of Query for executing a native SQL statement, e.g., for update or delete. Parameters: sqlString - a native SQL query string Returns: the new query instance Since: JPA 1.0
1

CacheStoreMode.USE

Enum Constant javax.persistence.CacheStoreMode USE Insert/update entity data into cache when read from database and when committed into database: this is the default behavior. Does not force refresh of already cached items when reading from database. Since: JPA 2.0
1

CacheStoreMode.REFRESH

Enum Constant javax.persistence.CacheStoreMode REFRESH Insert/update entity data into cache when read from database and when committed into database. Forces refresh of cache for items read from database. Since: JPA 2.0
1

LockModeType.PESSIMISTIC_FORCE_INCREMENT

Enum Constant javax.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT Pessimistic write lock, with version update. Since: JPA 2.0
1

LockModeType.OPTIMISTIC_FORCE_INCREMENT

Enum Constant javax.persistence.LockModeType OPTIMISTIC_FORCE_INCREMENT Optimistic lock, with version update. Since: JPA 2.0
0

javax.jdo.JDOReadOnlyException

represents exceptions caused by an attempt to update a datastore when the PMF was created as "read
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-persistent fields should be updated in this method. This method is modified by the enhancer
0

javax.jdo.annotations.ForeignKeyAction

javax.jdo.annotations Enum ForeignKeyAction java.lang.Object java.lang.Enum<javax.jdo.annotations.ForeignKeyAction> javax.jdo.annotations.ForeignKeyAction Implemented Interfaces: Serializable, Comparable<ForeignKeyAction> Enumeration of the foreign-key delete/update action values
0

javax.jdo.InstanceCallbacks

that might have been affected by modified non-persistent fields should be updated in this method. This method is modified

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