Internal Website Search

1-28 of 28 results

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

Logger Wrapper  (otherwise not shown here, see that link for examples). My LoggerWrapper offers a cache of loggers keyed to classes for lookup: public final class LoggerWrapper extends ... ; } If I use that in an @Entity for a static logger variable: @Entity public class Element extends

General Settings and Logging

is automatically deleted. The elements elements specify logging levels. The "*" logger ... of the subsystem loggers are currently undocumented and can change at any time without notice

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

; [JDORepository.retrieve:482] Start Time : class com.anritsu.eu.rtd. logger .rtdtool.LogEntryAttributeImpl 11-Sep ... ; [JDORepository.retrieve:482] Start Time : class com.anritsu.eu.rtd. logger .rtdtool.LogEntryAttributeImpl 11 ... ; [JDORepository.retrieve:482] Start Time : class com.anritsu.eu.rtd. logger .rtdtool.LogEntryAttributeImpl

Entity listener - event instead of object

be = (BaseEntity) entity; em = (EntityManager) JDOHelper.getPersistenceManager(entity); logger .debug("Entity class: {}", entity.getClass().getName()); if (entity instanceof Inspiration) { logger .debug("Audting entity..."); Inspiration insp = (Inspiration) entity; logger .debug("New inspiration entity

Query perfromance problem

sortColumn, boolean isAscending) {   logger .debug("Method start.");   List prodList = null;   ... ("select prod from Product prod", Product.class);   } else {    logger .debug("Sort ... ; }   try {    logger .debug("Executing query");    prodList = icQuery

EntityManager.refresh takes a long time

;  logger .log(Level.INFO, "begin select for person " + new Date().toString());     ... ;          logger .log(Level.INFO, "end select for person ... ; for(Person person : persons) {          logger .log

InternalError on multiple AND and JOIN Query

appender named [STDOUT] to Logger [com.contextspace] 09:30:08,930 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [SIZE_BASED_ROLLING_APPENDER] to Logger [com ... - Attaching appender named [STDOUT] to Logger [ROOT] 09:30:08,930 |-INFO in ch.qos.logback.core.joran.action

Does aggregate function "greatest" work on entity objects?

final long serialVersionUID = 1L; @Override public int compareTo(Object t) { // Logger .getLogger ... ())); // Logger .getLogger("------------").log(Level.INFO, this.toString() + " compareTo " + t.toString

Adding EntityListener Throws Unexpected Internal Exception

; public void onPostLoad(Object o) {         Logger .info("PostLoad ... onPreRemove(Object o) {         Logger .info("PreUpdate call.");   

Show Sql/Jpql

to the console. To write query execution to the log, add the following logger element to the configuration ... . It could be enabled by setting the following logger in the configuration file : This will generate logging

Garbage Free Persistence?

Some logger are now garbage free - like log4j - they do it by avoiding the creation of temporary

Query can't see recently persisted object

); query.setParameter("oid", oid); if ("-62e6083d:1612795a01c:-6e65".equals(oid)) { logger .debug

EntityManager creation taking long time

that the issue happens on  createEntityManager (your first post)? support Support Loggers

500Mb ObjectDb database opening issue

(); LOGGER .info( String.format( "took [%d] ms", System.currentTimeMillis() - time ) ); Does exist any way

First query takes 4+ minutes to complete

{ dtoList = q.getResultList(); } catch (PersistenceException e) { logger .error("Unexpected problem", e

Unexpected exception during open the database

the "index" logger to "debug" level. support Support The issue occurs yet with the version 2.8.5_05

Lazy loading does not work - crud takes long

= service.getResultList();         Logger .getLogger(TableManager

Failed to generate dynamic type

; sLogger = Logger .getInstance();     }   after commenting out that line  I got

Eager Fetch is not stable for collection or map types?

= result.get(0); logger .debug("[trace_fetch] ["+g.getMembers().size()+"]"); return g; } } finally { em

Log4j error

for logger (org.apache.log4j.jmx.HierarchyDynamicMBean).      [java] log4j:WARN

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null:

,owner); return t; } catch (InstantiationException ex) { logger .log(Level.SEVERE, null, ex); } catch (IllegalAccessException ex) { logger .log(Level.SEVERE, null, ex); } catch (IllegalArgumentException ex) { logger .log(Level.SEVERE, null, ex); } catch (SecurityException ex) { logger .log(Level.SEVERE

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

; import java.util.logging. Logger ; import javax.persistence.EntityExistsException; import javax ... (BigInteger.ONE, BigInteger.TEN, tp); } catch (Exception ex) { Logger .getLogger(ReproduceTest.class

Query fails with failed to read

;( logger "store.file", level fatal, so probably no need for any configuration change if fatal logging is enabled for all loggers , which is the default). support Support thanks, version is active, we wait

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

mechanism. We enabled full logging ( logger name="*" level="debug") and logged to a file with limited

NullpointerException at a normal select

When I run the following code: EntityManager em = getEm(); Customer result = null; try {     logger .debug("Ident: "+ident);     result = em.createQuery("Select c from Customer c where c.identifier=:id", Customer.class).setParameter("id", ident).getSingleResult

Exception when the log file is full and no archive is defined

We encountered an issue with the logging mechanism. We enabled full logging ( logger name="*" level="debug") and logged to a file with limited size. We did not configure a log-archive (log-archive path="" retain="0"). That caused an exception when the log file reached its size limit

Feature Request: Subclassed PersistenceException for Type Not Found in DB Schema

;    logger .error("Query failed due to {}", ExceptionAssistant.getStackTrace(e

500Mb ObjectDb database opening issue

(); LOGGER .info( String.format( "took [%d] ms", System.currentTimeMillis() - time ) ); Does exist any way