ObjectDB Database Search

151-200 of 200 results

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

Lock prevents PersistenceManager.close when retainValues = false

: TIMED _WAITING at java.lang.Object.wait(Native Method) - waiting on (a java.util.TaskQueue) at java ... : - None "JMX server connection timeout 18" - Thread t@18 java.lang.Thread.State: TIMED _WAITING at java.lang ... synchronizers: - None "JMX client heartbeat 2" - Thread t@14 java.lang.Thread.State: TIMED _WAITING

Connection is closed Caused by: java.io.EOFException

I am getting this exception on a regular basis, after a period of time of repeating the same code ... again for another period of time until same exception is encountered again.  I cannot pin down a pattern e.g. after a certain period of time ,  because the time  periods between exceptions are not

Vacuum - Reclaiming Unused Space In Odb

.  Our odb files are about 50Gb in size and are written to about a million times a day ... you for this information.  We have executed the doctor a couple times on some larger database ... We are trying to optimize the database size due to the time it takes to perform an online backup

TimeSeries and ObjectDB

to the TimeSerie entity - I currently have to retrieve the whole timerserie since beginning of time ... . More generally: 1- is ObjectDB suitable for large time series? 2/ If so - any example would be helpful - on how to organise the data. Thanks  EKK     EKK Emmanuel Keskes ObjectDB can manage time

openejb jpa jaas module

