<?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: JPA and Groovy</title>
	<atom:link href="http://www.curious-creature.org/2007/03/23/jpa-and-groovy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.curious-creature.org/2007/03/23/jpa-and-groovy/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 09:31:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Sammie Quinn</title>
		<link>http://www.curious-creature.org/2007/03/23/jpa-and-groovy/comment-page-1/#comment-2303</link>
		<dc:creator>Sammie Quinn</dc:creator>
		<pubDate>Thu, 13 Nov 2008 03:38:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2007/03/23/jpa-and-groovy/#comment-2303</guid>
		<description>14xfmmbf9q6lpu94</description>
		<content:encoded><![CDATA[<p>14xfmmbf9q6lpu94</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Romain Guy</title>
		<link>http://www.curious-creature.org/2007/03/23/jpa-and-groovy/comment-page-1/#comment-908</link>
		<dc:creator>Romain Guy</dc:creator>
		<pubDate>Mon, 11 Jun 2007 07:04:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2007/03/23/jpa-and-groovy/#comment-908</guid>
		<description>James,

Hibernate was too much of a pain to configure. Just figuring out what jars to put in my application drove me away. TopLink was a single jar. Besides, why Hibernate and not TopLink? :)</description>
		<content:encoded><![CDATA[<p>James,</p>
<p>Hibernate was too much of a pain to configure. Just figuring out what jars to put in my application drove me away. TopLink was a single jar. Besides, why Hibernate and not TopLink? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Chua</title>
		<link>http://www.curious-creature.org/2007/03/23/jpa-and-groovy/comment-page-1/#comment-907</link>
		<dc:creator>James Chua</dc:creator>
		<pubDate>Sun, 10 Jun 2007 08:53:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2007/03/23/jpa-and-groovy/#comment-907</guid>
		<description>Hi Romain,

May I know why you don&#039;t want to use hibernated with JPA?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Romain,</p>
<p>May I know why you don&#8217;t want to use hibernated with JPA?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Risberg</title>
		<link>http://www.curious-creature.org/2007/03/23/jpa-and-groovy/comment-page-1/#comment-574</link>
		<dc:creator>Thomas Risberg</dc:creator>
		<pubDate>Sun, 25 Mar 2007 12:46:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2007/03/23/jpa-and-groovy/#comment-574</guid>
		<description>Romain, glad you got it to work.  The orm.xml file is a way to externalize your configuration and override all or some of your annotations so they can be changed without having to recompile your code.  This is of course a moot point when you are using Groovy :)  You can have multiple orm.xml files and specify the names in the persistence.xml file.  I have no idea why specifying the class in the orm.xml file works while specifying it in persistence.xml doesn&#039;t.  Hopefully someone from the TopLink project can shed some light here.</description>
		<content:encoded><![CDATA[<p>Romain, glad you got it to work.  The orm.xml file is a way to externalize your configuration and override all or some of your annotations so they can be changed without having to recompile your code.  This is of course a moot point when you are using Groovy :)  You can have multiple orm.xml files and specify the names in the persistence.xml file.  I have no idea why specifying the class in the orm.xml file works while specifying it in persistence.xml doesn&#8217;t.  Hopefully someone from the TopLink project can shed some light here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Romain Guy</title>
		<link>http://www.curious-creature.org/2007/03/23/jpa-and-groovy/comment-page-1/#comment-572</link>
		<dc:creator>Romain Guy</dc:creator>
		<pubDate>Sun, 25 Mar 2007 05:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2007/03/23/jpa-and-groovy/#comment-572</guid>
		<description>Never mind, my bad. I messed up with Groovy&#039;s snapshots. Everything is fine.</description>
		<content:encoded><![CDATA[<p>Never mind, my bad. I messed up with Groovy&#8217;s snapshots. Everything is fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Romain Guy</title>
		<link>http://www.curious-creature.org/2007/03/23/jpa-and-groovy/comment-page-1/#comment-571</link>
		<dc:creator>Romain Guy</dc:creator>
		<pubDate>Sun, 25 Mar 2007 05:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2007/03/23/jpa-and-groovy/#comment-571</guid>
		<description>Thomas, with your minimal version, I get another error. TopLink complains about not finding any @Id in the Person class.</description>
		<content:encoded><![CDATA[<p>Thomas, with your minimal version, I get another error. TopLink complains about not finding any @Id in the Person class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Romain Guy</title>
		<link>http://www.curious-creature.org/2007/03/23/jpa-and-groovy/comment-page-1/#comment-570</link>
		<dc:creator>Romain Guy</dc:creator>
		<pubDate>Sun, 25 Mar 2007 04:44:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2007/03/23/jpa-and-groovy/#comment-570</guid>
		<description>Thomas, thanks a lot! I was indeed using a snapshot of Groovy that does support annotations, which is not Groovy 1.0. What is orm.xml? How is it different from specifying &lt;class /&gt; entries in persistence.xml? I&#039;ll use this until a fix is found in either Groovy and/or TopLink though. Thanks again!</description>
		<content:encoded><![CDATA[<p>Thomas, thanks a lot! I was indeed using a snapshot of Groovy that does support annotations, which is not Groovy 1.0. What is orm.xml? How is it different from specifying <class /> entries in persistence.xml? I&#8217;ll use this until a fix is found in either Groovy and/or TopLink though. Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Risberg</title>
		<link>http://www.curious-creature.org/2007/03/23/jpa-and-groovy/comment-page-1/#comment-569</link>
		<dc:creator>Thomas Risberg</dc:creator>
		<pubDate>Sun, 25 Mar 2007 03:22:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2007/03/23/jpa-and-groovy/#comment-569</guid>
		<description>Not so sure it is the lack of annotation support that is the problem.  Groovy 1.0 doesn&#039;t work with the annotations but built a current snapshot of Groovy 1.0.1 and now the JPA annotations are picked up.  I still need a minimal entry in orm.xml to get the class to be found - probably a classloading issue.  If I use this

    &lt;entity class=&quot;Person&quot; name=&quot;Person&quot; metadata-complete=&quot;false&quot; access=&quot;FIELD&quot;&gt;
    &lt;/entity&gt;

in orm.xml instead of referencing the class in persistence.xml everything works OK.</description>
		<content:encoded><![CDATA[<p>Not so sure it is the lack of annotation support that is the problem.  Groovy 1.0 doesn&#8217;t work with the annotations but built a current snapshot of Groovy 1.0.1 and now the JPA annotations are picked up.  I still need a minimal entry in orm.xml to get the class to be found &#8211; probably a classloading issue.  If I use this</p>
<p>    &lt;entity class=&#8221;Person&#8221; name=&#8221;Person&#8221; metadata-complete=&#8221;false&#8221; access=&#8221;FIELD&#8221;&gt;<br />
    &lt;/entity&gt;</p>
<p>in orm.xml instead of referencing the class in persistence.xml everything works OK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Risberg</title>
		<link>http://www.curious-creature.org/2007/03/23/jpa-and-groovy/comment-page-1/#comment-566</link>
		<dc:creator>Thomas Risberg</dc:creator>
		<pubDate>Sat, 24 Mar 2007 23:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2007/03/23/jpa-and-groovy/#comment-566</guid>
		<description>I wasn&#039;t quite clear above - I had to remove the Person class reference from the peristence XML file to get it to work.</description>
		<content:encoded><![CDATA[<p>I wasn&#8217;t quite clear above &#8211; I had to remove the Person class reference from the peristence XML file to get it to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Risberg</title>
		<link>http://www.curious-creature.org/2007/03/23/jpa-and-groovy/comment-page-1/#comment-565</link>
		<dc:creator>Thomas Risberg</dc:creator>
		<pubDate>Sat, 24 Mar 2007 23:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2007/03/23/jpa-and-groovy/#comment-565</guid>
		<description>The orm.xml didn&#039;t make it into the post - try this &lt;a href=&quot;http://www.springdeveloper.com/downloads/orm.xml&quot; rel=&quot;nofollow&quot;&gt;link&lt;/a&gt; to download it.</description>
		<content:encoded><![CDATA[<p>The orm.xml didn&#8217;t make it into the post &#8211; try this <a href="http://www.springdeveloper.com/downloads/orm.xml" rel="nofollow">link</a> to download it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

