[OJB-developers] zero values at INT primaryKey columns
Brought to you by:
thma
From: Leandro R. S. C. <le...@ib...> - 2002-05-07 22:18:57
|
Hi all. I'm having some problems when I try to pull some objects from the DB wich have their Primary key values set to 0 ( zero ). this happens at ClassDescriptor.getAutoIncrementValue(), line 766 where the actual value of my pk field is compared to NULL or ZERO. Why is that ? Can I have INT PK fields with value == ZERO ?? or not ? -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br |