<?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: UTF-8 with Hibernate 3.0 and MySQL</title>
	<atom:link href="http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/</link>
	<description>Thoughts and tutorials on web design, Java, Javascript and project management</description>
	<lastBuildDate>Tue, 07 Sep 2010 21:15:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: moien</title>
		<link>http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/comment-page-1/#comment-1170</link>
		<dc:creator>moien</dc:creator>
		<pubDate>Fri, 09 Jul 2010 08:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://deniss-mac.lan/isocra/newsite/blogs/?p=14#comment-1170</guid>
		<description>SOLVED!
i just had to drop the db and create it again with new unicode collation</description>
		<content:encoded><![CDATA[<p>SOLVED!<br />
i just had to drop the db and create it again with new unicode collation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moien</title>
		<link>http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/comment-page-1/#comment-1169</link>
		<dc:creator>moien</dc:creator>
		<pubDate>Fri, 09 Jul 2010 06:52:03 +0000</pubDate>
		<guid isPermaLink="false">http://deniss-mac.lan/isocra/newsite/blogs/?p=14#comment-1169</guid>
		<description>thanx for thiss usefull note.
but i still have a problem inserting persian characters

Hibernate: insert into Stocks (symbol, corpName, maxPrice, minPrice, lastPrice, finishedPrice, yesterdayPrice, changed, percent, bestRequest, bestOffer) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
765 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 1366, SQLState: HY000
765 [main] ERROR org.hibernate.util.JDBCExceptionReporter - Incorrect string value: &#039;\xD8\xB4\xD8\xA7\xD8\xB1...&#039; for column &#039;symbol&#039;</description>
		<content:encoded><![CDATA[<p>thanx for thiss usefull note.<br />
but i still have a problem inserting persian characters</p>
<p>Hibernate: insert into Stocks (symbol, corpName, maxPrice, minPrice, lastPrice, finishedPrice, yesterdayPrice, changed, percent, bestRequest, bestOffer) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)<br />
765 [main] WARN org.hibernate.util.JDBCExceptionReporter &#8211; SQL Error: 1366, SQLState: HY000<br />
765 [main] ERROR org.hibernate.util.JDBCExceptionReporter &#8211; Incorrect string value: &#8216;\xD8\xB4\xD8\xA7\xD8\xB1&#8230;&#8217; for column &#8217;symbol&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shawary</title>
		<link>http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/comment-page-1/#comment-1111</link>
		<dc:creator>shawary</dc:creator>
		<pubDate>Mon, 03 May 2010 06:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://deniss-mac.lan/isocra/newsite/blogs/?p=14#comment-1111</guid>
		<description>thanks a lot for your post .... i steel has this problem . i am using hibernate3 with spring and  jdbc:mysql://localhost/mydb?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF-8 dose not work 4 me please advice.</description>
		<content:encoded><![CDATA[<p>thanks a lot for your post &#8230;. i steel has this problem . i am using hibernate3 with spring and  jdbc:mysql://localhost/mydb?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF-8 dose not work 4 me please advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UTF-8 mit Hibernate und MySQL &#171; shaack´s Technik-Weblog</title>
		<link>http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/comment-page-1/#comment-942</link>
		<dc:creator>UTF-8 mit Hibernate und MySQL &#171; shaack´s Technik-Weblog</dc:creator>
		<pubDate>Mon, 23 Nov 2009 13:50:16 +0000</pubDate>
		<guid isPermaLink="false">http://deniss-mac.lan/isocra/newsite/blogs/?p=14#comment-942</guid>
		<description>[...] Gefunden auf: http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Gefunden auf: <a href="http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/" rel="nofollow">http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leonardo Pinheiro</title>
		<link>http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/comment-page-1/#comment-647</link>
		<dc:creator>Leonardo Pinheiro</dc:creator>
		<pubDate>Thu, 06 Nov 2008 19:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://deniss-mac.lan/isocra/newsite/blogs/?p=14#comment-647</guid>
		<description>Thanks for your suggestion, I&#039;ll use that with Grails.</description>
		<content:encoded><![CDATA[<p>Thanks for your suggestion, I&#8217;ll use that with Grails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BISOِ</title>
		<link>http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/comment-page-1/#comment-76</link>
		<dc:creator>BISOِ</dc:creator>
		<pubDate>Thu, 06 Mar 2008 08:40:51 +0000</pubDate>
		<guid isPermaLink="false">http://deniss-mac.lan/isocra/newsite/blogs/?p=14#comment-76</guid>
		<description>Thanks a lot, you post where very helpfull

BISO</description>
		<content:encoded><![CDATA[<p>Thanks a lot, you post where very helpfull</p>
<p>BISO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Bar-Sinai</title>
		<link>http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/comment-page-1/#comment-13</link>
		<dc:creator>Michael Bar-Sinai</dc:creator>
		<pubDate>Sat, 26 May 2007 16:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://deniss-mac.lan/isocra/newsite/blogs/?p=14#comment-13</guid>
		<description>jdbc:mysql://localhost/mydb?characterEncoding=UTF-8</description>
		<content:encoded><![CDATA[<p>jdbc:mysql://localhost/mydb?characterEncoding=UTF-8</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Bar-Sinai</title>
		<link>http://www.isocra.com/2007/01/utf-8-with-hibernate-30-and-mysql/comment-page-1/#comment-5</link>
		<dc:creator>Michael Bar-Sinai</dc:creator>
		<pubDate>Sat, 26 May 2007 16:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://deniss-mac.lan/isocra/newsite/blogs/?p=14#comment-5</guid>
		<description>Thanks for this useful post - I had the same problem and didn&#039;t know what to do.

One update for using JPA: not all the parameters are needed and they cause an exception while hibernate tries to parse the persistence.xml file. For me, the following work fine (for hebrew):

&lt;property name=&quot;hibernate.connection.url&quot; value=&quot;jdbc:mysql://localhost/second_homes?characterEncoding=UTF-8&quot;/&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for this useful post &#8211; I had the same problem and didn&#8217;t know what to do.</p>
<p>One update for using JPA: not all the parameters are needed and they cause an exception while hibernate tries to parse the persistence.xml file. For me, the following work fine (for hebrew):</p>
<p>&lt;property name=&#8221;hibernate.connection.url&#8221; value=&#8221;jdbc:mysql://localhost/second_homes?characterEncoding=UTF-8&#8243;/&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
