ObjectDB Database Search

1-50 of 69 results

Query only works correctly when debug printing results

on pc) the query results are only fully read back when debug printing the result contents before closing the EntityManager and Factory instance. When executing the code with the debug printing ... without the debug prints, although it exists in the database. With the debug prints, it is read

DB reading fails in debug mode in Eclipse

. My application works fine with them up to I try to launch it in debug mode in eclipse. Upon reading it in debug

Fetch Set from DB only works on debug mode

I have a class A, that contains a LinkedHashSet of  another class named B. When I try to fetch that hash set, it returns a null pointer. BUT, when I run the program in debug mode, it works fine ... the EntityManager . In debug mode, by examining the set you load the data before closing the  EntityManager

Debuging query before execution

about this functionality in context of debugging and logging. Because of that, I'm for single line query with embedded values. lwalkowski Lukasz Walkowski

Query debugging configuration from class

Is there a way to show what queries are actually being executed from within a Java class? I'm getting the exception: Exception in thread "main" [ObjectDB 2.5.4_05] javax.persistence.NonUniqueResultException However, I'm unable to debug it because I don't know what the query's actually searching

Database Management Settings

. Recording can also be useful for backups and for debugging because it allows you to reproduce problems by ... , which modify the database. For debugging query failures, you might need to record "all" operations to reproduce

JPA Entity Fields

becomes more portable to ORM-based JPA implementations. Exposing version values can be useful for debugging

Database Transaction Replayer

operations. Reproducing problems during debugging by repeating a failure. Recording transactions

What are the main benefits of using ObjectDB?

. Less (and more simple) code to write, debug and test, as well as a much easier learning curve leads

stackoverflow big sur eclipse debug

stackoverflow big sur eclipse debug

Entity listener - event instead of object

;          LOG. debug ("{} for: {}, ID: {}, property: {}, old ... be = (BaseEntity) entity; em = (EntityManager) JDOHelper.getPersistenceManager(entity); logger. debug ("Entity class: {}", entity.getClass().getName()); if (entity instanceof Inspiration) { logger. debug

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

hello developers, what is wrong? --- package debug ; import static java.lang.System.out; import ... + "]";         }     } } --- 19:05:31.423 [main] DEBUG ... /persistence.xml file in the classpath 19:05:31.464 [main] DEBUG org.hibernate.jpa

Source not found error after downloading ObjectDB 2.3.7_04

? Debugging ? Runtime? If it is an exception - provide a full stack trace. If it is a compilation error or ... am trying to debug code snippet mentioned above in Eclipse it asks me to provide source code at debug ... . I debugged following code import java.util.Properties; import javax.jdo.JDOHelper; import javax.jdo

ClassCastException of same object type

"ICoreObject". The source code is attached. When I debug , the object is retreived but when I try ... ;   return cop; } When the query is run, debugging shows that "list" contains ... ; } then debugging moves past that line and fails in the cop.add() method at the line if(obj instanceof

Join query problem with new statetment

above statement, there is exception: 2011-07-05 06:40:34.781 ["http-bio-8080"-exec-3] DEBUG p.h.dao.impl ... ] DEBUG o.s.orm.jpa.JpaTransactionManager - Should roll back transaction but cannot - no transaction available 2011-07-05 06:40:34.847 ["http-bio-8080"-exec-3] DEBUG o.s.orm.jpa.JpaTransactionManager

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 ... ;that is shown only in logging at DEBUG level is normal (part of the class searching process

Trouble viewing db in Explorer.

have debug on, here is a sample of the console:     [2012-06-07 11:08:06 #47186 query ... is DEBUG , in order to track searching for classes). If possible, please publish a database file that demonstrates the problem. support Support

Failed to commit transaction: Attempt to commit a rollback only transaction

. Essentially one client runs in debug mode in the ide, and has a breakpoint in a transaction ... to the last ObjectDB build for both the client and the server. Enable debug level logging

Spring Data JPA - PersistenceException thrown

.n(XMD.java:206) ... 97 more   It's difficult to debug exactly what might be going ... After a few hours of debugging , I found that the MetaModel is for JPA 1.0 spec. The dependency listed

ClassNotFoundException Stack Traces in the Log File

If I turn the log level in objectdb.conf to debug I get a lot of ClassNotFoundException 's (see example below). My question is, is there a way to avoid these exceptions? [2013-02-05 10:52:30 #399 ... .EMImpl.persist(EMImpl.java:417) wua Andreas Wurm It is the normal behavior when using debug level

EntityManager JPA or JDO impl and different behavior

what the EntityManager is because it's proxied by spring but from digging into the objects in debug I ... project in eclipse. This should allow you to debug the test project with objectdb.   In addition

Check for index existence ?

="query" give me nothing in output ( debug or trace ). name="*" give me some informations about enhanced ... should show the selected query execution plan (and also other plans in debug level logging). You may post it here for help with what it means. support Support

Failed to resize file - file system limitation error

? Also, is there any additional debugging that we could enable to help with determining root cause if this occurs ... . Therefore, you might be able to debug it externally to ObjectDB by using suggestion 1 in post #9 above. support Support

ODB lost?

I'm new to ObjectDB. While debugging small programs in single-step mode in NetBeans, the ODB appears to get corrupted or lost if I don't invoke close on EntityManager. If I re-run my program ... ;simultaneously by different processes, which is common during debugging (when running the application

Deadlock in objectdb code

to the configuration file: or, use the " debug " level to get more information on the registered type

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

(" debug " level).  The "Works_xxx" file is from the build computer that has no error.  The "Fails

Unexpected output "*** PatternParameterImpl" in the java console

; btc_es BTC EmbeddedSystems Thank you for this report. It was a debugging message in build 2.8

General Performance Issues Illustrated with a Specific Method

of Health Sri Lanka Please find the debug log related to the query. Hope you will attempt to explore

Query can't see recently persisted object

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

How to resolve 404 errors with Eclipse/Maven Spring MVC

debug thru the controller class.   Thanks siegfried siegfried siegfried heintze I am not sure I

Catching exceptions from online backup

;em . close ( ) ;      }      }  I was debugging the process

Changes in detach behaviour?

Hello! Today i upgraded to 2.3.5_04. My program stopped working. After some debugging i found out that all fields of retrieved objects are on their default value till i first call a getter or detach them explicitly. Up to 2.3.4 they where initialized immediately. The problem in my case is that i

ClassNotFoundException messages in the log file

is enabled at DEBUG level. You can reduce the logging level of "type.loader" to WARNING to avoid

Database size is much larger than expected (x2)

unlimited debugging services. Please understand that it doesn't matter for ObjectDB if you store an empty

Unable to delete the .odb file programatically

.isDebugEnabled()) {     codeLogger. debug ("Created a new PM ("+pm+")"); } try {  

Failed to synchronize replicated database

, since the last breakpoint (i.e. an available db backup), e.g. for debugging . In replication

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

... all work fine.   DB Doctor does not fix the problem. We need guidance on how to debug

"Attempt to lock a non entity object" error

object" session.rollback() is somehow causing the problem (found through debugging

How find out ObjectDB version at runtime (in a web app)

for the version at run-time ? It does not seem to be in the odb logs, and turning on the debug mode does not

Java fails to run when using JMX Remote + ODB agent

you debug this issue?   lwalkowski Lukasz Walkowski Please try build 2.2.8_09 that should fix

Inverse OneToMany Mapping and EmbeddedId

hello support, what is wrong? --- package debug ; import static java.lang . System . out ; import ... ;       }      } }   --- 13:32:52.428 [main] DEBUG org.jboss ... .xml file in the classpath 13:32:52.560 [main] DEBUG org.hibernate.jpa.HibernatePersistenceProvider

Strange Error with Criteria API and Sorting

be any "$2" variable. More strangely, when debugging through the error doesn't error but if you run without debugging through then it happens. Please advise / fix, this is more than a show stopper

Negative snapshot user count exception

to the database corruption.  I've tried enabling a finer level (both 'trace' and ' debug ') on the client side, but I'm not getting any new output.  Any suggestions to help capture more useful debug

ArrayIndexOutOfBoundException

. Is there any other way how can we help to solve the issue ( debug ...)? Thanks Marta   Maruta M ... for source code) and instructions how to run them? If we can see the exception in our debugging environment

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 ... at the top): 09:08:49.496 [http-bio-0.0.0.0-8080-exec-9] DEBUG s.t.c.o.OrganizationService - Ident: default

ClassCastException thrown when running count query

for the fields in the query. Log of the query execution using DEBUG logging level. support Support Hello

Lazy retrieval by access not working correctly

I have a problem loading lazy associations by access/navigation with an @Embedded attribute containing an @ElementCollection which is lazy loaded.  I'm not sure if the same problem exists elsewhere.  Furthermore, if I set a breakpoint in the right spot in debug mode, everything works

Memory leak in com.objectdb.o.CST

if that still affects it.  Or if there is something I can log in the debug to output

NullPointerException using with "refresh" method

this problem. There is no time for debugging . itsme Martin Petzold Unfortunately we cannot tell

database corrupt

debugging . It requires starting with a duplicate database that is later used to play