About like

forum_thread

Maven driven compile time ehnancement

Hi,    Just thought I'd share a small bit of Maven config to aid in enhancing persistent classes during compile time. Just add the following to your pom.xml: ... a 'mvn clean compile' you should see something like the following (after the compile has completed): [ INFO ... For some reason, the example doesn't like 'guest.GuestListener'. I get the error: [ ObjectDB ...

 
forum_thread

Configuration and Activation Code in ObjectDB 2.x

Hi ,   I would like to update the ObjectDB from 1.0 to 2.3.7_25. I used the License key for activating the odbee.jar file and got the activation code.It is mentioned in the side that i need to use the activation code using <activation> tag in the objectdb.conf file. In 1.x objectDB, we are not using any objectDB.conf file, we are just using setProperty method to set the different property e.g. properties.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); ... Hi, I would like to update the ObjectDB from 1.0 to 2.3.7_25. I used the License key for ... Hi, Thanks for the reply. I would like to pack the objectdb.conf file in my own jar file e.g. application.jar. In ...

 
forum_thread

Insert time increases as db grows.

Hello, ... and done some tests. I'm inserting 22k of records like 10k iterations of 22 linked entites. I've got indexes on Long id on ... just set enhancer as javaagent and everything worked like a charm: the execution time of test now is around 2 seconds. Thanks for ...

 
release

2.3.0

... it in the database. Fixed a bug in using LIKE in AND/OR in criteria queries . Fixed a bug in AND/OR ...

 
forum_thread

ORDER BY problem, when String starts with language specific character

Dear all, I have a problem with ORDER BY clause. I have a simple query: select u from User u order by u.name When the name starts with "normal/english" character, records are ordered correctly. But when it starts with language specific character like 'Č', these records are placed after records with normal charaters. So records with 'Č' are after 'Z', but this is not correct, because 'Č' is between 'C' and 'D'. ... But when it starts with language specific character like 'Č', these records are placed after records with normal ... . NFD ) How should the correct query look like? Michael   ...

 
forum_thread

persisting object with long[][] arrays of array

Hi, I have an object I am trying to persist (java) - It has several fields of type long[][]. It is taking very long to persist and sometimes never finish - it hangs on getTransaction().commit(); Here is the object: ... of data saved is exactly the same - So it looks like there is something ObjectDb (2.7.1) does not like about arrays of arrays. Thanks EKK   ...

 
forum_thread

Optimization of Map Queries

hi! I am having loads and loads of occurrences of something like ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someProperty ... ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someOtherProperty .. ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someMoreProperties I need to use full qualified names for casting as well as for the map keys because same entity simple names may occur multiple times. Now I've got two questions: ... I am having loads and loads of occurrences of something like ( ( com . test . MyEntity ) $1 . map . ... Hi, How would such a join variable look like? And how to create it using criteria api? We do have heavy usage ...

 
forum_thread

how explorer queries work

i'm curious as to how the explorer is able to execute queries when its obviously not aware of the object model that i built. the reason is because i have an application where i want to be able to execute somewhat generalized queries and i won't know what classes are in the object model ahead of time. this is especially curious to me in client-server mode since the .jar with the object model classes is on the server side, not the client side where explorer is running. ... entities. (obviously the explorer must be doing something like this; correct me if i'm wrong.) is this part of the public interface ... ( ) ; throws an exception like this: ...

 
forum_thread

Possible issue with String fields

Hi I'm brand new to objectdb and I'm trying to create an objectdb from a sample db via jdbc. The code all works and for a few thousand records but when I increase the number of records I get the following " ... out fine. I tried replacing the jdbc field with something like booking.external_booking_ref = "TEST SdsfdfgdfgdfgdgdfTR "; and it still blows up. My entity looks like this .. @ Entity public class av_booking ...

 
issue

Typo in ObjectDB 1.0 Manual

Support > Knowledge Base > ObjectDB 1.0 Manual > Chapter 7 "JDOQL Queries" > Section 7.2 "Query Filter Syntax" > Subsection "Fields" > Second to last sentence Remove "not" from that sentence.   "An attempt to access a field or invoke a method using a null reference results in a false evaluation for the containing expression but no exception is not thrown."   ... Thank you.   Looks like there is also a quoting issue on the query.setFilter() line in section 7.5 ... Just incase it is browser related, here is what it looks like for me ... (see attachment)     ...