|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.cfg.AnnotationConfiguration org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
public class GrailsAnnotationConfiguration extends AnnotationConfiguration
Allows configuring Grails' hibernate support to work in conjuntion with Hibernate's annotation support.
Method Summary | |
---|---|
GrailsDomainConfiguration
|
addDomainClass(GrailsDomainClass domainClass)
|
SessionFactory
|
buildSessionFactory()
|
protected void
|
secondPassCompile()
Overrides the default behaviour to including binding of Grails domain classes. |
void
|
setGrailsApplication(GrailsApplication application)
|
Method Detail |
---|
public GrailsDomainConfiguration addDomainClass(GrailsDomainClass domainClass)
@Override public SessionFactory buildSessionFactory()
@Override protected void secondPassCompile()
public void setGrailsApplication(GrailsApplication application)
Groovy Documentation