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: I18N compliance and Hibernate Custom Dialects
PostPosted: Mon Nov 06, 2006 6:05 pm 
Newbie

Joined: Mon Nov 06, 2006 5:57 pm
Posts: 1
I have searched high and low for some solid documentation on how to implement new dialects into hibernate. The original issue was that hiberate was not plugging in the needed characters for nationalization regardless of database.

I could go in a replace all tokens with the name varchar to nvarchar and char to nchar and text or clob to ntext for SQL Server and the same with Oracle with its datatypes but that is sloppy and redundant.

I have come to the conclusion that I wanted to implement an internationalized set of dialects for all supported databases and that the way to do this was to extend existing classes and call those directly when I needed a dialect.

Well the implementation as far as coding went well, but I get an cannot instantiate class dialect error. Is Hibernate using a class loader? Do I need to compile a new jar file any time I want to add a dialect or ugrade an existing version of Hibernate?

Any help is much appreciated.


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.