db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tak Fujimoto <t-fujim...@beingcorp.co.jp>
Subject Re: OrderBy NullPointerException
Date Tue, 22 Apr 2003 07:49:39 GMT
hello,

I had the same problem with torque-3.0.
I believe the column 'PASSWD' is varchar.
I think addAscendingOrderByColumn() only works for Integer key.
I couldn't solve the problem so I gave up.

Hope you'll find a workaround.

> I experienced a mysterious behaviour with torque-gen-3.1-alpha1
> When use OrderBy. Why?
------
>      [junit] java.lang.NullPointerException
------
> Test Program
> 
>             crit = new Criteria();
>             crit.addAscendingOrderByColumn(TPassPeer.PASSWD);
>             list = TPassPeer.doSelect(crit); 

Mime
View raw message