-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Cannot save unicode characters to SQL Server 2000 DB.
PostPosted: Thu Sep 06, 2007 6:43 pm 
Newbie

Joined: Sun Nov 12, 2006 9:24 pm
Posts: 5
Hi everyone,

I need to get my application to work with Polish characters but am having trouble at the database layer and I am wondering if Hibernate may have something to do with it.

I am using Hibernate 2.0 (looking to upgrade) with JBoss 3.2.5 and the JTDS database driver.

I have set the appropriate:
char.encoding -> UTF-8 and
sendStringParametersAsUnicode=true

and ensured my database has the appropriate nvarchar fields.

parameters on my connection but the sql statements being generated still contain warped versions of the polish characters.

Could this be Hibernate or am I barking up the wrong tree?

cheers,
Robert


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.