Re: Torque Maven Plugin Problem

2004-12-07 Thread Thomas Fischer
Hi Tod, here it is... http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=4463 Thomas Tod Thomas <[EMAIL PROTECTED]> schrieb am 07.12.2004 18:27:53: > Actually I didn't, I'll check the archives. However, if you have a link > handy I'd appreciate it. > > Tod > > Thomas Fischer wr

AW: Re: Introducing "JoinHelper"

2004-12-07 Thread Vitzethum, Daniel
Hallo Henning, > this looks really interesting. Could you please open an Issue in the > bug tracker with this class attached, so it does not get lost. in that case I'd need a bit help concerning Torque project development. Where is the bugtracker, and who can I participate? > And I'd appreciate

Re: Torque Maven Plugin Problem

2004-12-07 Thread Tod Thomas
Actually I didn't, I'll check the archives. However, if you have a link handy I'd appreciate it. Tod Thomas Fischer wrote: Hi Tod, have you seen the solution which Henning has posted in the dev list ? Hennings solution is clean and probably does the same thing, so if his solution also works, I

Re: Torque Maven Plugin Problem

2004-12-07 Thread Thomas Fischer
Hi Tod, have you seen the solution which Henning has posted in the dev list ? Hennings solution is clean and probably does the same thing, so if his solution also works, I would strongly recommend to use Henning's solution. For example, my solution will have to be restored each time the plugi

Re: Torque Maven Plugin Problem

2004-12-07 Thread Tod Thomas
Thomas, Sweet, this worked perfectly. I'll document it under a seperate subject line later today. Thanks for your help. Tod Thomas Fischer wrote: Hi Tod, I finally got a (_VERY_ dirty) solution for your problem. Perhaps some maven guru on the list can create a cleaner solution from this. Find t

RE: Problem with configuration for DB2

2004-12-07 Thread Dave Gray
Michael & Stefan, Thanks for your help. It is now working - with no further changes! I switched to testing another database. In the process I had to reboot. When I tried my DB2 example again after the reboot it worked! I have no idea what I cleared that caused the problem to go away. Now it works

Re: Torque tries to insert 0 into nullable Foreign Key

2004-12-07 Thread Thomas Fischer
Hi Daniel, > Hi Sarav, > > > Use this attribute in the database tag. > > defaultJavaType="object" > > thank you very much. I would prefer primitives for my numbers, > especially the ids, but that is o.k. for me. Everything works, > with one exception: > > I have a foreign key that is "NOT NU

RE: Join or Where Clause

2004-12-07 Thread Thomas Fischer
Hi, good hack, though it only works in oracle (as far as I know) Thomas [EMAIL PROTECTED] schrieb am 07.12.2004 11:16:14: > Hi all > > About outer join, i use a simple join and i add '(+)' : > > criteria.addJoin(TableMasterPeer.ID, TableSlavePeer.ID + "(+)"); > > and it return the good

RE: Join or Where Clause

2004-12-07 Thread a . wahhabi
Hi all About outer join, i use a simple join and i add '(+)' : criteria.addJoin(TableMasterPeer.ID, TableSlavePeer.ID + "(+)"); and it return the good information Karim Selon Thomas Fischer <[EMAIL PROTECTED]>: > > > > > > Hi Daniel, > > I have looked through the source code and it seems tha

AW: Torque tries to insert 0 into nullable Foreign Key

2004-12-07 Thread Vitzethum, Daniel
Hi Sarav, > Use this attribute in the database tag. > defaultJavaType="object" thank you very much. I would prefer primitives for my numbers, especially the ids, but that is o.k. for me. Everything works, with one exception: I have a foreign key that is "NOT NULL", but has a default value. An

Re: Join or Where Clause

2004-12-07 Thread Thomas Fischer
Hi, up to and including Torque 3.1.1, there is no support for outer (left/right) joins. However, there is a patch for torque-3.1 which can be found in scarab http://nagoya.apache.org/scarab/issues/id/TRQS219 and also, the patch is worked into the current CVS branch TORQUE_3_1_BRANCH. The CVS

Join or Where Clause

2004-12-07 Thread "Daniel Müller"
Thanks for your answer. I have checked my sourcecode an I found a error. The correct statment is: SELECT blue_NumberTable.N_ID, NumberTable.N_NUMMER FROM NumberTable LEFT JOIN AdressesTable ON AdressesTable.A_N_ID=NumberTable.N_ID WHERE AdressesTable.A_N_ID IS NULL; This statement works realy fi