-->
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: internationalisation of import.sql
PostPosted: Thu Sep 24, 2009 10:14 am 
Newbie

Joined: Fri Apr 11, 2008 7:33 am
Posts: 3
Hallo,

were are using import.sql to load some seed data after initial database creation by setting hibernate.hbm2ddl.auto=create.
The problem is, that some special German characters (üäöß-Umlauts) are not inserted correctly into mysql database. Using a database tool they are shown as cryptic characters.

I cannot find some detailed information about the usage of import.sql. Is there a more detail documentation somewhere?
Is it necessary to set a character encoding somewhere in persistence.xml, import.sql or elsewhere?

Environnment:
JBoss 5.0.1 (Windows)
EJB 3.0
hibernate-core specVersion 3.3.1.GA
hibernate-entitymanager specVersion 1.0
mysql-connector-java-5.0.8.jar
MySql 5.0.51 (Windows and Linux)
Eclipse 3.4.2

Thanks for your help
Viktor


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.