hibernate - How to use existing java data bindings in grails? -
i need add new datasource grails project wich uses musicbrainz postgresql database. http://musicbrainz.org/doc/musicbrainz_database
i found project on github data bindings ready use spring project: https://github.com/lastfm/musicbrainz-data
am able use these data bindings in grails 2.2.3 project? if yes, how can this? (because there no hibernate xml needed grails (regarding grails documentation: hibernate mapped domain classes))
i don't think be. setup additional datasource , model out tables or objects need.
how access 2 databases in grails
once that, can use of gorm methods , dynamic finders data. plus validation criteria, transactions, etc. unless there specialized criteria make necessary bypass gorm, suggest leveraging it.