Пример #1
0
 private boolean isDomainClass(final Class<?> clazz) {
   return DomainClassArtefactHandler.isDomainClass(clazz)
       || AnnotationDomainClassArtefactHandler.isJPADomainClass(clazz);
 }
 private boolean shouldMapWithGorm(GrailsDomainClass domainClass) {
   return !AnnotationDomainClassArtefactHandler.isJPADomainClass(domainClass.getClazz())
       && domainClass.getMappingStrategy().equalsIgnoreCase(GrailsDomainClass.GORM);
 }