db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Kromkamp <r.kromk...@pagelink.nl>
Subject nullpointer BasePeer
Date Mon, 30 May 2005 12:50:04 GMT
Hi all,

I'm trying to do a query with an order by on a foreign table.
A foreign table means another table than the one on which the doSelect is
executed. By example:

Get a person (PersonPeer executes the doSelect query) and order by Zipcode
(Adres is the foreign orderby table)

When i execute this i will get an error in BasePeer.java on line 1148:

ColumnMap column = dbMap.getTable(table).getColumn(columnName);

The adres table is not part a the dbMap (the Person table is part of it).
Is this a bug, do I do something wrong or does anyone have a solution?


To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message