About logging

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 ...

 
issue

Close() Method of EMF throwing "PersistenceException: Connection is closed" on first attempt to close.

We encountered an issue that caused an outage last Friday on multiple ObjectDb server instances. Bug Version: 2.6.9 Priority: High Status: Closed Replies: 1 Type:  Bug ...

 
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 ...

 
forum_thread

coonection pooling

Hi, is it possible to implement a mechanism in object db which redirects a particular user to its database. For example we have an ObjecDB server with 100 databases. On our Jboss server we have a single deployed application with 100 users. Depending on the logged user it will connect to different database when quering the ObjectDB. can we use persistence.xml to define this connection routing or, according to this scheme http://www.objectdb.com/java/jpa/persistence/overview , EntityManagerFactory would be responsible for this operation. #1 2016-11-01 10:09 Hi, is it possible to implement a mechanism in object db which redirects a particular user to its database. ...

 
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 ...

 
release

2.3.5

... 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

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 ...