ObjectDB Database Search

51-100 of 200 results

log entry date/time

It would be very useful if each entry in the log file has a date/ time stamp. Thanks, Carl   FastModel Ben Schreiber Version 2.2.2 adds date/ time stamps to the log. Thank you for your suggestion. support Support

EntityManager creation taking long time

during the time of issue: From our logs the issue seems to have occurred between 3:45 am to 4:15 am on Nov 22nd ... such long wait times ? CAPdev CAP Dev There are no known issues that may be related. How do you know

EntityManager.refresh takes a long time

EntityManager.refresh takes a long time for entity object Person in this code:     logger.log(Level.INFO, "begin select for person " + new Date().toString());     ... only objects in his context? Operation time reaches 30 - 40 seconds. Please help to understand why. 

Option or strategy to disable/skip runtime enhancement checks (to improve load time)?

Maven-based compile- time enhancement applied to entity modules (only), so I know these checks ... load time ) ?     webel Dr Darren Kelly Please provide more information about these checks, such as log messages or stack traces. support Support

First persist takes long time

We detected that the first Persist() of an entity take much longer than all subsequent calls. We have a small example (see Appendix) which outputs the following times : First transaction with persist ... : Could you explain the long time for first persist? btc_es BTC EmbeddedSystems Some operations

package.jdo validation error (Connection timed out)

timed out: connect NestedThrowables: java.net.ConnectException: Connection timed out: connect The same

Post-compilation enhancement vs Automatic Run-time enhancement

We are getting massively different results on field loading between explicit post-compile enhancement and automatic run- time enhancement. Testing exactly where and when the results are different for our demo web app is a very time consuming task, and very difficult, it means testing literally 100s

Retrieve latest entry in a time-series

As mentioned elsewhere, subqueries are not currently supported.  A subquery is the way that seems recommended to get only the latest entry in a time series (e.g. the latest time -clock entry for all employees).   Is there an ObjectDB way to get the latest entry in a series? 

Issue with compile time enhancement

I have an entity library which I have integrated build time enhancement in.  The enhancer reports it has processed all of my persistent classes.  When I attempt to run a Bootstrap process with this library I get the error shown below.  The entity referenced in the error (Terms

Group by date / time

support these expressions (as an extension to JPA) - support of date/ time methods ( YEAR , MONTH

java.time.*

I get errors when trying to persist anything in java. time .* For example LocalDate, Month, Period. Will these be supported sometime in the future?   scoobyrooster Jason Java 8 date and tome is not supported yet, except by serialization (which is not recommended and disabled by default

Open several objectdb databases the same time

Golyshkin In embedded mode a database can only be accessed by one process at a time . The server mode

Java 8 time API

Java 8 time API

i can't change my password first time

i can't change my password first time

several times a day queries take several minutes

))) that normally take around 10 seconds but sometimes several times a day take around 3-10 minutes

queries more than 10 times slower using 2.8.1 versus 2.7.6

to avoid to again and again transfer this huge database, we are a bit under time pressure hgzwicker

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

to execute the query, still it is taking the same amount of time . 11-Sep 14:55:58 ERROR  [JDORepository.retrieve:482] Start Time : class com.anritsu.eu.rtd.logger.rtdtool.LogEntryAttributeImpl 11-Sep 14:56:34 ERROR  [JDORepository.retrieve:484] End Time Time 11-Sep 14:56:34 ERROR 

javax.persistence.EntityManagerFactory

each time it is invoked. The isOpen method will return true on the returned instance. Return: entity ... time it is invoked. The isOpen method will return true on the returned instance. Parameters: map ... with the specified synchronization type. This method returns a new EntityManager instance each time it is invoked

javax.persistence.TemporalType

java.sql.Date Since: JPA 1.0 TIME Map as java.sql. Time Since: JPA 1.0 TIMESTAMP Map as java.sql

javax.persistence.criteria.CriteriaBuilder

Expression currentTime () Create expression to return current time . Return: expression for current time

javax.persistence.Enumerated

: public enum EmployeeStatus {FULL_ TIME , PART_ TIME , CONTRACT} public enum SalaryRate {JUNIOR, SENIOR

CriteriaBuilder.currentTime() - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression currentTime () Create expression to return current time . Return: expression for current time Since: JPA 2.0

javax.persistence.LockTimeoutException

part of an API call, at, flush or at commit time . The current transaction, if one is active, will be not

javax.persistence.PessimisticLockException

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

EntityManagerFactory.createEntityManager() - JPA Method

JPA Method in javax.persistence.EntityManagerFactory EntityManager createEntityManager () Create a new application-managed EntityManager . This method returns a new EntityManager instance each time it is invoked. The isOpen method will return true on the returned instance. Return: entity manager

EntityManagerFactory.createEntityManager(synchronizationType,map) - JPA Method

. This method returns a new EntityManager instance each time it is invoked. The isOpen method

javax.persistence.OptimisticLockException

time . The current transaction, if one is active, will be marked for rollback. See Also: EntityManager

EntityManagerFactory.createEntityManager(synchronizationType) - JPA Method

time it is invoked. The isOpen method will return true on the returned instance. Parameters

EntityManagerFactory.createEntityManager(map) - JPA Method

JPA Method in javax.persistence.EntityManagerFactory EntityManager createEntityManager (   Map map ) Create a new application-managed EntityManager with the specified Map of properties. This method returns a new EntityManager instance each time it is invoked. The isOpen method

EntityManager.persist(entity) - JPA Method

another PersistenceException may be thrown at flush or commit time .) IllegalArgumentException - if the instance is not

javax.persistence.Basic

.Date , java.sql. Time , java.sql.Timestamp , byte[] , Byte[] , char[] , Character[] , enums, and any

javax.persistence.EntityManager

the EntityExistsException or another PersistenceException may be thrown at flush or commit time

javax.persistence.QueryTimeoutException

JPA Exception QueryTimeoutException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax.persistence.PersistenceException ∟  javax.persistence.QueryTimeoutException Thrown by the persistence provider when a query times

javax.persistence.FlushModeType

. The provider may flush at other times , but is not required to. Since: JPA 1.0 Public Static Enum

javax.persistence.FlushModeType.COMMIT

JPA Enum Constant in javax.persistence.FlushModeType COMMIT Flushing to occur at transaction commit. The provider may flush at other times , but is not required to. Since: JPA 1.0

javax.jdo.PersistenceManager

a JDOObjectNotFoundException if the instance does not exist at that time . Further, if a relationship is established ... to a single time source. Implementations use the setting of the server time zone to prepare a Date instance that represents UTC time on the server. Return: a Date instance corresponding to the UTC Date

PersistenceManager.getServerDate() - JDO Method

JDO Method in javax.jdo.PersistenceManager Date getServerDate () Get the Date as seen by the server. Clients using this method can order their operations according to a single time source. Implementations use the setting of the server time zone to prepare a Date instance that represents UTC time

javax.jdo.Transaction

data store locks until commit time . Return: the value of the Optimistic property. Since: JDO 1.0 ... of the restoreValues property Since: JDO 1.0 boolean getRetainValues () If true , at commit time ... ) Optimistic transactions do not hold data store locks until commit time . If an implementation does not

javax.jdo.PersistenceManagerFactory

(before the first time getPersistenceManager is called). The classes parameter identifies ... methods and can only be called when the PersistenceManagerFactory is configurable (before the first time

javax.jdo.Query

, this can dramatically improve query response times . Parameters: ignoreCache - the setting ... .util class Date; or one of the java.sql classes Date, Time , or Timestamp; or a user-defined class

PersistenceManagerFactory.removeInstanceLifecycleListener(listener) - JDO Method

when the PersistenceManagerFactory is configurable (before the first time getPersistenceManager is called). Parameters

PersistenceManagerFactory.addInstanceLifecycleListener(listener,classes) - JDO Method

and can only be called when the PersistenceManagerFactory is configurable (before the first time getPersistenceManager

javax.jdo.annotations.VersionStrategy

JDO Enum VersionStrategy java.lang.Object ∟  java.lang.Enum ∟  javax.jdo.annotations.VersionStrategy Enumeration of the version strategy values. Since: JDO 2.1 Enum Constants DATE_ TIME Since: JDO 2.1 NONE Since: JDO 2.1 STATE_IMAGE Since: JDO 2.1 UNSPECIFIED Since: JDO 2.1 VERSION_NUMBER

Transaction.setOptimistic(optimistic) - JDO Method

JDO Method in javax.jdo.Transaction void setOptimistic (   boolean optimistic ) Optimistic transactions do not hold data store locks until commit time . If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters: optimistic - the value of the Optimistic flag. Since: JDO 1.0

Transaction.getOptimistic() - JDO Method

JDO Method in javax.jdo.Transaction boolean getOptimistic () Optimistic transactions do not hold data store locks until commit time . Return: the value of the Optimistic property. Since: JDO 1.0

Transaction.getRetainValues() - JDO Method

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

Query.setResultClass(cls) - JDO Method

BigDecimal; or the java.util class Date; or one of the java.sql classes Date, Time , or Timestamp; or

javax.jdo.spi.JDOImplHelper

-capable classes register themselves via a static method at class load time . There is no security

Query.setIgnoreCache(ignoreCache) - JDO Method

the cache. For optimistic transactions, this can dramatically improve query response times

PersistenceManager.getObjectById(oid,validate) - JDO Method

exist at that time . Further, if a relationship is established to this instance, then the transaction in