.*; /** * Created with IntelliJ IDEA. * User: apple * Date: 31.01.2013 * Time : 06:01 * To change this template ... : apple * Date: 02.02.2013 * Time : 23:15 * To change this template use File | Settings | File Templates ... with IntelliJ IDEA. * User: apple * Date: 27.01.2013 * Time : 02:30 * To change this template use File

JDO sequences from ORM file

there, the XML validation failed at enhance time . How does it appear in the package.jdo file used ... circumstance, and doesn't work most of the time . It turns out that specifiying and retrieving the Sequence is only working, as above, when accessing an ObjectDB file for the first time . If I access

evictAll() behavior

me what to check br   Tomasz Tomasz Wozniak Hi i've changed enhacment from the load time to compile time ... more details about the load time enhancement that didn't work - did you use javaagent? which JVM ... I must give additional option?   To Enhance classes in load time i did sth like this com

Java 6/7 Performance Comparison

= System.currentTimeMillis(); System.out.printf("Load Time %s ms\n", (end-start)); Java 1.7.0_51-b13 (MacOS X) Output: Load Time 30629 ms Java 1.6.0_65 (MacOS X) Output: Load Time 329 ms Also see a similar execution time when closing the entity manager, however any operations once loaded appear

Out of memory

Support Something is really wrong with new build. First, every time I run Doctor or server, ODB ... .hplxtool.beans.InspirationServiceImpl.getLastModifiedInspirations(10) execution time : 214 ms 2012-09-20 ... .hplxtool.beans.ReportingServiceImpl.getProductQuantitiesPerInspiration() execution time : 612 ms 2012

InternalError on multiple AND and JOIN Query

- Will use the pattern time _example-%d{yyyy-MM-dd}.log for the active file 09:30:08,884 |-INFO in c.q.l ... file name pattern ' time _example-%d{yyyy-MM-dd}.log'. 09:30:08,884 |-INFO in c.q.l.core.rolling ... .RollingFileAppender[TIMEBASED_ROLLING_APPENDER] - Active log file name: time _example.log 09:30:08,908

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 ... requests sent to master after this time have failed with the same exception. 13:25:59 - the slave

Filename.odb$ Persisting Issue

is terminated with System.exit . support Support Sorry for the delay in response time - been busy ... time , stopping the program, and modifying code for extended time and all variations in between ... IDE. Each time the application is terminated it is done so by using the 'X' on the window produced

Level 2 cache not hit in @ManyToOne

"user". "user" is loaded each time from the DB (tested by changing data in explorer and reading in ... each time , even though user 5 has been previously loaded by find by id and its class is @Cacheable. Shouldn't just 6 and 7 be returned fresh (the first time , then loaded from L2 Cache each time )? I

General Performance Issues Illustrated with a Specific Method

.phsp.pojcs.Identifiable; import org.joda. time .LocalDate; import org.joda. time .Period; import org.joda. time .PeriodType; /** * * @author Dr. M. H. B. Ariyaratne, MBBS, PGIM Trainee for MSc(Biomedical ... to get the results in milliseconds rather than 3 seconds" was that the execution time should be much faster

JRebel integration feature

.' The JRebel technology is helping to save me months of development time per year, and it helps avoid ... and other ObjectDB enhancement techniques, just javaagent, compile time enhancement may offer a way ahead ... , for the first time in years (I had tried JRebel many times before but the clashes with ObjectDB

Optimization Question

of data objects called tracks. These tracks change very frequently over time (every 10-15 seconds ... more embedded objects whenever possible. Delaying the delete operations to time with less or no activity ... together and they get persisted to the database in the wrong order causing a period of time where the current set

Pessimestic Locking doesn't release when application unexpectedly terminates.

with expiration time . For example, if you know that transactions that need that specific lock take no more than 1-2 seconds to complete, then setting an expiration time of 5 seconds should be safe ... ), the locking time will still be short. We can add support of either expiration time for locks, or

Failed to synchronize replicated database

state as some basepoint (which is also taking quite lot of time on bigger files ... , but need to keep them separately. And I think, that we would need to truncate transaction files time to time .  Allowing it on runtime by replying transactions to the last basepoint

Calendar in Criteria Querys

temporal types: java.sql.Date - representing date with no time . java.sql. Time - representing time with no date. java.sql.Timestamp - representing both data and time . If possible, you should use these types

OutofMemory error with Object DB 2.0

 odb file and inserts 200 records at a time . The transaction obtained from the PersistentManager ... the same issue. Also if I close the PersistenceManager every time I commit a transaction and open new ... . If you think there is a change in the situation, I will have to arrange heap dump upload(last time

Index causes increased memory usage

_ of database adds over a great period of time , and occasional querying.  No record in our database ... the most CPU time and spotted these after letting it collect data for about 20 minutes: com.objectdb.o.SFL ... being cleared out at all, and our memory profile rises steadily throughout run- time . This climb is exacerbated

Unexpected exception during open the database

, if the database is opened again for a longer time . Is that the case? btc_es BTC EmbeddedSystems ... is automatically rebuild, if the database is opened again for a longer time . Is that the case? Yes ... of it and a few other things that would otherise cause serious issues. At the same time , it looks like adding

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

: I discovered to my horror (using Java decompilers and .class file time stamp checks ... enhanced -  they are indeed enhanced (as one can prove using time -stamp checks and the decompiler ... operations. I checked the timestamp of the enhanced entity classes, and they are time -stamped

Query perfromance problem

some strange behavior from ODB. First of all, I will show you results from page rendering times , but trust me - when debugging application, getting data from ODB takes a long time in one case ... for index with @Index set on it, lowers this time do 1-3 secodns. 2011-03-11 13:08:30.897 [http-18080

EntityManager.find(entityClass, primaryKey) is slow when accessing non-existent IDs

Is this problem solvable? --- package debug; import static java.lang.System.out; import static java. time .Duration.between; import static java. time .Instant.now; import static javax.persistence.Persistence.createEntityManagerFactory; import java.io.File; import java. time .Duration; import java. time

Integration

the new ObjectDB build load time weaving (enhancement) by Spring is currently disabled ... know i'm not using loadtime weaving but compile time weaving with aspectj) anyway, i got a spring roo with gwt sample running (something is still wrong but i will delve deeper when i find time

JPA - ExceptionInInitializerError when creating EntityManager

error codes of line:- /**      * SHIFT SLOT TIME ALLOWED AFTER WHICH SHIFT WILL BE APPLICABLE. Time in If      * any error occurred for getting this value from CLMS ... ;         SHIFT_SLOT = 40; //Take default Time Slot as 40-minutes

Selective merge/cascade of detatched entity

is an unusual one, in that it keeps all objects in memory at all times , in a Detached state (I realise ... with application logic before being committed to the database, so a commit will never fail. Any time ... of targets for each Company, this merge takes a significant amount of time . What I would Ideally like

@ElementCollection Set is emptied sometimes

Hi! I'm facing a really strange behavior, which I can't yet reproduce, but it happened 3-4 times ... while schema changes, but not all the times . The interesting part is that most of the times , schema ... the behavior a couple of times , then I added @ElementCollection and it seemed to don't happen anymore

Database is erased after deploying a new web application version

within Tomcat and uses ObjectDB. Each time I upload a new version of the web ... ;           TIME CMD 20256   pts/0    00:00:00 bash 20928 ... ;         TIME CMD 24450     ?      00:07:21

query on calendar class

'}? The only solution is keep time and date i other fields and do that same wiht DAY_OF_WEEK? Solek Henryk ... .Timestamp, java.util.Date with @Temporal(TemporalType.DATE), @Temporal(TemporalType. TIME ... all the date/ time types support the same functionality. If you still have issues with working

Speeding up reporting queries with size() on list

Inspiration entities in database right now. With 'cold' db file execution time of this query is between 1.9 sec and 2.8 sec. On 'hot' db file  without query result in cache, execution time is between 500ms and 1.2 sec. The same query without counting products runs in 15-30ms each time . My question

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

Server out of memory exceptions

. There shouldn't be more than 12 threads accessing the server at anyone time - if you're seeing ... the thread list on each iteration so you're right - the number of threads is growing each time I've changed ... play at any one time . I've run the test with -Xms256m -Xmx512m and the server with -Xms256m -Xmx256m

ObjectDB 2.6.5

property method names . Fixed a bug in retrieving pure time values (java.sql. Time ). Fixed a bug in MEMBER ... request #1658 ). Fixed a bug in persisting dates ( TemporalType.DATE ) based on time close to clock change . Fixed a bug in indexing java.sql.Date fields during time / time zone change . Fixed a bug in detachment of embedded objects ( if enabled ).

Exception makes the system unusable for several minutes

this exception occurs around 2 times a week:   [ObjectDB 2.7.6] Unexpected exception (Error ... the exception is expected to be thrown immediately. If you see the same exception repeating many times in a short time , maybe this is caused by repeating the failed operation many times (automatically or

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

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times : [2013-08-23 ... shows up a number of times , and today at 10:14 AM PDT we started getting the mismatch client-server ... time (I think 2 years?) without these issues, two possible factors may be relevant: Your move from

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

hours of my time . Please attend to this as soon as possible and fix this carefully. I look forward ... , initialization of collections, etc. - because extra operations take extra time and ObjectDB is selected by ... the application programmer has to do it with his/her hands in tedious code each time .   webel

retrieval again and again started

period of time . This happens in all versions   hgzpincher Hans-Georg Zwicker The problem ... on this issue) is shown (log #127), but that also happens at the same time of a query execution ... seconds timeout set. At the times when the timeout happens the system is very slow hgzpincher Hans

NullPointerException in __odbGetNumMember

, But how can that be because we're talking of the same class type.. the one that works at the first time but fails the second time and works third time again so I would doubt