]
Diego Pires Plentz resolved HHH-2934.
-------------------------------------
Assignee: Diego Pires Plentz
Resolution: Duplicate
ScrollableResults.get(int column) returns only the first character of
a database column type char(10)
-----------------------------------------------------------------------------------------------------
Key: HHH-2934
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2934
Project: Hibernate3
Issue Type: Bug
Components: query-sql
Affects Versions: 3.2.4.sp1
Environment: IBM DB2 8.1.7,
Reporter: Samir Jyoti
Assignee: Diego Pires Plentz
ScrollableResults.get(int column) returns only the first character of a database column
type char(n) where n> 1 (say 10 or 18).
So if your column has value 'SIMPSON ' , it only returns 'S'.
Had to warp the column with a DB2 SQL "VARCHAR" function to convert it into a
String.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: