ObjectDB Database Search

1-50 of 60 results

jakarta.persistence.criteria.LocalDateTimeField.MINUTE

Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalDateTimeField MINUTE The minute of the hour, numbered from 0 to 59. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.LocalTimeField.MINUTE

Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalTimeField MINUTE The minute of the hour, numbered from 0 to 59. Since: Jakarta Persistence (JPA) 1.0

Date and Time in JPQL and Criteria Queries

, MONTH , DAY , HOUR , MINUTE , and SECOND parts from a date or time value. For example: YEAR({d '2011 ... ({t '23:59:00'}) returns 23 . MINUTE ({t '23:59:00'}) returns 59 . SECOND({t '23:59:00'}) returns 0 ... ", Integer.class, time); Expression minute = cb. function (" minute ", Integer.class, time); Expression second = cb. function ("second", Integer.class, ts);

How to add minutes to a Date with JPA2

Hi,  I have to sum to a date of minutes , and check the date obtained is greater than the current date. My idea is as follows: Calendar currentTime = Calendar.getInstance(); Date currenteDate ... ); // minutes to be added I must now sum to the dateCapture the delayMinute and verify that the current date

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first ... combinations). This query takes more than 2 minutes to complete on average when run for the first time

java.sql.Time field off by 30 minutes

Hihi, I'm wondering if this is a bug. I have a simple entity with java.sql.Time field. On writing and readback, the field is found to be 30 minutes off. It is observed on objectdb explorer as well. Timestamp works perfectly fine. Ps. dont think its a UTC issue. My system is set at far off UTC

JPA Criteria Query Date/Time Extraction

, and  java.sql.Time ), including HOUR , MINUTE , and SECOND . Defines component types applicable

ObjectDB - JPA Object Database for Java

, and in minutes you will be able to run your first Java and JPA database driven application in Eclipse

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 ... of the minute , numbered from 0 to 59, including a fractional part representing fractions of a second

jakarta.persistence.criteria.LocalDateTimeField

, numbered from 0 to 23. Since: Jakarta Persistence (JPA) 1.0 MINUTE The minute of the hour, numbered from ... . Since: Jakarta Persistence (JPA) 1.0 SECOND The second of the minute , numbered from 0 to 59, including

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

Exception makes the system unusable for several minutes

corrupted objects. However, it is unclear why this makes the system unusable for several minutes , as

jakarta.persistence.criteria.LocalDateTimeField.SECOND

Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalDateTimeField SECOND The second of the minute , numbered from 0 to 59, including a fractional part representing fractions of a second Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.LocalTimeField.SECOND

Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalTimeField SECOND The second of the minute , numbered from 0 to 59, including a fractional part representing fractions of a second Since: Jakarta Persistence (JPA) 1.0

TemporalType injection with Calendar using JPA

,HOUR_OF_DAY=19, MINUTE =14,SECOND=43,MILLISECOND=31,ZONE_OFFSET=0,DST_OFFSET=3600000], java.util ... ,DAY_OF_WEEK=2,DAY_OF_WEEK_IN_MONTH=5,AM_PM=1,HOUR=7,HOUR_OF_DAY=19, MINUTE =14,SECOND=43,MILLISECOND ... _OF_YEAR=150,DAY_OF_WEEK=2,DAY_OF_WEEK_IN_MONTH=5,AM_PM=1,HOUR=7,HOUR_OF_DAY=19, MINUTE =14,SECOND=43

Unexpected exception during open the database

? support Support The issue also occurs, if we wait 10 minutes before we close the database ... .   btc_es BTC EmbeddedSystems The issue also occurs, if we wait 10 minutes before we close the database. Could please clarify if in this case the exception is also thrown after 10 minutes

ObjectDB is opening too many sockets

about minute , so I will try to create java thread dump during that. [pid 26650] 02:48:00.246356 socket ... , created cuple of threads and started creating sockets in some loop. This took about minute , so I will try ... was started for 4 minutes and idle. I saw 40 instances of SSLSocketImpl in heap dump

java.sql.Date equals comparison not working with CriteriaAPI

. MINUTE , 0);         cal.set(Calendar.SECOND, 0);    ... (Calendar.HOUR_OF_DAY, 0);         cal.set(Calendar. MINUTE , 0);  

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

number is printed. There is a 1 minute delay set. The same as 1, but keep ObjectDB's connection open ... again. Important: do all that until a new number is printed. There is a 1 minute delay set. The same as 1

Group by date / time

, DAY , HOUR , MINUTE , SECOND ) was just added to ObjectDB in build 2.2.8_02. For example ... ;     "HOUR(e.t), MINUTE (e.t), SECOND(e.t) FROM MyEntity e",    

Grouping by date()

'}) is evaluated to 12. DAY({d '2011-12-31'}) is evaluated to 31. HOUR({t '23:59:00'}) is evaluated to 23. MINUTE ... ) - Extracts the time part (hour, minute , second, millisecond) as a Date instance. Please try

