5 messages in org.codehaus.grails.userRe: [grails-user] Standalone GORM
FromSent OnAttachments
Lance Lavandowska at HomeMar 26, 2009 1:26 pm 
Dmitriy KopylenkoMar 27, 2009 3:29 am 
Graeme RocherMar 27, 2009 3:30 am 
Lance Lavandowska at HomeMar 27, 2009 5:20 am 
Lance LavandowskaMar 30, 2009 12:01 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [grails-user] Standalone GORMActions...
From:Lance Lavandowska (lan@brainopolis.com)
Date:Mar 30, 2009 12:01:12 pm
List:org.codehaus.grails.user

I just wanted to let any interested parties know that I documented my trials with Standalone GORM, with some good references: <http://www.brainopolis.com/roller/page/lance/20090327#using_gorm_from_java>

I also developed a small demonstration app of Standalone GORM accessed via Java, which pulls all the pieces together: <http://www.brainopolis.com/roller/page/lance/Weblog/standalone_gorm_via_java>

Thanks to the assistance and examples to several members of the Grails community and this mailing list,

Lance

Adding the import did the trick, thank you so much for spotting that.

Could we get that little bit added to the release notes, in the standalone gorm section? <http://www.grails.org/1.1-RC1+Release+Notes#GORM>

Thanks again,

Graeme Rocher wrote:

The @Entity is not the javax.persistence one. You need to add this import:

import grails.persistence.*

Cheers

On Thu, Mar 26, 2009 at 8:27 PM, Lance Lavandowska <lan@brainopolis.com> wrote:

I'm researching using Standalone GORM for a project. I've used the petclinic-mvc sample app as a guide (the project structure is a little different since I'm not building a webapp), even using the provided build.xml with minor changes (just source & build locations).

I can build the petclinic-mvc app without a problem, but when I try to build my one gorm class I get the following error:

[groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: star tup failed, C:\grails\grails-1.1\samples\gwarch\src\main\groovy\com\ibsys\wx\Tex tProduct.groovy: 3: unable to resolve class Entity , unable to find class for a nnotation [groovyc] @ line 3, column 2. [groovyc] @Entity [groovyc] ^

Any suggestions would be appreciated,