-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: EAP 5.0.0
-
Fix Version/s: EAP_EWP 5.2.0
-
Component/s: Hibernate
-
Labels:None
-
Environment:
Hibernate 3.3.2.GA, Oracle 9.2, Oracle JDBC driver 10.2
-
Affects:Release Notes
-
Workaround:Workaround Exists
-
Workaround Description:
-
Release Notes Text:
-
Release Notes Docs Status:Documented as Resolved Issue
-
Docs QE Status:NEW
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.