db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Emminger <e...@ericemminger.com>
Subject Re: addAscendingOrderBy problem
Date Mon, 16 Dec 2002 19:38:52 GMT
Prescott

Would you send the stack trace and some info on your setup?

For example, I'm using
TDK 2.2 RC2
PostgreSQL 7.2
Ant 1.5.1
Maven 1.0-beta-7
Java SDK 1.4.0_01
Linux

Eric

On Mon, 2002-12-16 at 14:28, Prescott R. Balch wrote:
> 
> 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>
> > 
> 
> --
> 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


Mime
View raw message