About name

forum_thread

JPA vs JDO - which is more efficient for OneToMany queries?

I'm curious about the trade offs between JDO and JPA. Seems to me that JDO will perform better and be statically typed. For example: Assume there are Customers and Orders. #1 2010-11-09 12:04 I'm curious about the trade offs between JDO and JPA. Seems to me that JDO will perform better and be statically ...

 
forum_thread

Unexpected NoSuchFieldError exception

Hi, suddenly running into a number of issues:   1) no-arg constructor (error 352) 2) java.lang.NoSuchFieldError: __odbTracker 3) Attempt to start a transaction while another transaction is running. In each case, I've found it difficult to figure out where to find the right documentation. Below is an example that has #1 and #2 together. #1 2017-02-24 02:45 Hi, suddenly running into a number of issues:   1) no-arg constructor (error 352) 2 ...

 
issue

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so:     @Index(members={"x","y"}) Then when I run the following query:     TypedQuery<Point> query = em.createQuery("SELECT p FROM Point p where p.x <= :x and p.y >= :y",         Point.class); I get the exception at the end.  I do not get an exception if I: Bug Version: 2.3.0 Priority: Normal Status: Fixed Replies: 3 Type:  Bug ...

 
forum_thread

Update Entity references if we change the type of an entity

Hello, we must change (extend) our entity model and therefor we convert the type of some entities. As example (like in the attached example): We have an EntityA that have a reference to an EntityB. #1 2017-03-17 09:34 Hello, we must change (extend) our entity model and therefor we convert the type of some entities. ...

 
issue

EOFException

Not sure if you'll be able to help with this but I've had an application get into a state where it cannot access anything from the database - queries fail with the following exception: Bug Version: 2.3.3 Priority: Critical Status: Fixed Replies: 2 Type:  Bug ...

 
forum_thread

Performance and memory usage of queries

Hello, we can't understand why the performance of queries is not the best and the execution requires so much memory. In the implementation of our UnitTests we have used "DELETE FROM Object" to delete the database. That did not work because we often get an "out of memory" exception. What's all done in the execution of queries? Why is so much memory is required, although from the application point of view, no object is loaded. #1 2015-03-10 09:22 Hello, we can't understand why the performance of queries is not the best and the execution requires ...

 
issue

Error in production. Failed to commit transaction: Unexpected database state: BTree -152 is not found

2014-06-16 11:52:26,684 ERROR cl.intelidata.servlet.Fact .respondeRut (122 ): Unexpected internal exception [ObjectDB 2.5.5] Unexpected exception (Error 990) Generated by OpenJDK 64-Bit Server VM 1.7.0_25 (on Linux 3.11.0-12-generic). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException Bug Version: 2.5.5 Priority: Normal Status: Active Replies: 1 Type:  Bug ...

 
forum_thread

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 able to query without datetime field in where clause, but with datetime in where clause doesn't return anything and not exception.   #1 2014-08-25 00:19 My entity class has a field of type java.time.LocalDateTime. I'm able to persist entities and I'm able to ...

 
issue

Page cache File handling produced an java.io.IOException: Negative seek offset

we get following exception when we execute a find() in a scenario, we can not readjust with an example.   Before the exception throws we get two outputs on std error: pos = -8192 length = 8192   The Exception: Bug Version: Priority: Critical Status: Fixed Replies: 9 Type:  Bug ...

 
issue

[ObjectDB 2.6.9] Unexpected exception (Error 990)

[2017-03-29 14:04:44 #1 client] [ObjectDB 2.6.9] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_121 (on Windows 8.1 6.3). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb.o.BYR.o(BYR.java:113) at com.objectdb.o.BYR.w(BYR.java:206) at com.objectdb.o.VUT.j(VUT.java:350) at com.objectdb.o.RST.C(RST.java:194) at com.objectdb.o.RTT.l(RTT.java:134) Bug Version: 2.5.6 Priority: High Status: Duplicate Replies: 6 Type:  Bug ...