About relation

forum_thread

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code m_EntityMgrFactory = Persistence.createEntityManagerFactory( "objectdb:" + aFilename ); m_EntityManager = m_EntityMgrFactory.createEntityManager(); Does exist any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database! #1 2016-01-14 06:54 Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following co ...

 
forum_thread

Remove an entity which attributes were changed - OptimisticLockException

We use an OSGi environment and we have three OSGi plugins.   In plugin A an entity is loaded and the entity is passed to plugin B. Plugin B changes an attribute on the entity. Plugin C removes the entity from the database. After commit the transaction an exception is caused with optimistic lock exception of the removed entity. If this operations on the entity are executed in only one plugin, it works well. ... number of entity, although both entities haven't any relation each other. This fails also in both cases, with several ...

 
manual

[ODB1] Chapter 9 - ObjectDB Explorer

Explains how to view and manipulate database files in the database explorer. ObjectDB Explorer is a visual tool for managing ObjectDB databases. You can use the Explorer to browse databases, execute JDOQL queries, create new databases and edit the content of existing databases. This chapter contains the following s ...

 
forum_thread

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

Hi,    I've had an issue that started today and it's got me stumped. I've got a subclass User, which extends a BaseEntity. The BaseEntity has a @PreUpdate as per: #1 2011-07-07 16:55 Hi,    I've had an issue that started today and it's got me stumped. I've got a sub ...

 
forum_thread

AttachNotSupportedException

Good morning, OS: Windows Server 2008 R2 64 bit Java: Java Server JRE 8u121 for Windows x64 ObjectDB: version 2.6.9 build 5 Problem description: ObjectDB server will start and function normally (?) but an exception is logged: "java.lang.NoClassDefFoundError: com/sun/tools/attach/AttachNotSupportedException" (see attachment to this thread). #1 2017-01-31 10:30 Good morning, OS: Windows Server 2008 R2 64 bit Java: Java Server JRE 8u121 for Windows x64 ...

 
issue

[ObjectDB 2.5.5_03] Unexpected exception (Error 990)

Hello! When I run this query SELECT t FROM Unit t WHERE t.lastGeocodedPosition IS NULL OR t.lastGeocodedPosition.receiveTime < :lastGeocodedPosition.receiveTime I get the following exception: Bug Version: Priority: Normal Status: Fixed Replies: 9 Type:  Bug ...

 
forum_thread

explorer NullPointerException

I studied ObjectDB a few hours ago and got some problems when use explorer . I run it and right-click in 'Open local database' window,and the all the pop menu item is gray and disabled,such as ‘new database’,'new directory','cut','copy' ... if I click 'tools---oprions' before open database, the errot I got is: [2012-05-21 09:51:11 #1 explorer] java.lang.NullPointerException at com.objectdb.o.CNC.p(CNC.java:253) at com.objectdb.o.EHL.d(EHL.java:55) at com.objectdb.o.VPN.(VPN.java:60) at com.objectdb.o.OPD.(OPD.java:69) at com.objectdb.o.OPD.(OPD.java:42) #1 2012-05-21 01:22 I studied ObjectDB a few hours ago and got some problems when use explorer. I run it and right-click in & ...

 
forum_thread

JPA - ExceptionInInitializerError when creating EntityManager

EntityFactoryManager(emf) is successfully received but error at emf.createEntityManager Please see my code of fragment from my project. public class Main {        final private static Properties EMAIL_PROPS;      final private static String EMAIL_FROM;            static {  EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("tmpCLMSPU");  #1 2014-12-09 04:14 EntityFactoryManager(emf) is successfully received but error at emf.createEntityManager Please see my code of ...

 
forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) #1 2016-10-24 15:15 (Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit b ...

 
manual

Auto Generated Values

Explains the different strategies for generating auto values (mainly for primary key fields) in JPA. Marking a field with the @GeneratedValue javax.persistence.GeneratedValue JPA annotation Provides for the specification of generation strategies for the values of primary keys. See JavaDoc Reference Page... annotatio ...