About named queries

issue

unexpected exception

I received the following exception while trying to process a query: Bug Version: 2.0.4 Priority: Low Status: Duplicate Replies: 1 Type:  Bug ...

 
forum_thread

Using of Second Level Cache

In our use case we want to find some entity types always again very quickly by primary key or query in many short transactions. The entity MyEntity1 and its relationships to MyEntity2/MyEntity3 was load and the entity MyEntity1 is taken in the second level cache, the other entity types not. Are the relationships to MyEntity2/MyEntity3 still always referenced although the entity manager is closed, so that the memory for MyEntity2 and MyEntity3 can never be released by garbage collector? #1 2016-06-22 08:04 In our use case we want to find some entity types always again very quickly by primary key or query in many short ...

 
issue

Lazy loading of mapped by (inverse) singular references

Feature Request Version: 2.0.0 Priority: Normal Status: Fixed Replies: 1 Type:  Feature Request ...

 
issue

[Explorer] Editing Database Files

Some features of ObjectDB 1 Explorer have not been implemented yet in the new Explorer of ObjectDB 2. The new Explorer of ObjectDB 2 is currently a viewer rather than editor, and database files are always opened in read only mode. The ability to create new database objects and edit existing database object has to be reimplemented in the ObjectDB 2. Feature Request Version: Priority: High Status: Fixed Replies: 4 Type:  Feature Request ...

 
issue

probable error in text of manual about embeddable classes

at http://www.objectdb.com/java/jpa/entity/types website in "Embeddable Classes" section there is a phrase "e.g. their instances cannot be shared by different entity objects" which seems to be wrong. Bug Version: 1.04 Priority: Normal Status: Closed Replies: 1 Type:  Bug ...

 
forum_thread

Online backup with JDO

Hi, I would like to try the Online Backup tool as I am making backups up to now with the not encouraged file-copying method while the database is online. So my first question is to this file-copying. I've read at the Database Doctor that copying the db file while it is online may cause corrupted DB file. Does this mean that the copy can be corrupted or even the source file ? My second question is about starting the online backup. The manual suggests starting it via the EntityManager with the code #1 2014-07-04 20:10 Hi, I would like to try the Online Backup tool as I am making backups up to now with the not encoura ...

 
forum_thread

Does aggregate function "greatest" work on entity objects?

do not come to the function "compareTo" @Entity public class ChatHistoryItem extends AbstractObject implements Comparable {     private static final long serialVersionUID = 1L; ... Entity objects are not comparable in queries. See the list of Comparable Data Types in the manual. ...

 
issue

NPE in server mode

See stack trace below. Unfortunately I just uncovered this in a log check so I dont have any further information surrounding the circumstances. java.lang.NullPointerException at com.objectdb.o.SHN.ai(SHN.java:470) at com.objectdb.o.SHN.K(SHN.java:146) at com.objectdb.o.HND.run(HND.java:133) at java.lang.Thread.run(Thread.java:595) Full log is attached. NB: This occured in version 2-2-9_07 (as this is what we currently use in prod) so may be resolved in the latest version anyway. Bug Version: 2.2.9 Priority: Low Status: Fixed Replies: 1 Type:  Bug ...

 
issue

com.objectdb.o.InternalException

No idea what happened.  A simple getResultList() opearation. DB table affected size is ~ 26000 records, physical DB file size is ~ 8.5MB Thanks for any help ! Leon log file: ------------------------------------------------------------------------------------------------------------------------ [2016-07-13 19:58:12 #1 store] Database '/home/gsi/wdsync/db/Media_wdsync.odb' is opened by 12659@server Bug Version: Priority: Normal Status: Closed Replies: 2 Type:  Bug ...

 
forum_thread

Unexpected behaviour upon update. Bug?

This sample does not work as I expect.  Why?  Is it a bug? Below is the complete program. Expect: 3 Get: 4 import java.io.Serializable; import java.util.List; import javax.persistence.*; @Entity public class Update implements Serializable   {     @Id     int i;     int v; #1 2011-09-19 15:14 This sample does not work as I expect.  Why?  Is it a bug? Below is the complete program. Expec ...