ObjectDB Database Search

1-50 of 60 results

Date and Time in JPQL and Criteria Queries

, HOUR , MINUTE and SECOND . For example: YEAR({d '2011-12-31'}) is evaluated to 2011 . MONTH({d ... '}) is evaluated to 23 . MINUTE ({t '23:59:00'}) is evaluated to 59 . SECOND({t '23:59:00'}) is evaluated ... that extract time parts: Expression hour = cb. function ("hour", Integer.class, time); Expression minute

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

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

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

JPA - ExceptionInInitializerError when creating EntityManager

S/w then set it's      * default value as 40 minutes . Minutes     ... ;     Object minutes = em.createNativeQuery("SELECT AttendanceSettings.Value ... ; if ( minutes != null && minutes instanceof String)           

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

Master database switching to read-only mode, possibly caused by slave failure

of events was: 13:20 - our monitoring reported GC time per minute on the SLAVE instance over 30 seconds. The GC time on the slave instance continued to grow rapidly until it reached almost 1 minute per minute , at which point the process is essentially hanging - see attached screenshot. 13:22:43 - 13

Occasionally slow requests in load testing

response incidents. The system seems to destabilize for about 10-15 minutes and then it returns to normal. During these 10-15 minutes we get a lot of slow responses. Not all of the requests ... a high load - around 25000 calls to the db per minute . This includes variety of read and update

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

Feature Request for database.obj$ file

is 3 minutes per default. which leads me to the next question: b) is there a way to automaticly force ... down and sometimes it even takes longer than 3 minutes .We could avoid this if a flush of a database.obj$ file is possible ... for hours.  sometimes it even takes longer than 3 minutes . That seems unusual and may require

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

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

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);  

Empty temporary dat files in the temp folder

" operation was completed more than 2 minutes ago. support Support Thank you, the patch (2.6.8_08) solve the problem.   And also many thanks for the description of the '2 minutes ' clean

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

JRebel integration feature

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

Memory Leak?

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

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

One transaction or two?

two to three hundred times per minute often times with several threads executing in parallel each

slow performance for a complex query

minutes on a small database (about 10000 Organisations and same amount of CDIs

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

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

Index causes increased memory usage

the most CPU time and spotted these after letting it collect data for about 20 minutes : com.objectdb.o.SFL

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

100% CPU when using multiple BETWEEN

never complets, however, the Java thread that runs the query eventually (after 18 minutes or so on DB

ODB should auto-restart if it detects it's necessary

into a class, then renaming it after a few minutes : com.objectdb.o._PersistenceException: Failed

Unable to run NetBeans/JPA Web Application Tutorial

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

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

Queries are slow on a large database

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

A few questions on object database design

, since we would be looking at persisting data from the server every minute or two per player

Date field Index is corrupted due to time change

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

Wrong data stored in time only fields

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

[ODB1] Chapter 3 - Persistent Classes

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

stress test -> com.objectdb.o.InternalException: null

, but they are relatively light, and the db has just a few MB at the moment. After a few minutes I got this exception ... put on the server through jMeter. If the load is relatively low, the errors start to appear after some minutes ... out of memory in ~20 minutes . With a heap of 512 MB, in around 240 min (4 hours). Both cases

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

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

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

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

NullPointerException when using multithreading

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

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

Online Backup degrades responsiveness.

during the end of the backup process.  e.g. The Backup usually takes about 5 minutes .  When the "DB Backup Start..." starts, 2-3 minutes after I would have lots of players drop off and my server

ObjectDB 2.2.9

Added new configuration to enable / disable auto serialization of non persistable types (now disabled by default). Added support of date methods ( YEAR , MONTH , DAY , HOUR , MINUTE , SECOND ). Added support of  bypassing no arg constructors  of entity classes . Added support of using

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

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