Issue Type: Bug Bug
Assignee: Unassigned
Created: 15/Jun/12 7:41 AM
Description:

Hibernate (HQL) query is not working properly if column (NVARCHAR datatype) data contains japanese character. It does not return any result after comparing japanese data.

After Prefixing literal unicode strings with 'N' plain JDBC query works fine, but HQL query gives org.hibernate.hql.ast.QuerySyntaxException: unexpected token: '日本語'

Environment: Hibernate version : 3.6.10 Database : MSSQL Server 2005
Project: Hibernate Validator
Priority: Major Major
Reporter: Nilesh Mantri
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira