I'm working on an Database Synchronization tool and my problem is that I have a char/varchar column type and this field is empty, when loading informations (SELECT) the method CharacterTypeDescriptor.wrap(X value, WrapperOptions options) throws a StringIndexOutOfBoundsException. By the way, looking at the implementation of method: "... if ( String.class.isInstance( value ) ) { final String str = (String) value; return Character.valueOf( str.charAt(0) ); ..."
I can realize that problem is on the "str.charAt(0)", my field(s) doesn't have any information, is empty and the system is a legacy system, I cannot modify that information. Does anyone have this problem (and it's solved?)
Hibernate v4.1.5.SP1, MySQL v5.1.63. Thanks.
|