Skip to site navigation (Press enter)

.get() and the zero primary key

Graham Leggett Fri, 14 May 2004 10:29:52 -0700

Hi all,

I have a table A, that is linked via a foreign key to table B. In table B there is a row with a primary key of zero, and in table A, the value of the foreign key is zero.

But: a.getB() returns null.

Is zero a special case in this situation? Why would torque choose not to return the row in B?

I am using torque v3.1 with postgresql.

Regards,
Graham
--


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



  • Previous message
  • View by thread
  • View by date
  • Next message

Reply via email to

The Mail Archive
  • The Mail Archive home
  • torque-user - all messages
  • torque-user - about the list
  • Expand
  • Previous message
  • Next message
  • The Mail Archive home
  • Add your mailing list
  • FAQ
  • Support
  • Privacy
  • [email protected]