db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris K Chew" <ch...@fenetics.com>
Subject RE: addAscendingOrderBy problem
Date Mon, 16 Dec 2002 19:46:17 GMT
> prescott balch:
> when I use a varchar column it gives me nullPointerException building
> the query string in BasePeer.

Is there a reason you are using the Generic BasePeer instead of the Peer
generated for that table?  Just for grins, does the problem still occur if
you use the specific Peer? I.E., change:

List results = BasePeer.doSelect(criteria);

...to...

List results = CustomerPeer.doSelect(criteria);

Chris


Mime
View raw message