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 

AnnotationRef jakarta.persistence.Basic

. time .LocalDate , java. time .LocalTime , java. time .LocalDateTime , java. time .OffsetTime , java. time .OffsetDateTime , java. time .Instant , or java. time .Year java.util.Date or java.util.Calendar , java.sql.Date , java.sql. Time , or java.sql.Timestamp , byte[] or Byte[] , char[] or Character[] , a Java enum

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder

currentTime () Create expression to return current time . Return: expression for current time ... the value of a field extracted from a date, time , or datetime. Parameters: field - a temporal field type temporal - a date, time , or datetime Return: expression for the value of the extracted field

InterfaceRef jakarta.persistence.EntityManagerFactory

persistence unit: // create a factory at initialization time static final EntityManagerFactory ... . This method returns a new EntityManager instance each time it is invoked. The EntityManager.isOpen method ... property settings. This method returns a new EntityManager instance each time it is invoked

AnnotationAttrRef jakarta.persistence.Column.secondPrecision

) The number of decimal digits to use for storing fractional seconds in a SQL time or timestamp column. Applies only to columns of time or timestamp type. The default value -1 indicates that fractional seconds should not be stored in a time column, or that the maximum number of digits supported by

AnnotationRef jakarta.persistence.Column

seconds in a SQL time or timestamp column. Applies only to columns of time or timestamp type. The default value -1 indicates that fractional seconds should not be stored in a time column, or

ClassRef jakarta.persistence.criteria.LocalDateTimeField

The hour of the day in 24-hour time , numbered from 0 to 23. Since: JPA 3.2 MINUTE The minute of the hour ... Since: JPA 3.2 TIME The plain part of a datetime. Since: JPA 3.2 WEEK The ISO-8601 week number. Since: JPA 3.2 YEAR The calendar year. Since: JPA 3.2

EnumRef jakarta.persistence.TemporalType

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

InterfaceRef jakarta.persistence.EntityManager

during a process called flush . The timing of the flush process depends on the plain ... PersistenceException} may be thrown at flush or commit time ) IllegalArgumentException - if the given instance

CriteriaBuilder.extract(field,temporal) - JPA Method

that returns the value of a field extracted from a date, time , or datetime. Parameters: field - a temporal field type temporal - a date, time , or datetime Return: expression for the value of the extracted field Since: JPA 3.2

CriteriaBuilder.localTime() - JPA Method

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

AnnotationRef jakarta.persistence.Version

, java. time .Instant , java. time .LocalDateTime . This field declares a version number: {@snippet

AnnotationRef jakarta.persistence.Enumerated

; otherwise, the enumerated type is taken to be EnumType.ORDINAL . Example: public enum EmployeeStatus {FULL_ TIME , PART_ TIME , CONTRACT} public enum SalaryRate {JUNIOR, SENIOR, MANAGER, EXECUTIVE

InterfaceRef jakarta.persistence.criteria.TemporalField

JPA Interface TemporalField Type Parameters: - the resulting type of the extracted value - the temporal type (date, time , or datetime) Each instance represents a type of field which can be extracted from a date, time , or datetime. See Also: LocalDateField LocalTimeField LocalDateTimeField CriteriaBuilder.extract Since: JPA 3.2

CriteriaBuilder.currentTime() - JPA Method

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

FieldRef jakarta.persistence.criteria.LocalDateTimeField.HOUR

JPA Static Field in jakarta.persistence.criteria.LocalDateTimeField HOUR The hour of the day in 24-hour time , numbered from 0 to 23. Since: JPA 3.2

ClassRef jakarta.persistence.LockTimeoutException

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

ClassRef jakarta.persistence.PessimisticLockException

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

EntityManagerFactory.createEntityManager() - JPA Method

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

EntityManagerFactory.createEntityManager(synchronizationType,map) - JPA Method

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

ClassRef jakarta.persistence.OptimisticLockException

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

EntityManagerFactory.createEntityManager(synchronizationType) - JPA Method

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

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

EntityExistsException} or another {@code PersistenceException} may be thrown at flush or commit time

ClassRef jakarta.persistence.QueryTimeoutException

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

EnumRef jakarta.persistence.FlushModeType

at other times , but is not required to. Since: JPA 1.0 Public Static Enum Methods: Method inherited

InterfaceRef jakarta.persistence.spi.PersistenceProviderResolver

JPA Interface PersistenceProviderResolver Provides a list of plain available in the runtime environment. Implementations must be thread-safe. Note that the getPersistenceProviders method can potentially be called many times : it is recommended that the implementation of this method make use

EnumConstRef jakarta.persistence.FlushModeType.COMMIT

JPA Enum Constant in jakarta.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

InterfaceRef jakarta.persistence.spi.PersistenceUnitInfo

: transformer - provider-supplied transformer that the container invokes at class-(re)definition time

ClassRef jakarta.persistence.criteria.LocalTimeField

time , numbered from 0 to 23. Since: JPA 3.2 MINUTE The minute of the hour, numbered from 0 to 59

FieldRef jakarta.persistence.criteria.LocalTimeField.HOUR

JPA Static Field in jakarta.persistence.criteria.LocalTimeField HOUR The hour of the day in 24-hour time , numbered from 0 to 23. Since: JPA 3.2

PersistenceUnitInfo.addTransformer(transformer) - JPA Method

- provider-supplied transformer that the container invokes at class-(re)definition time Since: JPA 1.0

EntityManagerFactory.createEntityManager(synchronizationType,map) - JPA Method

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

EntityManagerFactory.createEntityManager(map) - JPA Method

JPA Method in jakarta.persistence.EntityManagerFactory EntityManager createEntityManager (   Map  map ) Create a new application-managed EntityManager with the given Map specifying property settings. This method returns a new EntityManager instance each time it is invoked