Slow searching with two indexes

) extremely fast, but when I also query using the other key, queries can take minutes .  Looking ... up this querying?  Taking minutes is not acceptable. sjzlondon Steve Zara Could you please post

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) I desire to have my persistent objects be cached until the Java Virtual Machine (JVM) does a full Garbage Collection (GC

impossible to drop a table with 50 million objects

when trying to execute in explorer (max heap size 1GByte) delete from LogEntry l it comes up with a Java heap error after 20 minutes of executing. How to empty such a table ?     hgzwicker Hans-Georg Zwicker This may be because the transaction size is limited by the heap size

JRebel integration feature

for full redeployment of large web applications that take many minutes to fully redeploy. (No, this is not an ad

virtual servers and one file

Kocks Here the same, a few minutes later. 6,6GB Maybe a problem with GC? Thanks in advance Priiiiil

Repeated long Index Activation

We are for a some time using joining the thread ODB-IndexActivation to prevent issues when accessing database without the index been ready. Original Thread: https://www.objectdb.com/forum/2401 Now we've run into issue, that in some database the Index rebuild takes a lot of time (e.g. 20 minutes

Finance data from SQL Server into ObjectDB daily

). Code is straight forward, and attached - it was written in about 3 minutes so please disregard the 'in

Date field Index is corrupted due to time change

;  calendar.set(Calendar. MINUTE , 0);         calendar.set

Queries are slow on a large database

query needs 4 to 5 minutes to return a result. I have been adviced to use indexes

Memory Leak?

10: 335544 24159168 com.objectdb.o.QRQ Here is the jmap at time1 + 1 minute : num #instances #bytes

Significant I/O costs during batch update or insert data.

Our application has some complex entities. We do batch update(merge detached entity) every 2 minutes . We find the period significant IO costs these days, and disappeared when turn off the batch updating. 1.ObjectDB is in embedded mode. 2.ObjectDB version is 2.3.7 3.Database file size is nearly

Query filter comparing Dates

, minutes , seconds, and milliseconds are 0, but relative to UTC. Therefore, the parameter to the query

URGENCY, or in query does not report any objects on first operand having no results

, we are currently downloading the DB and will share it in some minutes hgzpincher Hans-Georg Zwicker https://www

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

am executing the different query for 7 times and total execution time is approx 3 minutes , which is highly

best practice for DB recovery

for more than a few minutes and have to be fixed promptly. So it comes down to how can I have a hot

Homepage and forum nearly inaccessible

Homepage and forum nearly inaccessible from France/Germany, takes minutes to react. hgzwicker Hans-Georg Zwicker I'm guessing that the cause of the page delays is already known, but as an additional data point I'm experiencing a 15 or so second delay here in Canada where  a second

Unable to run NetBeans/JPA Web Application Tutorial

. BUILD FAILED (total time: 2 minutes 13 seconds)   Hoping somebody can help! Thank You! pryashrma

[ODB1] Chapter 3 - Persistent Classes

minute changes to persistent fields in the object just before the store. void jdoPreClear() Called

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

details about the number and types of transactions per minute when the system is on load?   ... to time that a query that normally takes a second does take minutes hgzwicker Hans-Georg Zwicker The first ... ), details about activity (number of concurrent users, queries by type per minute , new objects

Best practise loading big data

needs less than 2 minutes to read a million values - now as before with different cache settings and enhanced classes it takes more than 8 minutes . This I would have not expected - normally enhancement ... less than 2 minutes to read a million values - now as before with different cache settings

missing merger

to the current database (will take some more minutes until available https://www.dropbox.com/scl/fi ... your stress test? yes, we prepare that, needs some minutes hgzpincher Hans-Georg Zwicker If there is a way ... minutes , sometimes after 2-3 hours hgzpincher Hans-Georg Zwicker now, just running our application

combined index not used

(); } It may take some time for this process to complete (about 20-30 minutes on your sample database ... ))   version 2.8.3 query plan (query takes minutes ): Query plan 1/16 description

NullPointerException when using multithreading

;threadPoolExecutor.awaitTermination(3, TimeUnit. MINUTES );     factory.close(); After 3 minutes the EntityManagerFactory is closed with all its EntityManager instances

Query on primary key is slow when using 'IN'

equalities to IN, the query suddenly takes 2.5 minutes : SELECT FROM ProductVariantStoreData d WHERE d ... = '1205450' AND FALSE This query will obviously not find anything, but it still takes 2 minutes to complete

Server out of memory exceptions

though!) The test dies after a few minutes of running. I've attached the code, the multithreaded unit test library ... and then more threads are run (i.e. 60 threads after about 2 minutes ). Each thread manages

queries under 2.7.6_4 significantly slower than under 2.7.6

(); em.close(); emf.close(); } It may take some time for this process to complete (about 20-30 minutes

ArrayIndexOutOfBoundsException: -1

, sometimes it will run for a couple of minutes - so is most likely connected to the multiple threads. I

ObjectDB can't be activated

problem. Anyway, I see an activation now from a few minutes ago. The result activation code

Blocked by find

the test seems to grid to a halt - it needs to run for about a minute to get to this state. In