|
Grails
Using dbmapper from Grails
IntroductionIf you follow the GORM rules for tables in your database, this should work great. Install the plugingrails install-plugin dbmapper Generate the classesgrails generate-domain-classes This will create JPA domain classes in your grails-app/domain directory along with a hibernate.cfg.xml file within grails-app/conf/hibernate. Modify your DataSourceYou need to modify your main DataSource definition to support annotated Hibernate classes: configClass = GrailsAnnotationConfiguration.class |
Sign in to add a comment
Doesn't support clob/blob yet?