Hi George George Papastamatopoulos wrote:
>Sorry to post directly to you, > No problem > but I noticed that you had a similar problem >with Criteria objects that I am experiencing. Namely >statements like (a < 1 and b > 2) or ( a > 5 and b < 3) not being correctly >evaluated. >http://www.mail-archive.com/[email protected]/msg00030. >html >Anyhow, I seem to recall that you made a fix for this. Are these changes >in the latest build. > They are in the latest torque build - I'm not sure what that means for turbine. >Im using turbine2.1 and it is not possible for us to >upgrade to the latest version. Would it be possible to send me this file so >I can integrate it into our application, or point me to where I can download >it? > Well you can access individual files through the jakarta cvs interface: http://cvs.apache.org/viewcvs/jakarta-turbine-torque/src/java/org/apache/torque/util/Criteria.java You can see the source for all the different changes that were added to the Critera.java file. I think the thing you need to do is check if the turbine2.1 you are using has a separate torque jar or not. If it does - just add the latest torque release (although there may be incompatibilities) . If it doesn't you could expand the turbine jar, find Criteria.java and replace it with a more recent version. What I do to use the latest torque code with turbine is create two connections to the database. One through Turbine and then a separate one through the latest Torque code. This means that I avoid conflict between the old and new libraries. Good luck with whatever approach you take. CHEERS> SAM -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
