I have an Entity mapping defined in my xml configuration that maps to a table. In that table, one of the column is of char datatype in Oracle. When I try to fetch them, I get the following error:
In my mapping xml, I have this field as below: (the rest of the xml is ignored for brevity)
But this field is defined as boolean in my Entity. So how to overcome this? I know that I can use the Hibernate Annotations that has a converter to convert the char to a boolean representation. But that requires the use of annotations and I want to abstain form using annotations in my Entities. Any alternatives?