Hi,

Yassine Lajmi wrote:
Hi all,

In my db table i have a tinyint(1) column.
can i map it to a boolean or Boolean attribute in my java bean ?

yes, see
http://db.apache.org/ojb/jdbc-types.html
field conversion.
There are many FieldConversion implementations shipped with OJB.
(e.g. Boolean2IntFieldConversion)

regards,
Armin

thank's



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






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



Reply via email to