db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Koranda" <m...@orkan.no>
Subject Criterion patch
Date Fri, 20 Dec 2002 12:29:45 GMT
Greetings, I have never submittted anything before but I came accross an
issue in Criteria.Criterion that I would like to submit a fix for.

Line number 3427:
    if  (table == null)

Should be:
    if  (table == null || table == "")

This is because several of the Criterion() constuctor methods set a blank
table variable to "". When I use the setHaving() method it was being set to:
.COLUMNNAME = *whatever*
and producing an error.

As I said, this is my first attempt to submit anything so please let me know
if there is a better way.

Thank you,

View raw message