QueryBySQL and bind variables

2003-12-13 Thread ZZZ Liu
Hi, Could anybody tell me that whether QueryBySQL supports bind variables and how to do that? Thanks in advance! Z __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/

WARN: Found unclosed resources while finalize

2003-12-13 Thread Antonio Gallardo
Hi: I am getting this type of errors. I review the code and saw that we close the broker on every transaction. Can someone tell me why I am getting this errors? [org.apache.ojb.broker.accesslayer.RsIterator] WARN: Found unclosed resources while finalize (causer class:

Re: WARN: Found unclosed resources while finalize

2003-12-13 Thread Armin Waibel
Hi Antonio, that's ok, I made these strict settings to detect possible resource leaks (don't panic I think we haven't). See http://thread.gmane.org/gmane.comp.jakarta.ojb.devel/4526 Maybe it's better to change log level to 'info' before rc5 ;-) The problem is when you obtain a RsIterator

Re: WARN: Found unclosed resources while finalize

2003-12-13 Thread Antonio Gallardo
Hi Armin: Thanks for the answer. Reading again the first message it is OK. Of course your idea to set the log level to INFO is good. I think we can set it as default, because we are not creating any leak at all in this case. But the second message:

Re: WARN: Found unclosed resources while finalize

2003-12-13 Thread Armin Waibel
yes I read, the same story. I thought gc does finalize classes in order of the references, mean first gc RsIterator (finalize close all resources) then clean the reference to StatementAndResultSet, seems does not ;-). I will set log level to info too. Thanks for pointing to that. regards,

JDO Enhancer

2003-12-13 Thread Sebastian Muench
Hi, I get an error class given to extent does not implement javax.jod.spi.PersistenteCapable anytime I run my jdo-application. I put the mapping entries in the repository_jdo.xml. I don't know how to set up the bytecode enhancer. Do I have to compile my SourceCode a second time including the

Re: JDO Enhancer

2003-12-13 Thread Thomas Mahler
Hi Sebastian, Please have a closer look at http://db.apache.org/ojb/tutorial4.html. to get the tutorial app up an running you have to execute the follwing ant targets: with-jdori prepare-tutorials enhance-jdori the enhance-jdori target does the bytecode enhancement. if you habe a look at this