Hi all,
I'm in the midst of tracking down a leak that occurs when I do a write
operation on an object graph. Garbage collection isn't removing these
objects because they are referred to by internal ojb classes. Presumably
some internal cleanup isn't occurring properly after each
begin tx ... c
btw, this is what I am doing for now:
PersistenceBroker broker=PersistenceBrokerFactory.defaultPersistenceBroker();
Connection C=broker.serviceConnectionManager().getConnection();
PreparedStatement stmt=C.prepareStatement("SELECT min(tsin) FROM timeclock WHERE
ref_employee= ? AND tsout=0;
I have a prepared statement like so:
"SELECT min(tsin) FROM timeclock WHERE ref_employee= ? AND tsout=0;"
I use this to decide what to query next, it sounds like I should use the
"report" feature in OJB but I have no idea how.
I looked at
ReportQueryByCriteria(java.lang.Class targetClass, j
Hi,
I need to switch between at least two database sources in my
application. As far as I can see, there is no way to switch between
database connection with the JDO-API and the methods setConnectionURL()
etc. of the PersistenceManagerFactory.
So I configured a second database-connection in my