GORM and Cayenne

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

GORM and Cayenne

by Jon Sharp-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey all,

Perhaps this may be blasphemous to some, but I'm interested in using Cayenne as the ORM for my grails app, rather than Hibernate.  I haven't found any evidence of anyone doing this or using any other non-hibernate ORM with Grails.  While I understand anything is possible, how difficult would it be to make this work with Grails?  In other words, how tied to Hibernate is GORM?  Would a Cayenne/GORM marriage be practical or even desired by anyone else?

The reason I'm interested in this possibility is that I have an existing app that leverages Cayenne already in the backend, and would like to provide full access to the db in my grails app and I'm not sure about Cayenne/Hibernate coexistence.  Migrating entirely to Hibernate is an option, but not a preferred one at this point.

I would appreciate any ideas people have about this issue.

Thanks,
Jon

--
Jon Sharp
Campground Automation Systems, Inc.

Re: GORM and Cayenne

by Graeme Rocher-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As it stands GORM is very bound to Hibernate, you would have to
implement your own GORM-like layer which is quite an effort

Cheers

On Tue, Jul 8, 2008 at 7:01 PM, Jon Sharp <jon@...> wrote:

> Hey all,
>
> Perhaps this may be blasphemous to some, but I'm interested in using Cayenne
> as the ORM for my grails app, rather than Hibernate.  I haven't found any
> evidence of anyone doing this or using any other non-hibernate ORM with
> Grails.  While I understand anything is possible, how difficult would it be
> to make this work with Grails?  In other words, how tied to Hibernate is
> GORM?  Would a Cayenne/GORM marriage be practical or even desired by anyone
> else?
>
> The reason I'm interested in this possibility is that I have an existing app
> that leverages Cayenne already in the backend, and would like to provide
> full access to the db in my grails app and I'm not sure about
> Cayenne/Hibernate coexistence.  Migrating entirely to Hibernate is an
> option, but not a preferred one at this point.
>
> I would appreciate any ideas people have about this issue.
>
> Thanks,
> Jon
>
> --
> Jon Sharp
> Campground Automation Systems, Inc.



--
Graeme Rocher
Grails Project Lead
G2One, Inc. Chief Technology Officer
http://www.g2one.com

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

    http://xircles.codehaus.org/manage_email



Re: GORM and Cayenne

by Jon Sharp-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Graeme,

Thanks for the response.  I figured as much.  Perhaps there's not much use in supporting other ORMs in Grails, I don't know.  All I know is that I've enjoyed using Cayenne and wanted an easy integration with my grails app.

Thanks again,
Jon


On Tue, Jul 8, 2008 at 1:05 PM, Graeme Rocher <graeme@...> wrote:
As it stands GORM is very bound to Hibernate, you would have to
implement your own GORM-like layer which is quite an effort

Cheers

On Tue, Jul 8, 2008 at 7:01 PM, Jon Sharp <jon@...> wrote:
> Hey all,
>
> Perhaps this may be blasphemous to some, but I'm interested in using Cayenne
> as the ORM for my grails app, rather than Hibernate.  I haven't found any
> evidence of anyone doing this or using any other non-hibernate ORM with
> Grails.  While I understand anything is possible, how difficult would it be
> to make this work with Grails?  In other words, how tied to Hibernate is
> GORM?  Would a Cayenne/GORM marriage be practical or even desired by anyone
> else?
>
> The reason I'm interested in this possibility is that I have an existing app
> that leverages Cayenne already in the backend, and would like to provide
> full access to the db in my grails app and I'm not sure about
> Cayenne/Hibernate coexistence.  Migrating entirely to Hibernate is an
> option, but not a preferred one at this point.
>
> I would appreciate any ideas people have about this issue.
>
> Thanks,
> Jon
>
> --
> Jon Sharp
> Campground Automation Systems, Inc.



--
Graeme Rocher
Grails Project Lead
G2One, Inc. Chief Technology Officer
http://www.g2one.com

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

   http://xircles.codehaus.org/manage_email




Re: GORM and Cayenne

by Peter Ledbrook-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Thanks for the response.  I figured as much.  Perhaps there's not much use
> in supporting other ORMs in Grails, I don't know.  All I know is that I've
> enjoyed using Cayenne and wanted an easy integration with my grails app.

JPA support is in the works, and I think the JCR integration is likely
to see further decoupling of GORM from Hibernate. It's not right round
the corner, but hopefully we'll have something by the end of the year.

Cheers,

Peter

--
Software Engineer
G2One, Inc.
http://www.g2one.com/

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

    http://xircles.codehaus.org/manage_email


LightInTheBox - Buy quality products at wholesale price