Internal Website Search

91-100 of 200 resultsRefresh

ObjectDB is opening too many sockets

sockets. Currently the ObjectDB Server process has 3895 opened files, and from that number  ... has currently in use. I guess it kind of work correctly as the sockets were not increasing ... the size of the connection pool (the default in ObjectDB is currently 50), by using the JDO method

javax.persistence.LockTimeoutException

may be thrown as part of an API call, at, flush or at commit time. The current transaction, if one is active ... object information about the current state of the stack frames for the current

javax.persistence.NoResultException

and there is no result to return. This exception will not cause the current transaction ... > object information about the current state of the stack frames for the current thread

javax.persistence.OptimisticLockException

at commit time. The current transaction, if one is active, will be marked for rollback. object information about the current state of the stack frames for the current thread

javax.persistence.PersistenceException

> will cause the current transaction, if one is active, to be marked for rollback. object information about the current state of the stack frames for the current thread

javax.persistence.EntityNotFoundException

exists in the database. The current transaction, if one is active, will be marked ... within this Throwable object information about the current state of the stack frames for the current thread.

javax.persistence.QueryTimeoutException

times out and only the statement is rolled back. The current transaction, if one is active ... > object information about the current state of the stack frames for the current thread

javax.persistence.PessimisticLockException

at commit time. The current transaction, if one is active, will be marked for rollback. object information about the current state of the stack frames for the current thread

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

currentValue()

class="description"> Returns the current sequence value as a long. If the current sequence value ... "> Returns: the current value