ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh
9

persisting object with long[][] arrays of array

= FetchType.EAGER, cascade = CascadeType.ALL) public long[] time;     @OneToMany(fetch = FetchType.EAGER ... long[][] b2;     public TESTObject(String ids, long[] time, long[][] a1, long[][] a2, long[][] b1, long[][] b2) {         this.id = ids;         this.time = time;         this.a1 = a1
1

javax.persistence.EntityExistsException

time. The current transaction, if one is active, will be marked for rollback. Since: JPA 1.0
1

javax.persistence.spi.PersistenceProviderResolver

javax.persistence.spi Interface PersistenceProviderResolver Determine the list of persistence providers available in the runtime environment. Implementations must be thread-safe. Note that the getPersistenceProviders method can potentially be called many times: it is recommended
1

persist(entity)

at flush or commit time.) IllegalArgumentException - if the instance is not an entity
1

javax.persistence.LockTimeoutException

at commit time. The current transaction, if one is active, will be not be marked for rollback
1

javax.persistence.OptimisticLockException

. This exception may be thrown as part of an API call, a flush or at commit time. The current transaction
0

setIgnoreCache(ignoreCache)

transactions, this can dramatically improve query response times. Parameters: ignoreCache - the setting of the ignoreCache option. Since: JDO 1.0
0

getObjectById(oid, validate)

a JDOObjectNotFoundException if the instance does not exist at that time. Further, if a relationship
0

getRetainValues()

Method javax.jdo.Transaction boolean getRetainValues() If true, at commit time instances retain their field values. Returns: the value of the retainValues property Since: JDO 1.0
0

addInstanceLifecycleListener(listener, classes)

is configurable (before the first time getPersistenceManager is called). The classes parameter identifies

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