Re: Problems upgrading to ojb1.04

2006-01-31 Thread Milisic Aleksandar
Problem solved. For future reference if anybody runs into this problem, the torque.delimiter in build-torque.xml needs to be set to "/" since the generated SQL uses the "/" to separate sql statements. Perhaps this should be somewhere in documentation, since it's definitely a change compared to th

RE: Super class record not being deleted.

2006-01-31 Thread Christopher Lowe
Hi Armin, I'm using the PersistenceBroker API. Chris. -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 4:08 PM To: OJB Users List Subject: Re: Super class record not being deleted. Hi Chris, which api do you use? Armin Christopher Lowe

Re: solution for subqueries returning values

2006-01-31 Thread Jakob Braeuchi
hi sergey, this looks like a report query to me. do you have relationships defined between A, B, C, D ? jakob Manukyan, Sergey schrieb: Folks, Could you please advice an OJB solution for this SQL query: SELECT A.F, (SELECT COUNT(*) FROM B INNER JOIN A ON A.F = B.F),

Re: Problems upgrading to ojb1.04

2006-01-31 Thread Milisic Aleksandar
But why would Torque not work? It is contained in the ojb-blank.jar and throughout the ojb documentation and in the examples I can only see Torque in use. Has anybody else had problems using the new version of Torque in ojb1.04, because if there is a solution I would like to continue using Torque..

Re: Super class record not being deleted.

2006-01-31 Thread Armin Waibel
Hi Chris, which api do you use? Armin Christopher Lowe wrote: Hi All, I have an inheritance relationship between my Product and Car objects. New inserts of car objects work fine. The problem I'm experiencing is that when I remove a car the corresponding product record is not being

Super class record not being deleted.

2006-01-31 Thread Christopher Lowe
Hi All, I have an inheritance relationship between my Product and Car objects. New inserts of car objects work fine. The problem I'm experiencing is that when I remove a car the corresponding product record is not being removed from the product table. The mappings are shown below. I'm u

Re: newbie can't get started

2006-01-31 Thread Armin Waibel
Hi, [EMAIL PROTECTED] wrote: I'm a newbie trying to get into OJB. I downloaded 1.0.4 src and unzipped it When I run bin\build.bat from command window, it fails with over 100 duplicate class errors, example: duplicate class: org.apache.ojb.broker.Identity I have JAVA_HOME set to a java5 jdk. W

Re: newbie can't get started

2006-01-31 Thread Thomas Franke
[EMAIL PROTECTED] wrote: > Can anyone point me to a "getting started" kind of document? Only follow the link: http://db.apache.org/ojb/docu/getting-started.html regards, Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

newbie can't get started

2006-01-31 Thread eweek
I'm a newbie trying to get into OJB. I downloaded 1.0.4 src and unzipped it When I run bin\build.bat from command window, it fails with over 100 duplicate class errors, example: duplicate class: org.apache.ojb.broker.Identity I have JAVA_HOME set to a java5 jdk. What is wrong? Can anyone point