ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh
2

ObjectDB is opening too many sockets

, and we are now facing following issue. Object DB server is creating too many sockets. Currently ... ) and on the end of the line I wrote number of sockets, which ObjectDB Server has currently in use. I ... the size of the connection pool (the default in ObjectDB is currently 50), by using the JDO method
2

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

Quick example: public class MyClass { @Column(name = "myText") String myText; @Temporal(TemporalType.TIMESTAMP) @Column(name = "myDate") Date myDate; } Now ... haven't declared the query parameter as TemporalType.TIMESTAMP. But when I write following query
0

javax.persistence.NoResultException

()is executed on a query and there is no result to return. This exception will not cause the current ... within this Throwable object information about the current state of the stack frames for the current
0

javax.persistence.OptimisticLockException

. This exception may be thrown as part of an API call, a flush or at commit time. The current transaction ... information about the current state of the stack frames for the current thread. Returns: a reference
0

javax.persistence.PersistenceException

, and QueryTimeoutException will cause the current transaction, if one is active, to be marked for rollback ... the execution stack trace. This method records within this Throwable object information about the current state of the stack frames for the current thread. Returns: a reference to this Throwable instance
0

javax.persistence.EntityNotFoundException

with pessimistic locking is used and the entity no longer exists in the database. The current transaction ... within this Throwable object information about the current state of the stack frames for the current thread. Returns
0

javax.persistence.QueryTimeoutException

is rolled back. The current transaction, if one is active, will be not be marked for rollback. Since: JPA 2 ... about the current state of the stack frames for the current thread. Returns: a reference to this Throwable instance
0

javax.persistence.PessimisticLockException

. This exception may be thrown as part of an API call, a flush or at commit time. The current ... information about the current state of the stack frames for the current thread. Returns: a reference
0

Best practice for history tracking

We would like to add to records start and end timestamp fields. When end field is null, it indicates the last version of this item. Few questions: in terms of performance, what would be faster, having a single timestamp and looking for the top1 when ordered by time or the above solution, looking
0

currentValue()

Method javax.jdo.datastore.Sequence long currentValue() Returns the current sequence value as a long. If the current sequence value is not available or is not numeric, throw JDODataStoreException. Returns: the current value Since: JDO 2.0

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