ObjectDB Database Search

101-150 of 200 results

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 

Query filter comparing Dates

case. Working with dates could be very tricky due to time zones. In this specific test case ... ;// GregorianCalendar calendar = new GregorianCalendar(); All date and time values are stored in the database as time (e.g. in milliseconds) since 1.1.1970 UTC. For  TemporalType.DATE the hours

Pre-detach loading: retrieval by navigation not working in if statement

help me, as every time you inspect a variable it triggers loading of it, preventing discovery ... interpreter as well. Have you tried build time enhancement instead of using -javaagent? Please post relevant byte code after enhancement. support Support  Have you tried build time enhancement

ObjectDB is opening too many sockets

it instead of increasing system limits. We are using Ubuntu 18.04.5 LTS and after some time ... of time . java    17888  odb   14u  IPv6           ... indefinitely, but still I don't get, why some times it openes 70 sockets at once, and if I tried same

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code long time = System.currentTimeMillis(); m_EntityMgrFactory = Persistence ... (); LOGGER.info( String.format( "took [%d] ms", System.currentTimeMillis() - time ) ); Does exist any way

persisting object with long[][] arrays of array

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

jakarta.persistence.StoredProcedureQuery.setParameter(Parameter,Calendar,TemporalType)

. Deprecated: Newly-written code should use the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Query.setParameter(int,Date,TemporalType)

type. Deprecated: Newly-written code should use the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Query.setParameter(String,Calendar,TemporalType)

type. Deprecated: Newly-written code should use the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Query.setParameter(String,Date,TemporalType)

. Deprecated: Newly-written code should use the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Query.setParameter(int,Calendar,TemporalType)

is of incorrect type. Deprecated: Newly-written code should use the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.currentTime()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression currentTime() Create expression to return current time . Returns: expression for current time . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Query.setParameter(Parameter,Calendar,TemporalType)

should use the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.Query.setParameter(Parameter,Date,TemporalType)

the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.criteria.CriteriaBuilder.localTime()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression localTime() Create expression to return current local time . Returns: expression for current time . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.extract(TemporalField,Expression)

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 Returns: expression for the value of the extracted field. Since: Jakarta Persistence (JPA) 3.2

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

. In this case rerunning the project many times doesn't help at all. Problem: the number of entities ... class or a standalone class. Part- time solution: run the project twice after the modification ... , because sometimes it doesn't work, but you don't know. It's the second time when I encounter this bug in 2

Wrong data stored in date only fileds

Hi, we have an object with the following fields:   private Date startDateTime; // Time stamp: start of recording in local time zone private Date startDate; // Date: date part of startDateTime private Date startTime; // Time : time part of startDateTime @Basic(optional = false) @Temporal

Occasionally slow requests in load testing

response times from the DB, around 10 - 15 seconds. Looking at the DB server process with AppDynamics ... is large - execution time may also be much longer than 10-15 seconds. The other stack trace (com ... in some cases and is slow in others. Also, the slow response times occur in wide variety

jakarta.persistence.PessimisticLockException

may be thrown as part of an API call, a flush or at commit time . The current transaction, if one is active

jakarta.persistence.FlushModeType

COMMIT Flushing to occur at transaction commit. The provider may flush at other times , but is not

jakarta.persistence.LockTimeoutException

transaction rollback. This exception may be thrown as part of an API call, at, flush or at commit time

jakarta.persistence.EntityExistsException

the EntityExistsException or another PersistenceException may be thrown at flush or commit time . The current transaction

jakarta.persistence.criteria.LocalTimeField

of the day in 24-hour time , numbered from 0 to 23. Since: Jakarta Persistence (JPA) 1.0 MINUTE The minute

jakarta.persistence.QueryTimeoutException

the persistence provider when a query times out and only the statement is rolled back. The current

jakarta.persistence.OptimisticLockException

may be thrown as part of an API call, a flush or at commit time . The current transaction, if one is active

Mismatch client-server protocol prefix

:757) I checked multiple times if the versions match. They do. DB server version 2.6.2. Client ... checked the DB two times and installed the copy generated by the Doctor. It found no errors. We use ... . This method is called thousands of times a day by different daemons and webapps. It only fails in

TemporalType injection with Calendar using JPA

