Please correct me if there are some mistake by me.
I'm using JPA to use or/m in my projects.
I have table let say " customers" which one of attribute is "valid" with bit type.
In my POJO class its mapped to Boolean type,then I using operation from EntityManager with queryNamed("findByValid");
for example :
The problem is it throw some exception : oracle.toplink.essentials.exceptions.ConversionException
Can I use bit type in database(mysql) and mapped it to Boolean?
Every suggestion would be appreciate.
Thanks in advance.
--- masse satriana ---