About files

issue

UnexpectedException on query

Hi, I'm getting the following exception when trying to query an Entity type by id using googlecode generic dao.   Bug Version: 1.04 Priority: Normal Status: Fixed Replies: 2 Type:  Bug ...

 
forum_thread

Spring Data JPA

Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception when the context starts. #1 2012-05-26 22:55 Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception when the context star ...

 
issue

Eager load Map

I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok. The attached code attempts to replicate the scenario. Its not an exact match but is the best I could come up with without replicating the whole system. The test creates an object, persists it to a db and re-loads it. The EntityManager is closed before accesing any fields. Finally the nested map is accessed and printed to screen. Bug Version: Priority: Normal Status: Fixed Replies: 7 Type:  Bug ...

 
issue

NullPointerException in __odbGetNumMember

Hi,   hi, When deleting an entity "Mitglied" -> everything works fine. Trying to delete another one (in a separate transaction) always causes a NullPointer Exception in __odbGetNumMember line 1 of the enhanced Mitglied class. I am unable to replicate it in a simple testcase but it always happens in our implementation. I am posting the stack trace in the hope that it'll help to figure what's going wrong: Bug Version: 2.3.6 Priority: Normal Status: Closed Replies: 6 Type:  Bug ...

 
issue

[ObjectDB 2.4.1] Unexpected exception (Error 990)

Hi, getting this unexpected exception, would welcome advice: Bug Version: 2.4.1 Priority: Normal Status: Fixed Replies: 2 Type:  Bug ...

 
forum_thread

Persist error @ManyToMany how to define correct entities relationships

I have Product entities containing a list of Category enties. Each product can have multiple Category but all sue the same limited set of Category entities. There is not changes made to Category from Product. The category ID is taken from the webservice Object ID (unique too). #1 2017-01-29 18:06 I have Product entities containing a list of Category enties. Each product can have multiple Category but they ar ...

 
forum_thread

Help with 'not like/lower' query

Hi again,   Honestly, I'm fairly new with JPA2 Criteria queries - but as far as code effort goes, it has saved me a bit of pain. I'm writing a dynamic query builder (only 1 level deep for basic entities) - but  even though I get most queries to work, I am getting the following error. This is using Criteria with a combination of LOWER/UPPER - NOT LIKE: #1 2011-06-28 16:05 Hi all,   Honestly, I'm fairly new with JPA2 Criteria queries - but as far as code effort goes, ...

 
forum_thread

Possible issue with timestamps

Hi, If I query doing something like: select c from CDI c where c.creationDate > {ts '2012-03-29 11:00:00} and c.creationDate < {ts '2012-03-29 12:00:00'} the test fails. Its ONLY for 12:00:00. When I started digging I found that if I queried 00:00:00 to 00:25:00 and then did 12:00:00 to 12:25:00 I got IDENTICAL results. For some reason 12:00:00 is being treated the same as 00:00:00. All other hours seem to be fine. #1 2012-03-29 05:07 Hi, If I query doing something like: select c from CDI c where c.creationDate > {ts '2012-03-29 11 ...

 
forum_thread

Mapped By Fetch is very Slow

Well ! I think i pointed out a HUGE performance issue with mapped-by attribute (yeah again :( ). Here is the test case : 1- Create 100 000 entities with for each 1 entity with @OneToOne(mappedBy attribute) 2- Retrieve only 10 000 for testing 3- Wait ... On my AMD FX 8350, it took 60s Now, go the MyEntity class and remove "mapped-by". You obtain 1 second max of query fetch. #1 2015-06-19 11:05 Well ! I think i pointed out a HUGE performance issue with mapped-by attribute (yeah again :( ). Here is ...

 
issue

Error reading UTF string (Serialized Objects in Explorer)

This is the message I get for attached db and this query: Bug Version: 2.3.6 Priority: Normal Status: Fixed Replies: 6 Type:  Bug ...