ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Antoine <oli.anto...@gmail.com>
Subject boolean JavaType and mapping
Date Thu, 19 Jan 2006 22:20:13 GMT
Hello everyone,
I have to re-write a website with an existant MySQL database with an 
important number of data ...so i could not change database structure 
(column type and so on)

I m'a sking if it's possible and so ...How to?

make a mapping between
a boolean from my java bean class and an integer in my database column 

for example when in my database I have 1 it return true in my boolean 
and inverse.

thanks a lot,

View raw message