About parameters

forum_thread

Entity listener - event instead of object

Hi, Currently I'm playing with entity listener to implement auditing with difference between values in updated entity. There is a problem however with accessing "old" version of object stored in database. I can't find the nice way to use EntityManager in EntityListener. Because of that, I can't store separate entity for given event. Right now I'm using BaseEntity which contains #1 2011-07-20 12:49 Hi, Currently I'm playing with entity listener to implement auditing with difference between values i ...

 
forum_thread

Failing to read entities under load in multithreaded tests

Hi, We are experiencing an issue in our application that only occurs under load - we sometimes fail to read entities from the database. ... If you still see the problem, please specify the parameters that you were using for running the test. In addition, the ...

 
forum_thread

find() cost unreasonable time!

Hi, I make a full binary tree of 4095 node, I check the first 9 node, but the root cost 24 seconds, why? Result: #1 2011-06-29 12:58 Hi, I make a full binary tree of 4095 node, I check the first 9 node, but the root cost 24 seconds, why? ...

 
issue

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception: Bug Version: 2.7.0 Priority: Critical Status: Fixed Replies: 19 Type:  Bug ...

 
issue

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

The following error is reported for objectdb-2.6.9.jar: Failed to commit transaction: Failed to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613) Did not happen with objectdb-2.6.3_04 (which one can easily test and compare in the test console app for NetBeans8.1 provided, as explained below). To reproduce download the app and unpack, open in NetBeans8.1, perform Clean and Build, and Run: ... (e.g. List<Project> ). Due to erasure of the type parameters (when the Enhancer hides the original property methods and replace ...

 
issue

Another NPE on em.createQuery(query).getResultList()

Related to #51 that was tested against 2.2.7 and marked as fixed in 2.2.8. Running the same test case against 2.2.8 now results in: ... in using non enhanced non managed entity objects as query parameters (or in criteria queries). Please try build 2.2.8_01 that should ...

 
issue

UnexpectedException on query

Hi, I'm getting the following exception when trying to query an Entity type by id using googlecode generic dao.   ...   I suspect it must be some missing parameters but can't get much of the error code. Appreciate your ...

 
forum_thread

Online backup problem

Hi, We are trying to create a servlet that performs database online backup. Unfortunately, even though no exception is thrown, backup files aren't created. When I turn on DEBUG logging in ODB, I get multiple ClassNotFoundExceptions like : #1 2011-06-28 09:33 Hi, We are trying to create a servlet that performs database online backup. Unfortunately, even though no ...

 
forum_thread

How to change properties in urls2.xml?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... (ObjectDB expects url parameters after ; rather than ?). ObjectDB Support ...

 
forum_thread

UserException: Invalid configuration in 'internal' - Check permissions

Hi all,   I have a master/slave code so that each slave reads a subset of points of the same database. ObjectDB entities do not allow serialization and so I have sent, to each slave, the file path. With such information I have tried to create an entityManager, in each slave, as follows: EntityManagerFatory entityManagerFactory = Persistence.createEntityManagerFactory(filePath); EntityManager = entityManagerFactory.createEntityManager(); However I get the following error ... I have also modified, in objectdb.conf, the following parameters < strong > <log path = "path/to/log/" ...