About logging

forum_thread

Debuging query before execution

Hi, Is is possible in any way to get string representation of a query right before execution, after setting parameters? Of course it's easy to print out query string when we build it by concatenating many strings, but even then we miss attributes. ... about this functionality in context of debugging and logging. Because of that, I'm for single line query with embedded values. ...

 
issue

Improve ObjectDB Server

Improve ObjectDB Server to behave and feel more like a traditional db-server: - Remove SWING dependency (i.e. remove the tray icon or make it external from the core server) - Provide the possibility to easily install the objectdb as service on each system (requires removing swing dependency) - Keep it as a console-only app - Put important log info to the console as well - Provide possibility to not only create new databases but remove existing ones as well Feature Request Version: 2.2.3 Priority: Low Status: Active Replies: 1 Type:  Feature Request ...

 
forum_thread

Object Relations Error after Schema Change

Hi we have a problem with relations in OBjectDB 2.4.6, the problem occured after we changed relations in few clases. Specificaly we deleted relation pointing to one class and created new relation to third class. If we restart both ObjectDB and Jboss everything works fine for a short period. Attached is a ObjectDB error message. Kind regards. #1 2013-12-26 12:05 Hi we have a problem with relations in OBjectDB 2.4.6, the problem occured after we changed relations in few clas ...

 
issue

ObjectDB BIRT Driver Update

The ObjectDB BIRT/ODA driver is an extension of the open source Business Intelligence and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language. Feature Request Version: 2.6.6 Priority: Normal Status: Active Replies: 2 Type:  Feature Request ...

 
forum_thread

SSL Problem

Hello, I have a problem to use the server with ssl. I have created the certificate using this command: keytool-genkeypair-dname "cn = Mark Jones, ou = JavaSoft, o = Sun, c = U.S."-alias business-keypass kpi135-keystore-storepass mykeystore ab987c-validity 180 Then I put in the configuration file objectdb: #1 2012-12-16 11:51 Hello, I have a problem to use the server with ssl. I have created the certificate using this command: ...

 
forum_thread

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

I doubt this is an ObjectDB-enhancer problem, I am however reporting it in case anybody else encounters the problem too. It is mostly also not a concern for my own web app, because in most cases a non-static logging variable can be used in an @Entity.     ObjectDB 2.6.3_04     Apache Log4j2 - 2.5     Mac OS X     jdk1.7.0_51 or jdk1.8.0_60     NetBeans 8.1Beta ... for my own web app, because in most cases a non-static logging variable holder can be used in an @Entity. ... org.apache.logging.log4j.core.config.xml.XmlConfiguration.(XmlConfiguration.java:97) ...

 
forum_thread

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

Am getting inconsistent results with the "objectdb.temp.no-enhancement-crc-check" system property of objectdb-2.6.9_02 in a Glassfish web app. Can see correct version of objectdb-2.6.9_02 in /build/web/WEB-INF/lib. When one runs the enhancer (which I am doing post-compile, pre-deploy with an Ant script) Object clearly indicates the version. Q: How can one interrogate objectdb for the version at run-time ? #1 2016-08-22 17:07 Am getting inconsistent results with the "objectdb.temp.no-enhancement-crc-check" system property of obj ...

 
forum_thread

Exceeding max connections and crashing

Hi, we have severe problems with ObjectDB crashing frequently. We can’t find the exact cause but we suspect several things. We use 2.5.3_03 version and we use it in production. The same setup in test environment hasn’t have these kind of problems First crash occurred when network went down and database lost connection with the JBOSS AS, several restarts got it up and running finally.  It seems when the database loses network connection it shutdowns but we cant be sure. Usualy database stops once a day with no apperent reason. ... how many connections are active on ObjectDB. When we set logging to one of logging levels log doesn’t show anything. 2. We increased hype size ...

 
forum_thread

Enhancer problem

During development, I have used the enhancer API in a static block in the code that creates the EntityManagerFactory, ie. #1 2011-09-02 13:42 During development, I have used the enhancer API in a static block in the code that creates the EntityManagerFact ...

 
forum_thread

Does aggregate function "greatest" work on entity objects?

do not come to the function "compareTo" @Entity public class ChatHistoryItem extends AbstractObject implements Comparable {     private static final long serialVersionUID = 1L; #1 2013-08-01 11:39 Does aggregate function "greatest" work on entity objects? do not come to the function "compareTo" ...