|
14 | 14 | */ |
15 | 15 | package org.codehaus.groovy.grails.orm.hibernate.cfg; |
16 | 16 |
|
17 | | -import org.apache.commons.logging.Log; |
18 | | -import org.apache.commons.logging.LogFactory; |
| 17 | +import java.util.HashSet; |
| 18 | +import java.util.Iterator; |
| 19 | +import java.util.Set; |
| 20 | + |
| 21 | +//import org.apache.commons.logging.Log; |
| 22 | +//import org.apache.commons.logging.LogFactory; |
19 | 23 | import org.codehaus.groovy.grails.commons.GrailsApplication; |
20 | 24 | import org.codehaus.groovy.grails.commons.GrailsDomainClass; |
21 | | -import org.codehaus.groovy.grails.metaclass.DomainClassMethods; |
22 | 25 | import org.hibernate.HibernateException; |
23 | 26 | import org.hibernate.MappingException; |
24 | 27 | import org.hibernate.SessionFactory; |
25 | | -import org.hibernate.EntityMode; |
26 | | -import org.hibernate.metadata.ClassMetadata; |
27 | 28 | import org.hibernate.cfg.Configuration; |
28 | 29 |
|
29 | | -import java.util.HashSet; |
30 | | -import java.util.Iterator; |
31 | | -import java.util.Set; |
32 | | -import java.util.Collection; |
33 | | -import java.beans.IntrospectionException; |
34 | | - |
35 | 30 | /** |
36 | 31 | * Creates runtime configuration mappings for the Grails domain classes |
37 | 32 | * based on the work done in the Hibernate Annotations project |
|
41 | 36 | */ |
42 | 37 | public class DefaultGrailsDomainConfiguration extends Configuration implements GrailsDomainConfiguration { |
43 | 38 |
|
44 | | - private static final Log LOG = LogFactory.getLog(DefaultGrailsDomainConfiguration.class); |
| 39 | + //private static final Log LOG = LogFactory.getLog(DefaultGrailsDomainConfiguration.class); |
45 | 40 | /** |
46 | 41 | * |
47 | 42 | */ |
|
0 commit comments