<?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: Generate JPA (or GORM) classes from your database for Java and Grails</title> <atom:link href="http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/feed/" rel="self" type="application/rss+xml" /><link>http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/</link> <description>Rants about Java and other internet technologies by Sam Pullara</description> <lastBuildDate>Wed, 18 Jan 2012 14:14:00 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>By: openkinga</title><link>http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/comment-page-1/#comment-990</link> <dc:creator>openkinga</dc:creator> <pubDate>Fri, 23 Oct 2009 16:49:06 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/#comment-990</guid> <description>Incollege right now will read this latter &lt;br&gt;&lt;br&gt;regards&lt;br&gt;freanch&lt;br&gt;______________________________________________&lt;br&gt;&lt;a href=&quot;http://www.oforu.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Cheap Aion kinah&lt;/a&gt; &#124; &lt;a href=&quot;http://www.eing.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Aion Powerleveling&lt;/a&gt;</description> <content:encoded><![CDATA[<p>Incollege right now will read this latter</p><p>regards<br
/>freanch<br
/>______________________________________________<br
/><a
href="http://www.oforu.com" target="_blank" rel="nofollow">Cheap Aion kinah</a> | <a
href="http://www.eing.com" target="_blank" rel="nofollow">Aion Powerleveling</a></p> ]]></content:encoded> </item> <item><title>By: Alisha D Herron</title><link>http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/comment-page-1/#comment-908</link> <dc:creator>Alisha D Herron</dc:creator> <pubDate>Wed, 04 Feb 2009 00:08:06 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/#comment-908</guid> <description>nice article! nice site. you&#039;re in my rss feed now ;-)&lt;br&gt;keep it up</description> <content:encoded><![CDATA[<p>nice article! nice site. you&#39;re in my rss feed now <img
src='http://www.javarants.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> <br
/>keep it up</p> ]]></content:encoded> </item> <item><title>By: Jungle Java</title><link>http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/comment-page-1/#comment-39</link> <dc:creator>Jungle Java</dc:creator> <pubDate>Sat, 20 Oct 2007 12:52:22 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/#comment-39</guid> <description>&lt;strong&gt;Jungle Java - Grails 1.0 RC1 リリース&lt;/strong&gt;
「Grails 1.0 RC1」 がリリースされました。O/R マッピングのための DSL が導入されるなどの変更・改善が行われています。また、「DBMapper plugin」 などのプラグインも登場しています。</description> <content:encoded><![CDATA[<p><strong>Jungle Java &#8211; Grails 1.0 RC1 リリース</strong></p><p>「Grails 1.0 RC1」 がリリースされました。O/R マッピングのための DSL が導入されるなどの変更・改善が行われています。また、「DBMapper plugin」 などのプラグインも登場しています。</p> ]]></content:encoded> </item> <item><title>By: Stephan Schmidt</title><link>http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/comment-page-1/#comment-38</link> <dc:creator>Stephan Schmidt</dc:creator> <pubDate>Mon, 15 Oct 2007 15:30:01 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/#comment-38</guid> <description>Hi Sam,
thanks for the feedback, I&#039;ll try RC1 and see if it works. When you try JPA directly later, it would be nice to drop me a note with
the result, perhaps on my blog / using mail.
Thanks
-stephan</description> <content:encoded><![CDATA[<p>Hi Sam,</p><p>thanks for the feedback, I&#8217;ll try RC1 and see if it works. When you try JPA directly later, it would be nice to drop me a note with<br
/> the result, perhaps on my blog / using mail.</p><p>Thanks<br
/> -stephan</p> ]]></content:encoded> </item> <item><title>By: sam</title><link>http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/comment-page-1/#comment-37</link> <dc:creator>sam</dc:creator> <pubDate>Mon, 15 Oct 2007 15:15:12 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/#comment-37</guid> <description>&lt;blockquote&gt;&lt;p&gt;I tried it with Oracle, got an “ORA-00942 Table or View does not exist”. Any Ideas ?&lt;/p&gt;
&lt;p&gt;java -classpath .;ojdbc5.jar;dbmap-r12.jar com.moonspider.dbmap.Generator -url jdbc:oracle:thin:@192.168.1.220:1521:mydb -user myuser -password mypass -driver oracle.jdbc.driver.OracleDriver -d mydb&lt;br&gt;
Error: java.sql.SQLException: ORA-00942: Tabelle oder View nicht vorhanden&lt;/p&gt;
&lt;p&gt;Usage: com.moonspider.dbmap.GenerateConfig&lt;br&gt;
…&lt;/p&gt;
&lt;/blockquote&gt;
Hi Parker,
I&#039;ve added an issue to the tracker on the site: http://code.google.com/p/dbmapper/issues/detail?id=1 .  Can you rerun the command line with -Ddebug=true and post the stacktrace to the issue that I&#039;ve opened?
Thanks,
Sam</description> <content:encoded><![CDATA[<blockquote><p>I tried it with Oracle, got an “ORA-00942 Table or View does not exist”. Any Ideas ?</p><p>java -classpath .;ojdbc5.jar;dbmap-r12.jar com.moonspider.dbmap.Generator -url jdbc:oracle:thin:@192.168.1.220:1521:mydb -user myuser -password mypass -driver oracle.jdbc.driver.OracleDriver -d mydb<br
/> Error: java.sql.SQLException: ORA-00942: Tabelle oder View nicht vorhanden</p><p>Usage: com.moonspider.dbmap.GenerateConfig<br
/> …</p></blockquote><p>Hi Parker,</p><p>I&#8217;ve added an issue to the tracker on the site: <a
href="http://code.google.com/p/dbmapper/issues/detail?id=1" rel="nofollow">http://code.google.com/p/dbmapper/issues/detail?id=1</a> .  Can you rerun the command line with -Ddebug=true and post the stacktrace to the issue that I&#8217;ve opened?</p><p>Thanks,<br
/> Sam</p> ]]></content:encoded> </item> <item><title>By: Parker</title><link>http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/comment-page-1/#comment-35</link> <dc:creator>Parker</dc:creator> <pubDate>Mon, 15 Oct 2007 14:50:18 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/#comment-35</guid> <description>I tried it with Oracle, got an &quot;ORA-00942 Table or View does not exist&quot;. Any Ideas ?
java -classpath .;ojdbc5.jar;dbmap-r12.jar com.moonspider.dbmap.Generator -url jdbc:oracle:thin:@192.168.1.220:1521:mydb -user myuser -password mypass -driver oracle.jdbc.driver.OracleDriver -d mydb
Error: java.sql.SQLException: ORA-00942: Tabelle oder View nicht vorhanden
Usage: com.moonspider.dbmap.GenerateConfig
...</description> <content:encoded><![CDATA[<p>I tried it with Oracle, got an &#8220;ORA-00942 Table or View does not exist&#8221;. Any Ideas ?</p><p>java -classpath .;ojdbc5.jar;dbmap-r12.jar com.moonspider.dbmap.Generator -url jdbc:oracle:thin:@192.168.1.220:1521:mydb -user myuser -password mypass -driver oracle.jdbc.driver.OracleDriver -d mydb<br
/> Error: java.sql.SQLException: ORA-00942: Tabelle oder View nicht vorhanden</p><p>Usage: com.moonspider.dbmap.GenerateConfig<br
/> &#8230;</p> ]]></content:encoded> </item> <item><title>By: sam</title><link>http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/comment-page-1/#comment-33</link> <dc:creator>sam</dc:creator> <pubDate>Mon, 15 Oct 2007 14:26:26 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/#comment-33</guid> <description>Hi Stephen,
The Grails support is tested with the Grail-1.0-RC1 nightly build, not the currently stable release, because there are a number of new features that I needed to leverage.  I also just use the built-in Hibernate support rather than trying to call out to the EntityManager myself -- I&#039;m still using GORM, just with my JPA based annotation classes rather than Groovy based GORM classes.  The one thing I forgot to note here though is that you have to tell GORM about the annotations:
import org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
dataSource {
configClass = GrailsAnnotationConfiguration.class
Otherwise GORM won&#039;t see the domain classes.  As for using real JPA APIs I haven&#039;t tested it.  I will try it later and see what I find.
Sam</description> <content:encoded><![CDATA[<p>Hi Stephen,</p><p>The Grails support is tested with the Grail-1.0-RC1 nightly build, not the currently stable release, because there are a number of new features that I needed to leverage.  I also just use the built-in Hibernate support rather than trying to call out to the EntityManager myself &#8212; I&#8217;m still using GORM, just with my JPA based annotation classes rather than Groovy based GORM classes.  The one thing I forgot to note here though is that you have to tell GORM about the annotations:</p><p>import org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration<br
/> dataSource {<br
/> configClass = GrailsAnnotationConfiguration.class</p><p>Otherwise GORM won&#8217;t see the domain classes.  As for using real JPA APIs I haven&#8217;t tested it.  I will try it later and see what I find.</p><p>Sam</p> ]]></content:encoded> </item> <item><title>By: Stephan Schmidt</title><link>http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/comment-page-1/#comment-32</link> <dc:creator>Stephan Schmidt</dc:creator> <pubDate>Mon, 15 Oct 2007 12:35:28 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/2007/10/14/generate-jpa-or-gorm-classes-from-your-database-for-java-and-grails/#comment-32</guid> <description>Hi,
I&#039;ve read your article and currently I play with Grails and JPA. When I use both together the application hangs.
http://stephan.reposita.org/archives/2007/10/15/grails-hibernate-and-jpa-hanging-application/
Do you have any ideas? Did you successfully use JPA with Grails?
Thanks
-stephan</description> <content:encoded><![CDATA[<p>Hi,</p><p>I&#8217;ve read your article and currently I play with Grails and JPA. When I use both together the application hangs.</p><p><a
href="http://stephan.reposita.org/archives/2007/10/15/grails-hibernate-and-jpa-hanging-application/" rel="nofollow">http://stephan.reposita.org/archives/2007/10/15/grails-hibernate-and-jpa-hanging-application/</a></p><p>Do you have any ideas? Did you successfully use JPA with Grails?</p><p>Thanks<br
/> -stephan</p> ]]></content:encoded> </item> </channel> </rss>
