I recently updated my CVS and rebuilt to try out the new datasource
stuff. Some stuff is working, but it seems like trying to use an order
by column fails with a NullPointerException. I traced it back to this:
(line 1050, BasePeer.java)
DB db = Torque.getDB( criteria.getDbName() );
It's returning null, so later when it tries to add an orderByClause:
(line 1277)
orderByClause.add(db.ignoreCaseInOrderBy(
orderByColumn.substring(0, spacePos))
+ orderByColumn.substring(spacePos) );
It fails.
-james
--
[] James A. Hillyerd <[EMAIL PROTECTED]> - Java Software Engineer
[] PGP 1024D/D31BC40D F87B 7906 C0DA 32E8 B8F6 DE23 FBF6 4712 D31B C40D
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>