About logging

forum_thread

Replication error - parsing objectdb config

I'm trying to replicate a database using the following config: <server>   <connection port="6136" max="100" />   <data path="$objectdb/db-files" />   <replication url="objectdb://localhost:6126/DEV1/NewMessagePipe.odb;user=admin;password=admin" /> </server> #1 2011-04-12 16:36 I'm trying to replicate a database using the following config: <server>   <connec ...

 
forum_thread

Getting Foreign Key

How to get Foreign key using  org.eclipse.persistence.queries.WriteObjectQuery class ..? please help me by using this class only..why means i am implementing audit log concept in my application, so i have forms like header level and line level forms. so when i am updating line level i can get line level primary key but i also nead to get foreign key which is belongs to header. WriteObjectQuery query = (WriteObjectQuery) event.getQuery(); query.getReferenceClass().getSimpleName() by using this i got pojo name #1 2014-05-09 11:26 How to get Foreign key using  org.eclipse.persistence.queries.WriteObjectQuery class ..? please help ...

 
forum_thread

InternalException

Trying to move a project from test into production phase, I have started to get internal exceptions when working on large data sets: java.util.concurrent.ExecutionException: com.objectdb.o.InternalException: Unexpected internal exception .... #1 2013-05-19 14:44 Trying to move a project from test into production phase, I have started to get internal exceptions when working ...

 
forum_thread

String representation of a query

Hi, Is it possible to get a JPQL string having a Query object instance? JpaQuery class doesn't have any method like "getQueryString" or "getDatabaseQuery", maybe it's going to be added in near future? It would be very helpfull to have something similiar to Hibernate etc : findAllBooks.unwrap(org.hibernate.Query.class).getQueryString() I would like to measure time of query execution and log that information with JPQL string and parameters map to find and optimize the most ineffective cases. #1 2012-12-18 10:29 Hi, Is it possible to get a JPQL string having a Query object instance? JpaQuery class doesn't have a ...

 
release

2.3.5

... for inverse (mapped by) collections. Changed logging of incomplete recovery records from WARNING to TRACE  ( issue #88 ...

 
forum_thread

Filename.odb$ Persisting Issue

Hi, I seem to have a frequent issue with my Filename.odb$ remaining in my /db directory after my program terminates which prevents me from running my program again due to a persistence error thrown by Eclipse. I can't seem to manually terminate the file either. I usually have to fully close Eclipse and wait a bit for it to remove itself. Any ideas why this happens? Thanks, Dragon #1 2017-09-22 21:07 Hi, I seem to have a frequent issue with my Filename.odb$ remaining in my /db directory after my program ...

 
release

2.3.4

... for inverse (mapped by) collections. Changed logging of incomplete recovery records from WARNING to TRACE  ( issue #88 ...

 
forum_thread

dual access

Hello Exploring the product having had significant experience win Kodo/BEA/JDO1.x, yes I know dated but still works.  Is it possible to still have the SQL emitted from only the JAVA syntax?  If so is it also possible get each SQL statement before it is sent to the store?  Does objectdb only permit direct SQL coding? #1 2012-02-24 02:39 Hello Exploring the product having had significant experience win Kodo/BEA/JDO1.x, yes I know dated but s ...

 
forum_thread

How to retrieve the ObjectDB version number?

Hi! We need  the ObjectDB version for debug purpose/logging. Our project supports also EclipseLink - http://stackoverflow.com/questions/3493495/getting-database-connection-in-pure-jpa-setup With the Connection object the Database name & version can be retrieved. For ObjectDB, which is the best (JPA) method to get the version number?   Peter       ... We need  the ObjectDB version for debug purpose/logging. Our project supports also EclipseLink - ...

 
forum_thread

Occasionally slow requests in load testing

We are running load testing against objectdb version 2.3.7_18. The performance is generally OK, however there are quite a few "spikes" in the performance where we are getting a lot of very slow response times from the DB, around 10 - 15 seconds. Looking at the DB server process with AppDynamics we can see that most of the requests get stuck in one of 2 places: com.objectdb.o.PGC:w: line number 232 com.objectdb.o.LFL:U: line number 1068 Please see the attached callgraph examples for full stack trace examples. #1 2012-04-26 12:56 We are running load testing against objectdb version 2.3.7_18. The performance is generally OK, however there are ...