Dear All,

I have a boolean property on an CMP entity bean. In the MySQL database I see
this type mapped to TINYINT(1), which is fine I guess.

Question one: I vaguely remember that the JavaBeans spec says that boolean
properties should have setFoo()/isFoo() instead of the setFOo()/getFoo()
combo. What's EJB's stance on this?

Question two: why does the value of the boolean stay at 0 (not NULL, so the
value is actually written) for either true or false in the database. It's
kind'a hard to distinguish true from false if they both map to 0. :-)

    Kees Jan

================================================
 You are only young once,
       but you can stay immature all your life.


Reply via email to