db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Emminger <e...@ericemminger.com>
Subject Re: Torque Peer object produces bogus SQL statements
Date Wed, 14 May 2003 23:40:57 GMT
Graham

Graham Leggett wrote:
> Eric Emminger wrote:
> 
>> I believe part of your problem is you're using "policytype_id" for the 
>> column name instead of the corresponding static property in your *Peer 
>> object.
> 
> 
> This was exactly the problem - is it possible to use a type other than 
> String for the column name? - it is not clear from the javadocs that the 
> constants should be used. :(

No, it must be a String that's a fully-qualified name - 
[table].[column]. I think the docs on the web site are more clear than 
the javadocs. Feel free to improve the javadocs! :)

Eric


Mime
View raw message