Inheritance / Future of Torque

2004-03-13 Thread Hartwig, Thomas
Is anybody out there successful using inheritance with torque or know a good tutorial. The documentation of Torque in this matter is really a shame for the whole project. (sorry for the rough words, but even the rest of the documentation is not the best) This leads me to the point considering o

Re: Question abour updates

2004-01-23 Thread Hartwig, Thomas
I did not use doUpdate. I'm afraid you think still in a SQL way to much. Torque helps you to do something with objects. So the most convenient way would be: 1. Fetch the objects which meet your constraints with a doSelect(...Criteria...) 2. Modify the objects with the qualified set[Field] metho

Re: n-to-n relationship howto

2004-01-21 Thread Hartwig, Thomas
Ok, I found the solution. I have seen that Torque does generate the methods getABs() in both BaseA and BaseB which returns the approbiate collection which then contains the methods getA() and getB(). Thomas Hartwig, Thomas wrote: Hello, I'm sure there are a lot of users already needed a

n-to-n relationship howto

2004-01-21 Thread Hartwig, Thomas
Hello, I'm sure there are a lot of users already needed a n-to-n relationship solution. Does Torque support this with a useable modell or do I have to implement this. I have looked thru the docs but all I found was: 1-to-n Schema suggestion with a n-to-n relation, but this is not enough I'm afr

UML and XML

2003-06-11 Thread Hartwig, Thomas
Unfortunately the mailing list archive on http://db.apache.org/torque/mail-lists.html is broken, so I have two questions which might be already answered in some way. 1. Does torque support a flat file database in some way or xml? Would be Hypersonic a good alternative if not so? 2. Is it possible t