On Sybase ASE, it removes all trailing spaces when inserting data to varchar

Description

It's an ASE defect. Inserting data 'ABC ', it will be 'ABC' (truncates tailing blank spaces).

The following tests are failure.

org.hibernate.test.hql.FunctionNameAsColumnTest
testGetMultiColumnSameNameAsArgFunctionCriteria
testGetMultiColumnSameNameAsArgFunctionHQL
testGetOneColumnSameNameAsArgFunctionCriteria
testGetOneColumnSameNameAsArgFunctionHQL

Environment

Hibernate 3.6.6, Sybase ASE15.5, JDK 1.6, Windows XP

Activity

Show:
Strong Liu
August 29, 2011, 5:04 PM

this is a known sybase issue, and I was told it will be fixed in next sybase release

Strong Liu
October 26, 2011, 12:47 PM

please let me know when this is fixed in sybase

Brett Meyer
March 7, 2014, 5:30 PM

Bulk closing rejected tickets in "resolved" state.

Assignee

Strong Liu

Reporter

Ren Junyan

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure