Internal Website Search
101-150 of 200 resultsQuery 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;   | |
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 | |
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 | |
@ElementCollection Set | |
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 | |
javax.persistence.FlushModeType.COMMIT JPA Enum Constant in javax.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 | |
javax.persistence.EntityExistsException may be thrown at flush or commit time . The current transaction, if one is active and the persistence | |
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 | |
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 | |
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 | |
Transaction.setOptimistic(optimistic) - JDO Method JDO Method in javax.jdo.Transaction void setOptimistic ( boolean optimistic ) Optimistic transactions do not hold data store locks until commit time . If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters: optimistic - the value of the Optimistic flag. Since: JDO 1.0 | |
Transaction.getOptimistic() - JDO Method JDO Method in javax.jdo.Transaction boolean getOptimistic () Optimistic transactions do not hold data store locks until commit time . Return: the value of the Optimistic property. Since: JDO 1.0 | |
Transaction.getRetainValues() - JDO Method JDO Method in javax.jdo.Transaction boolean getRetainValues () If true , at commit time instances retain their field values. Return: the value of the retainValues property Since: JDO 1.0 | |
Query.setResultClass(cls) - JDO Method BigDecimal; or the java.util class Date; or one of the java.sql classes Date, Time , or Timestamp; or | |
javax.jdo.spi.JDOImplHelper-capable classes register themselves via a static method at class load time . There is no security | |
Query.setIgnoreCache(ignoreCache) - JDO Method the cache. For optimistic transactions, this can dramatically improve query response times | |
PersistenceManager.getObjectById(oid,validate) - JDO Method exist at that time . Further, if a relationship is established to this instance, then the transaction in | |
PersistenceManager.makePersistent(pc) - JDO Method). But at commit time , the reachability algorithm is run again, and instances made provisionally |