-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate support for Supplementary Unicode Characters
PostPosted: Tue Mar 21, 2006 2:31 am 
Newbie

Joined: Wed Nov 16, 2005 11:52 am
Posts: 6
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:3.1

Name and version of the database you are using:MySQL 5.0

I am writing an application that may take as input supplementary unicode characters.( i.e. characters in unicode that have code points greater than U+FFFF.) Java 5.0 supports these characters.

1. Does hibernate support supplementary characters ?
2. Does the choice of database pose any problems?


thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 7:20 pm 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
Hibernate doesn't care one way or the other. If you can put them in a String, Blob or Clob, then you can persist them.

Yes, your choice of DB matters. If you're storing these characters to a varchar, char or clob/text column, you may have to escape the characters, depending on your DB. If you store the data in blobs, then there are no dificulties (other than having to deal with blobs).


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

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.