On the topic of Castor v Torque , has anyone else
tried jRF (java Relational Framework) ?
(I am aware of at least 1 jRF guru on the forum!)
I am using it quite successfully and would recommend it.
One thing I do like about jRF is that is has a neat way
of doing joins. Instead of having to hack your SQL, it has
a concept of nested objects,
Eg instead of writing a conventinal SQL join, where each tuple maps to
a 'StudentTest' Object , instead each Student object has a list
of Test objects, which can be accessed like:
#foreach($s in $studentList)
Student is $s.getStudentname
#foreach($t in $s.FindForTests()
Scored: $t.getScore() for test $t.getTestName()
#end
#end
This is how I use it. The trickiest thing was setting up the
connection pool; that was a bit of a hack using Turbine service
but it works fine. Go to the web site if you want to read
more http://jrf.sourceforge.net
I would recommend it as a comparable alternative to Torque.
pat.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>