"GORM Extension plugin"?

View: New views
4 Messages — Rating Filter:   Alert me  

"GORM Extension plugin"?

by Robert Fischer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://grails.org/plugin/platform-gorm-ext

Where's this coming from?  Sounds like I should be joining forces with someone.

~~ Robert Fischer, Smokejumper IT Consulting.
Enfranchised Mind Blog http://EnfranchisedMind.com/blog

Check out my book, "Grails Persistence with GORM and GSQL"!
http://www.smokejumperit.com/redirect.html

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: "GORM Extension plugin"?

by Jean Barmash :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Is this plugin still being maintained (and in any case, are there any instructions on how to use it?), or is anybody working on something similar (sounds like Robert might be)?  

This functionality would be hugely valuable to help extend / build on top of existing plugins. 

Cheers,

Jean
 
Jean Barmash
EnergyScorecards.com - Benchmarking Energy Efficiency of Buildings
email: barmash@... | Skype: jbarmash




From: Robert Fischer <robert.fischer@...>
To: user@...
Sent: Friday, July 3, 2009 8:19:58 PM
Subject: [grails-user] "GORM Extension plugin"?

http://grails.org/plugin/platform-gorm-ext

Where's this coming from?  Sounds like I should be joining forces with someone.

~~ Robert Fischer, Smokejumper IT Consulting.
Enfranchised Mind Blog http://EnfranchisedMind.com/blog

Check out my book, "Grails Persistence with GORM and GSQL"!
http://www.smokejumperit.com/redirect.html

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email



Re: "GORM Extension plugin"?

by Steve Shucker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using it actively, but I'm the author so I don't really count.  It
adds map keys to static mapping:

static mapping = {
    readOnlyField(insertable:false, updateable:false)
    formulaField(formula:'trim(my_column)')
}
String readOnlyField
String formulaField

Version 0.1 works with grails 1.0.x and 0.2 works with grails 1.1 and
1.1.1.  The only bug I know of is a hibernate bug where you can't use
sql queries and bind the results to entities with formula columns.

-Steve

Jean Barmash wrote:

> Is this plugin still being maintained (and in any case, are there any
> instructions on how to use it?), or is anybody working on something
> similar (sounds like Robert might be)?  
>
> This functionality would be hugely valuable to help extend / build on
> top of existing plugins.
>
> Cheers,
>
> Jean
>  
> Jean Barmash
> EnergyScorecards.com - Benchmarking Energy Efficiency of Buildings
> email: barmash@... <mailto:barmash@...> | Skype: jbarmash
>
>
>
> ------------------------------------------------------------------------
> *From:* Robert Fischer <robert.fischer@...>
> *To:* user@...
> *Sent:* Friday, July 3, 2009 8:19:58 PM
> *Subject:* [grails-user] "GORM Extension plugin"?
>
> http://grails.org/plugin/platform-gorm-ext
>
> Where's this coming from?  Sounds like I should be joining forces with
> someone.
>
> ~~ Robert Fischer, Smokejumper IT Consulting.
> Enfranchised Mind Blog http://EnfranchisedMind.com/blog
>
> Check out my book, "Grails Persistence with GORM and GSQL"!
> http://www.smokejumperit.com/redirect.html
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: "GORM Extension plugin"?

by Jean Barmash :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thanks, Steve,

I was confused by your comments, but now I see the confusion - there are two similarly named plugins, your Extended Gorm Mappings (http://www.grails.org/plugin/extended-gorm-mappings) and GORM Extensions (http://www.grails.org/plugin/platform-gorm-ext).

Thanks for the response - will check out your plugin as well!

Cheers,

Jean
 
Jean Barmash
EnergyScorecards - Benchmarking Energy Efficiency of Buildings
email: barmash@... | Skype: jbarmash




From: Steve Shucker <sshucker@...>
To: user@...
Sent: Tuesday, July 28, 2009 5:11:12 PM
Subject: Re: [grails-user] "GORM Extension plugin"?

I'm using it actively, but I'm the author so I don't really count.  It adds map keys to static mapping:

static mapping = {
  readOnlyField(insertable:false, updateable:false)
  formulaField(formula:'trim(my_column)')
}
String readOnlyField
String formulaField

Version 0.1 works with grails 1.0.x and 0.2 works with grails 1.1 and 1.1.1.  The only bug I know of is a hibernate bug where you can't use sql queries and bind the results to entities with formula columns.

-Steve

Jean Barmash wrote:

> Is this plugin still being maintained (and in any case, are there any instructions on how to use it?), or is anybody working on something similar (sounds like Robert might be)? 
> This functionality would be hugely valuable to help extend / build on top of existing plugins.
> Cheers,
>
> Jean
>  Jean Barmash
> EnergyScorecards.com - Benchmarking Energy Efficiency of Buildings
> email: barmash@... <mailto:barmash@...> | Skype: jbarmash
>
>
>
> ------------------------------------------------------------------------
> *From:* Robert Fischer <robert.fischer@...>
> *To:* user@...
> *Sent:* Friday, July 3, 2009 8:19:58 PM
> *Subject:* [grails-user] "GORM Extension plugin"?
>
> http://grails.org/plugin/platform-gorm-ext
>
> Where's this coming from?  Sounds like I should be joining forces with someone.
>
> ~~ Robert Fischer, Smokejumper IT Consulting.
> Enfranchised Mind Blog http://EnfranchisedMind.com/blog
>
> Check out my book, "Grails Persistence with GORM and GSQL"!
> http://www.smokejumperit.com/redirect.html
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email