Hi,
I am facing a problem in mapping to a Char type.
In my oracle table i have defined a column as Char(1) as a Nullable column.
In Mapping file i have defined
<property name="switch" type="char">
<column name="VAL_SW" length="1" />
</property>
in the bean i have defined the switch as char and given set and get methods.
I get the below error when i launch the page.
ORA-01401: inserted value too large for column ; nested exception is java.sql.BatchUpdateException: ORA-01401: inserted value too large for column
Could you please help on this.
Regards,
Prasanth
|