-->
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: Sybase, UTF8 and String Primary Keys
PostPosted: Wed Nov 07, 2007 6:44 pm 
Newbie

Joined: Wed Nov 07, 2007 6:24 pm
Posts: 1
First of all: When using Sybase 12.5 with charset default "utf-8" this issues will not occur.

1. When I try to fetch some data from a Sybase 12.5 server (code page ISO8859-1) I receive a message telling UNICHAR and UNIVARCHAR are only avaliable when server's charset is utf-8. How can I set another codepage or disable utf-8 in nhibernate? (Vs2005 C# + Sybase.Data.AseClient 1.15.152.0). Database and client works fine without nhibernate.

2. When I try to fetch a collection from any table where the primary key is char or varchar I get no results. (same environment)

Any help is very welcome.


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.