HQL Query Japanese Text in an NVarChar?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nileshmantri
    New Member
    • Jun 2012
    • 1

    HQL Query Japanese Text in an NVarChar?

    I have problem for executing hibernate query for selecting japanese data which is in NVARCHAR datatype column.

    If I Prefix literal unicode strings with 'N' in HQL query, it will give exception as --> org.hibernate.h ql.ast.QuerySyn taxException: unexpected token: '日本語'

    Any help will be Appreciates.


    Thanks,

    Nilesh
Working...