About reflection



... Fixed a bug in detecting orphan entities in reflection mode. Fixed a bug in listing inherited persistent ...



A PersistenceCapable class that provides callback methods for life cycle events implements this interface.(Interface of JDO)


Running JPA Queries

Explains how to use JPA to run Java Persistence Query Language (JPQL) queries. The Query javax.persistence.Query JPA interface Interface used to control query execution. See JavaDoc Reference Page... interface defines two methods for running SELECT queries: Query.getSingleRes ...



Hello! In some older post "support" wrote: "A single server license is for one activation of one machine and is non transferable.". What if one of our servers or laptops needs to get replaced? Do i have to purchase a new server license? I know that there is a site license but we are only two developers. A site license would be 3 times more expensive than two server licenses. #1 2012-08-15 17:04 Hello! In some older post "support" wrote: "A single server license is for one activation of one machine ...


pesimistic Lock semantic

Hi   I have tested pesimistic lock and the result was for me unexpected. In the first transaction i modified one object and in the second transaction i wanted to the same and  I got an exceptopn that lock could not be granted, quite nice but in that moment I wanted commit the first transaction and I also got lock exception. this the test:   public void testPesimisticLock() {   PersistenceManager pm1 = null;   PersistenceManager pm2 = null; ... getObjectById before commit ). With reflection (when enhancement doesn't work from any reason) - the picture ...


Replication Issue

Hi, I am trying to use replication for this first time - so most likely I am doing something wrong. I have server on which I run my master DB server java -cp objectdb.jar com.objectdb.Server start -conf objectdbMASTER.conf on the same server I run a java program - which is writing objects every second a database KAKI.odb - here is the code: ... <enhancement agent = "false" reflection = "warning" /> <cache ref = ...


Problem of Enhancer with JAXB / Proxified Entity Bean.

Hello Support, I run on a prod server an objectdb java agent with my app. In this application, all my entities beans are constructed from a JAXBContext ( SOAP CXF Webservice or Direct JAXB Unmarshalling ) When i watch the objectdb log, i see pages of errors. ... is first loaded by Java and only then explored (using reflection) by the ObjectDB Enhancer. Changing this will not be easy. ...


Pre-detach loading: retrieval by navigation not working in if statement

objectdb-2.6.3_04 JDK1.7 VM option at runtime: -javaagent:lib/objectdb.jar Experimental mode: objectdb.temp.no-detach NOT USED ... I can see that enhancement is taking place, because using reflection on loaded, detached entity objects I can see the hidden odb ... <enhancement agent = "false" reflection = "ignore" output = "C:\temp\enhanced" /> ...


Unable to stop server after starting in SSL mode

ObjectDB server starts & stops fine in non-SSL mode using start & stop shell scripts. ObjectDB server starts fine in SSL mode using start script but throws error and does not stop using stop shell script. Non-SSL mode server start/stop output: ObjectDB Server started on port 7032. ObjectDB Server stopped. SSL mode server start output: ObjectDB Server (SSL) started on port 7032. SSL mode server stop output: ... > <enhancement agent = "false" reflection = "warning" /> <cache ref = "weak" ...


Performance tuning, best practices

we have a system where we serve from a host process around 200 clients connected via webSockets (Jetty). The core process is running on a dedicated Windows 2012 server with 16 GByte RAM and 8 processor cores.  What is strange for us is that max 20% of the cpu resources are used and the IO subsystem is at maximum 30% of activity under heavy load but database queries are let's say not at the speed we would expect. We have currently 20.000.000 objects in the database, our configuration settings are: ... <entities>   <enhancement agent="false" reflection="warning" />   <cache ref="weak" level2="2048mb" ...