About logger
General Settings and Logging
Describes general configuration and logging of the ObjectDB Java object database for JPA and JDO. the ObjectDB General configuration section.... retain = "90" /> <logger name = "*" level = "info" /> </general > ... The <log-archive> element The <logger> elements The <temp> element ...
Query perfromance problem
Hi, I was playing with paging and sorting recently and after trying few different aproaches got some strange behavior from ODB. First of all, I will show you results from page rendering times, but trust me - when debugging application, getting data from ODB takes a long time in one case. Anyway, one of my methods in DAO looks like this: ... boolean isAscending ) { logger. debug ( "Method start." ) ; ... class ) ; } else { logger. debug ( "Sort column: {}, ascending {}" , sortColumn, ... class ) ; } try { logger. debug ( "Executing query" ) ; prodList = ...
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 ... getPersistenceManager ( entity ) ; logger. debug ( "Entity class: {}" , entity . getClass ( ... instanceof Inspiration ) { logger. debug ( "Audting entity..." ) ; Inspiration ...
com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null:
The following error appears under and extended persistence context, and with creation, configuration and wiring code that is known to work perfectly with EclipseLink+Glassfish: SEVERE: Unexpected internal exception ... InstantiationException ex ) { logger. log ( Level. SEVERE , null , ex ) ; ... IllegalAccessException ex ) { logger. log ( Level. SEVERE , null , ex ) ; ...
[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)
I was experiencing an exception so I did a test to reproduce it. here it is. ... . Level ; import java. util . logging . Logger ; import javax. persistence . EntityExistsException ; ... ( Exception ex ) { Logger. getLogger ( ReproduceTest. class . getName ( ...
InternalError on multiple AND and JOIN Query
Hi, Using objectdb 2.2.8_06. Running the following query: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.contactDetails $2 JOIN $2.addresses $3 JOIN $3.attributeList $4 JOIN $2.phoneNumbers $5 JOIN $5.attributeList $6 WHERE ((($4.name='suburb') AND ($4.valueAsString='Los Angeles')) AND (($6.name='areacode') AND ($6.valueAsString='310'))) Getting: ... - Attaching appender named [STDOUT] to Logger[com.contextspace] 09:30:08,930 |-INFO in ... Attaching appender named [SIZE_BASED_ROLLING_APPENDER] to Logger[com.contextspace] 09:30:08,930 |-INFO in ... - Attaching appender named [STDOUT] to Logger[ROOT] 09:30:08,930 |-INFO in ...
Memory Leak?
... ( j % 10000 == 0 ) { logger ( "Retrieved " + j + " objects. Last object: " + ... em. close ( ) ; } logger ( "Retrieved %s objects, elapsed time: %s" , deviceCount, ...
Exception when dataset bigger than treshold
I was working on reporting service for my application and found a problem with datasets bigger than treshold set in objectdb.conf. ... retain = "90" / > <logger name = "query.manager" level = "debug" / < / ...
Setting temp directory location in ObjectDB
HI, I am using ObjectDB and would to change the temp directory location wihtout using objectDB.conf file. I am using JDO and setting the persistenceManager as follow properties.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); properties.setProperty("javax.jdo.option.ConnectionURL", fileName.odb); pmf = JDOHelper.getPersistenceManagerFactory(properties), JDOHelper.class.getClassLoader()); ... retain = "90" /> <logger name = "*" level = "info" /> </general > ...
Connection is closed Caused by: java.io.EOFException
I am getting this exception on a regular basis, after a period of time of repeating the same code execution. I don't understand why. I restart the DB server and my code works again for another period of time until same exception is encountered again. I cannot pin down a pattern e.g. after a certain period of time, because the time periods between exceptions are not regular, although frequent. Any test case I use will pass most of the time but will fail after an undetermined period. ... retain = "90" /> <logger name = "*" level = "info" /> </general > ...