Beginner |
|
Joined: Thu Nov 20, 2003 8:13 pm Posts: 31 Location: Newport Beach, CA
|
Given the following Oracle ddl snippet:
enabled CHAR(1) default 'T' not null check (enabled in ('T','F')),
and the following mapping snippet:
<property name="enabled" column="enabled" type="true_false"/>
and the following Java snippet:
private boolean enabled;
why am I getting / how do I fix the following?:
java.sql.SQLException: java.lang.NumberFormatException: T
Do I have to use java.lang.Boolean? I would like to stick with the primitive type.
TIA!
Justin
|
|