db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prescott R. Balch <presc...@prescottbalch.org>
Subject Re: addAscendingOrderBy problem
Date Mon, 16 Dec 2002 19:28:28 GMT

No it is not.  And the SQL query never hits the database.  I turned on
log4j debugging in the torque classes and in the database (mysql) and
the code never gets far enough to hit the db.

> Is that column null in any of the rows that you select?
> 
> Eric
> 
> On Sun, 2002-12-15 at 20:30, Prescott R. Balch wrote:
> > 
> > I am using torque-3.0 and having a problem with addAscendingOrderBy on
> > varchar columns.  When I use an integer column, it works fine, but
> > when I use a varchar column it gives me nullPointerException building
> > the query string in BasePeer.  The line number from the stack trace
> > implies that it occurs, as expected, in the code that is building the
> > orderBy statement.
> > 
> > Any help is appreciated.
> > 
> > prescott balch
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:turbine-torque-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:turbine-torque-user-help@jakarta.apache.org>
> -- 
> Eric Emminger
> eric@ericemminger.com
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-torque-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-torque-user-help@jakarta.apache.org>
> 

Mime
View raw message