RE: how to send a real SQL query to OJB

2003-03-20 Thread Mahler Thomas
yes, seems to be an inconsistency in the FAQ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 9:53 AM To: [EMAIL PROTECTED] Subject: RE: how to send a real SQL query to OJB Hi again, Sorry if I don't understand something

Re: how to send a real SQL query to OJB

2003-03-20 Thread Armin Waibel
Is there a big difference between 0.9.5 and 1.0? Yes and no ;-) Big difference between 0.9.5 ans 1.0 in repository.dtd and OJB.properties . In the PB-api we add new methods and rename some methods. Best is you compare the repository_junit.xml of both versions to get a clue (field id's were

Re: how to send a real SQL query to OJB

2003-03-19 Thread Armin Waibel
Hi Sylvain, see FAQ http://db.apache.org/ojb/faq.html topic Is it possible to perform my own sql-queries in OJB? + Can I directly obtain a java.sql.Connection within OJB? regards, Armin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 19, 2003

RE: how to send a real SQL query to OJB

2003-03-19 Thread Sylvain.Thevoz
Hi Armin, I have seen the FAQ. Thanks. But it doesn't work for me. My SQL query is select workstationName from Workstation. From my database query analyzer, this query retrieves 36 rows. In OJB I try: code String sql = select workstationName from Workstation; Query query =