Hello,

I have a class A with subclasses B and C.
All classes are mapped to one table.
When I store an instance of class C, OJB
assigns null to those columns of that table 
that correspond to fields of class B.  

That is fine.

However, one of these fields of class B is
of type boolean and mapped to jdbc-type BIT
in the sybase database, and hence not nullable.

A possible workaround is to store that boolean
in a TINYINT or any other nullable type.
But I would prefer to let OJB assign some value
(say false) to that table column on storing C-objects.

Can I do that?

Olli

-- 
  Oliver Matz
  ppi Media GmbH
  Deliusstra�e 10
  D-24114 Kiel
  phone         +49 (0) 43 1-53 53-422
  fax           +49 (0) 43 1-53 53-2 22
  email mailto:[EMAIL PROTECTED]
  web   www.ppi.de

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

Reply via email to