an embedded object as a primary key, which has time fields which I have annotated with TemporalType ... .foo.bar.jpa.enity.TimePeriod[ day, java.util.GregorianCalendar[ time =1306779283031,areFieldsSet=true ... .GregorianCalendar[ time =1306779283031,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util

Join performance in Objectdb

can predict the time for such counting? TIA gzdillon Lai Yang Now, after 2 hours ... AND e.page=p Anyway, this still doesn't justify execution time of hours. Since you didn't provide a test ... select count(e.id) from Page e 1 java.lang.Long: 161143 Time : 23.889999 JPQL select count(e.sUrl

First query takes 4+ minutes to complete

part of startDateTime private Date startTime; // Time : time part of startDateTime : private String ... for about 60 seconds. By this time a number of new records are already being added by one of the threads. Then we run one of the above query and time it until we get the result set of 50 records. To run

Soft Reference Object Cache Recommendation

; All seemed to be lost, but then I reloaded the webpage a few times and started another "Post Reply ... .  The attachment upload reported a failure again.  This time I captured a screenshot.  ... -XX:InitialHeapSize=2000M -XX:MaxHeapSize=2000M -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB= time

virtual servers and one file

and compare the response time . I don't know the data structure of the objectdb file to force access ... Server 2016. If only 1-2 people work with the software at the same time , everything runs as fast as you would expect. However, as soon as more than 3 people are working at the same time , database queries

Grouping by date()

Hi, For some time now we can use date and time function in queries to extract part of date time ...  in queries: DATE(ts) - Extracts the date part (year, month, day) as a Date instance. TIME (ts) - Extracts the time part (hour, minute, second, millisecond) as a Date instance. Please try

Auto Date for Creation and Update

these time /date fields in a JPA lifecycle event methods . support Support Hi, Using the proposed solution I ... and time when book author has been created. */ @Temporal(TemporalType.TIMESTAMP) private Timestamp created; /** * Adjusting the field to UTC date and time before being persisted. */ @PrePersist public

Homepage and forum nearly inaccessible

times I have up to 15 seconds waiting time for a request to complete. Sometimes it doesn't even load at all. Sometimes it happens to load fast, but most of the time it's slow or very slow. Buy proper ... Canada too - one or two second response time . Thank you ObjectDB for your quick fix

jakarta.persistence.EntityManagerFactory.createEntityManager()

Jakarta Persistence (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

jakarta.persistence.EntityManagerFactory.createEntityManager(Map)

Jakarta Persistence (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

jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType)

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

jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType,Map)

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

jakarta.persistence.FlushModeType.COMMIT

Jakarta Persistence (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: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.LocalDateTimeField.HOUR

Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalDateTimeField HOUR The hour of the day in 24-hour time , numbered from 0 to 23. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.LocalTimeField.HOUR

Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalTimeField HOUR The hour of the day in 24-hour time , numbered from 0 to 23. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.persist(Object)

another PersistenceException may be thrown at flush or commit time ). TransactionRequiredException

Freeze during save

.State: TIMED _WAITING at java.lang.Object.wait(Native Method) - waiting on (a [I) at com.sun.jmx ... : - None "Timer-1" - Thread t@27 java.lang.Thread.State: TIMED _WAITING at java.lang.Object.wait(Native ... .RolloverFileOutputStream" - Thread t@25 java.lang.Thread.State: TIMED _WAITING at java.lang.Object.wait

each 1-2 days objects on some objectdb level lock/block each other

ObjectDB version doesn't look related, it may be simply the exact timing in which each thread dump was  ... , the customer now urges to switch to another database. we try to agree on a bit more time ... time the system is obviously overloaded? ObjectDB uses less CPU than most DBMS but eventually in

missing merger

, at least for some time . In addition, please clarify what do you mean by "system is completely unusable" in ... special activity today at the time that these errors start please report.  We are using Java 17 ... ; support Support If there is any other clue regarding special activity today at the time

combined index not used

without executing it is guessing. Think of the progress bar and the evaluation of time remained ... the actual execution time of each query plan from the best evaluated to the worst evaluated ... with multiple JOIN operations with very slow execution time you may be able to manually select the best

java 8 LocalDateTime is not working in query

My entity class has a field of type java. time .LocalDateTime. I'm able to persist entities and I'm ...   but it's working fine: SELECT t FROM Test t Joe Joe Khan New Java 8 date/ time types are not ... how you can use Java 8 date/ time using @Convert , we may be able to add this support. support Support

Query fails with failed to read

2-3 times per day we have a query that fails with:   Failed to read from file 'F:\Hummingbird ... is thrown? Any other special activity at that time ? Please post a full stack trace of the exception (strange ... we have it now 5-10 times per day. There is not any backup activity active during these times . It always happens

Best practise loading big data

We have scenarios in which we open up to lots of different Db files at the same time , each ... , even if at some time the GC collects the unused entities. When reading further, the cache size and the number ... are freed or that from time to time . the cache is cleaned up. Our scenario uses just one open