<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: More UTF-8 head-thumping with Hibernate 3</title>
	<atom:link href="http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/</link>
	<description>Philip Jacob's web page</description>
	<lastBuildDate>Tue, 13 Sep 2011 08:59:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mohammad Ilyas Soomro</title>
		<link>http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/comment-page-1/#comment-200682</link>
		<dc:creator>Mohammad Ilyas Soomro</dc:creator>
		<pubDate>Mon, 18 Apr 2011 17:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/#comment-200682</guid>
		<description>In Hibernate 3.0 with MySQL 4 and mysql-connector 3.0.8, UTF-8 is not working…
core mysql APIs are fetching and inserting utf8 characters correctly, but Hibernate session is not selecting or inserting special characters. I have tried it with Hibernate 3.0 + Mysql 5 + mysql-connector 5.0.8, working fine… but not with above config

Please help me, how can I insert special characters (UTF-8) using this config : Hibernate 3.0 + Mysql 4.0.1 + mysql-connector 3.0.8

my hibernat-cfg.xml file contain:

true
UTF-8

In JSPs :

in HTML :

Even I am using :
request.setCharacterEncoding(“UTF-8″);
in Filter.

I will highly appreciate…</description>
		<content:encoded><![CDATA[<p>In Hibernate 3.0 with MySQL 4 and mysql-connector 3.0.8, UTF-8 is not working…<br />
core mysql APIs are fetching and inserting utf8 characters correctly, but Hibernate session is not selecting or inserting special characters. I have tried it with Hibernate 3.0 + Mysql 5 + mysql-connector 5.0.8, working fine… but not with above config</p>
<p>Please help me, how can I insert special characters (UTF-8) using this config : Hibernate 3.0 + Mysql 4.0.1 + mysql-connector 3.0.8</p>
<p>my hibernat-cfg.xml file contain:</p>
<p>true<br />
UTF-8</p>
<p>In JSPs :</p>
<p>in HTML :</p>
<p>Even I am using :<br />
request.setCharacterEncoding(“UTF-8″);<br />
in Filter.</p>
<p>I will highly appreciate…</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duke</title>
		<link>http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/comment-page-1/#comment-23602</link>
		<dc:creator>Duke</dc:creator>
		<pubDate>Tue, 01 May 2007 12:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/#comment-23602</guid>
		<description>Arrr thanks! Your approach worked for my charset problem too.</description>
		<content:encoded><![CDATA[<p>Arrr thanks! Your approach worked for my charset problem too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dube</title>
		<link>http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/comment-page-1/#comment-21943</link>
		<dc:creator>dube</dc:creator>
		<pubDate>Wed, 18 Apr 2007 21:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/#comment-21943</guid>
		<description>Arrr thanks! Your approach worked for my charset problem too.

have latin1 encoded tables and use hibernate3:
?useUnicode=true&amp;characterEncoding=iso-8859-1

- autoreconnect does not rely to the problem so I skipped that
- I use &amp; because of xml configuration :)</description>
		<content:encoded><![CDATA[<p>Arrr thanks! Your approach worked for my charset problem too.</p>
<p>have latin1 encoded tables and use hibernate3:<br />
?useUnicode=true&amp;characterEncoding=iso-8859-1</p>
<p>- autoreconnect does not rely to the problem so I skipped that<br />
- I use &amp; because of xml configuration <img src='http://www.whirlycott.com/phil/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isocra blog</title>
		<link>http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/comment-page-1/#comment-9884</link>
		<dc:creator>Isocra blog</dc:creator>
		<pubDate>Fri, 12 Jan 2007 13:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/#comment-9884</guid>
		<description>&lt;strong&gt;UTF-8 with Hibernate 3.0...&lt;/strong&gt;

Hi again, I&#039;m now tackling something I&#039;ve been meaning to do for ages (and probably should have done before I started the project) and that is to use Hibernate rather than rolling my own SQL.

I&#039;m reading the book &quot;Hibernate in Action&quot; by Christ...</description>
		<content:encoded><![CDATA[<p><strong>UTF-8 with Hibernate 3.0&#8230;</strong></p>
<p>Hi again, I&#8217;m now tackling something I&#8217;ve been meaning to do for ages (and probably should have done before I started the project) and that is to use Hibernate rather than rolling my own SQL.</p>
<p>I&#8217;m reading the book &#8220;Hibernate in Action&#8221; by Christ&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart Cilfone</title>
		<link>http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/comment-page-1/#comment-1995</link>
		<dc:creator>Bart Cilfone</dc:creator>
		<pubDate>Sun, 28 May 2006 20:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.whirlycott.com/phil/2006/05/28/more-utf-8-head-thumping-with-hibernate-3/#comment-1995</guid>
		<description>This solution would seem to indicate that the problem is with mysql rather than Hibernate.

Last year, I went through our app at work to enable full UTF-8 support across every layer and found that literally every layer was misconfigured.  Even before my effort, UTF-8 would seem to work in some areas of the site, but it was purely by accident.  We&#039;re using Oracle and a legacy Java app server and so the data was getting into the JVM memory space in tact from the database, but when when being rendered out to the pages it was being garbled in several various exciting ways.

While it was a very frustrating effort - the result of all the effort is that a web page shows accented text correctly - it was very rewarding as far as learning about a whole area of software that us stupid Americans usually don&#039;t have to worry about.</description>
		<content:encoded><![CDATA[<p>This solution would seem to indicate that the problem is with mysql rather than Hibernate.</p>
<p>Last year, I went through our app at work to enable full UTF-8 support across every layer and found that literally every layer was misconfigured.  Even before my effort, UTF-8 would seem to work in some areas of the site, but it was purely by accident.  We&#8217;re using Oracle and a legacy Java app server and so the data was getting into the JVM memory space in tact from the database, but when when being rendered out to the pages it was being garbled in several various exciting ways.</p>
<p>While it was a very frustrating effort &#8211; the result of all the effort is that a web page shows accented text correctly &#8211; it was very rewarding as far as learning about a whole area of software that us stupid Americans usually don&#8217;t have to worry about.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

