Details
-
Bug
-
Resolution: Done
-
Major
-
EAP 5.0.0
-
None
-
Hibernate 3.3.2.GA, Oracle 9.2, Oracle JDBC driver 10.2
-
Release Notes
-
Workaround Exists
-
-
-
Documented as Resolved Issue
-
NEW
Description
When executing a sql query which returns columns of sql type char, a java.lang.Character is returned. This leads to returning just the first character of the value, a String should be returned when the char type has a width > 1.
According to the community JIRA, the problem is in Dialect.java, where it registers all CHAR types to java.lang.Character.