<?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: Using GORM in a Desktop Application</title>
	<atom:link href="http://jweldin.com/blog/?feed=rss2&#038;p=6" rel="self" type="application/rss+xml" />
	<link>http://jweldin.com/blog/?p=6</link>
	<description>Software Development</description>
	<pubDate>Mon, 06 Sep 2010 17:28:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: iongion</title>
		<link>http://jweldin.com/blog/?p=6&#038;cpage=1#comment-19</link>
		<dc:creator>iongion</dc:creator>
		<pubDate>Mon, 22 Dec 2008 08:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://jweldin.com/blog/?p=6#comment-19</guid>
		<description>"The next that thing I am going to be working on is getting the GORM classes to be loaded into the classloader used by the initially loaded class and not just in the dynamically loaded groovy script" -&gt; this would be also important to know if you managed a way to do it</description>
		<content:encoded><![CDATA[<p>&#8220;The next that thing I am going to be working on is getting the GORM classes to be loaded into the classloader used by the initially loaded class and not just in the dynamically loaded groovy script&#8221; -&gt; this would be also important to know if you managed a way to do it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iongion</title>
		<link>http://jweldin.com/blog/?p=6&#038;cpage=1#comment-18</link>
		<dc:creator>iongion</dc:creator>
		<pubDate>Mon, 22 Dec 2008 08:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://jweldin.com/blog/?p=6#comment-18</guid>
		<description>I've managed to make it work with those latest versions, what i am facing now in a slightly modified version of your tutorial is:

java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist

It loads up all the classes, creates the tables inserts the data, but i am stuck at this error.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve managed to make it work with those latest versions, what i am facing now in a slightly modified version of your tutorial is:</p>
<p>java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist</p>
<p>It loads up all the classes, creates the tables inserts the data, but i am stuck at this error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iongion</title>
		<link>http://jweldin.com/blog/?p=6&#038;cpage=1#comment-17</link>
		<dc:creator>iongion</dc:creator>
		<pubDate>Sat, 20 Dec 2008 00:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://jweldin.com/blog/?p=6#comment-17</guid>
		<description>can you please update on using gorm in the latest groovy/grails versions

groovy-1.5.7
grails-1.0.4

you would save mortal lives</description>
		<content:encoded><![CDATA[<p>can you please update on using gorm in the latest groovy/grails versions</p>
<p>groovy-1.5.7<br />
grails-1.0.4</p>
<p>you would save mortal lives</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iongion</title>
		<link>http://jweldin.com/blog/?p=6&#038;cpage=1#comment-16</link>
		<dc:creator>iongion</dc:creator>
		<pubDate>Fri, 12 Sep 2008 16:29:35 +0000</pubDate>
		<guid isPermaLink="false">http://jweldin.com/blog/?p=6#comment-16</guid>
		<description>I get this exception, tables get created but imediatedly 
after:

[java] INFO: schema export complete

i get this:

 java.lang.IncompatibleClassChangeError: Found interface groovy.lang.MetaClassRegistry but class was expected

Waht might be the reason?</description>
		<content:encoded><![CDATA[<p>I get this exception, tables get created but imediatedly<br />
after:</p>
<p>[java] INFO: schema export complete</p>
<p>i get this:</p>
<p> java.lang.IncompatibleClassChangeError: Found interface groovy.lang.MetaClassRegistry but class was expected</p>
<p>Waht might be the reason?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://jweldin.com/blog/?p=6&#038;cpage=1#comment-15</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Wed, 27 Aug 2008 18:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://jweldin.com/blog/?p=6#comment-15</guid>
		<description>Hi Jeremie

Thanks for the work. When using an Oracle XE DB the tables get created but then I get the following stack trace... Any ideas why? Does grails/hibernate use an auto-increment key or something unique to MySQL? Is there some hibernate property I am forgetting to set? (groovy-1.5.6 grails-1.0.3)
Dennis
 Caused by: java.lang.IncompatibleClassChangeError: Found interface groovy.lang.MetaClassRegistry, but class was expected
     at org.codehaus.groovy.grails.commons.metaclass.DynamicMethodsMetaClass.(DynamicMethodsMetaClass.java:70)
     at org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicMethods.(AbstractDynamicMethods.java:70)
     at org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicMethods.(AbstractDynamicMethods.java:58)
     at org.codehaus.groovy.grails.metaclass.DomainClassMethods.(DomainClassMethods.java:49)
     at org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil.configureDynamicMethodsFor(GrailsHibernateUtil.java:103)

     at org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil.configureDynamicMethods(GrailsHibernateUtil.java:65)</description>
		<content:encoded><![CDATA[<p>Hi Jeremie</p>
<p>Thanks for the work. When using an Oracle XE DB the tables get created but then I get the following stack trace&#8230; Any ideas why? Does grails/hibernate use an auto-increment key or something unique to MySQL? Is there some hibernate property I am forgetting to set? (groovy-1.5.6 grails-1.0.3)<br />
Dennis<br />
 Caused by: java.lang.IncompatibleClassChangeError: Found interface groovy.lang.MetaClassRegistry, but class was expected<br />
     at org.codehaus.groovy.grails.commons.metaclass.DynamicMethodsMetaClass.(DynamicMethodsMetaClass.java:70)<br />
     at org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicMethods.(AbstractDynamicMethods.java:70)<br />
     at org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicMethods.(AbstractDynamicMethods.java:58)<br />
     at org.codehaus.groovy.grails.metaclass.DomainClassMethods.(DomainClassMethods.java:49)<br />
     at org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil.configureDynamicMethodsFor(GrailsHibernateUtil.java:103)</p>
<p>     at org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil.configureDynamicMethods(GrailsHibernateUtil.java:65)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://jweldin.com/blog/?p=6&#038;cpage=1#comment-14</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sat, 19 Apr 2008 21:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://jweldin.com/blog/?p=6#comment-14</guid>
		<description>how to run it? I want to know it details</description>
		<content:encoded><![CDATA[<p>how to run it? I want to know it details</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://jweldin.com/blog/?p=6&#038;cpage=1#comment-13</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Tue, 08 Jan 2008 13:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://jweldin.com/blog/?p=6#comment-13</guid>
		<description>I have the same problem using Grails 1.0RC3 and a file-based HSQLDB. save(flush:true) didn't help, any other ideas?</description>
		<content:encoded><![CDATA[<p>I have the same problem using Grails 1.0RC3 and a file-based HSQLDB. save(flush:true) didn&#8217;t help, any other ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fran</title>
		<link>http://jweldin.com/blog/?p=6&#038;cpage=1#comment-12</link>
		<dc:creator>Fran</dc:creator>
		<pubDate>Fri, 04 Jan 2008 11:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://jweldin.com/blog/?p=6#comment-12</guid>
		<description>you must add this in the main

   props.put("hibernate.connection.autocommit","true");

and replace this 

   props.put("hibernate.hbm2ddl.auto","create-drop");

for this one

   props.put("hibernate.hbm2ddl.auto","update");</description>
		<content:encoded><![CDATA[<p>you must add this in the main</p>
<p>   props.put(&#8221;hibernate.connection.autocommit&#8221;,&#8221;true&#8221;);</p>
<p>and replace this </p>
<p>   props.put(&#8221;hibernate.hbm2ddl.auto&#8221;,&#8221;create-drop&#8221;);</p>
<p>for this one</p>
<p>   props.put(&#8221;hibernate.hbm2ddl.auto&#8221;,&#8221;update&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://jweldin.com/blog/?p=6&#038;cpage=1#comment-11</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Sun, 09 Dec 2007 18:44:28 +0000</pubDate>
		<guid isPermaLink="false">http://jweldin.com/blog/?p=6#comment-11</guid>
		<description>John, you may want to try a .save(flush:true). See http://grails.org/doc/1.0.x/ .</description>
		<content:encoded><![CDATA[<p>John, you may want to try a .save(flush:true). See <a href="http://grails.org/doc/1.0.x/" rel="nofollow">http://grails.org/doc/1.0.x/</a> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://jweldin.com/blog/?p=6&#038;cpage=1#comment-5</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Thu, 27 Sep 2007 16:42:40 +0000</pubDate>
		<guid isPermaLink="false">http://jweldin.com/blog/?p=6#comment-5</guid>
		<description>Hi Jeremie
Thanx, very useful for me too, but i have the same problem, data won't stay in the database. What can i change in my hibernate configuration? Dialect?</description>
		<content:encoded><![CDATA[<p>Hi Jeremie<br />
Thanx, very useful for me too, but i have the same problem, data won&#8217;t stay in the database. What can i change in my hibernate configuration? Dialect?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
