Hi everyone,
I'm evaluating SmartGWTEE these days and I have a question:
I'd like to use Hibernate Annotations instead of mapped files but the java server tries to instantiate a hibernate Config object instead of an AnnotationConfiguration object required for annotations.
I got it working by creating a custom data source, like in the ORM DataSource example and changing hibernateConfig to use AnnotationConfiguration instead of org.hibernate.cfg.Configuration.
However, I'd like to use annotations without a custom data source to take benefit of the full SmartGWTEE/Hibernate features.
Is it possible to configure/override the Configuration Object?
I'm evaluating SmartGWTEE these days and I have a question:
I'd like to use Hibernate Annotations instead of mapped files but the java server tries to instantiate a hibernate Config object instead of an AnnotationConfiguration object required for annotations.
I got it working by creating a custom data source, like in the ORM DataSource example and changing hibernateConfig to use AnnotationConfiguration instead of org.hibernate.cfg.Configuration.
However, I'd like to use annotations without a custom data source to take benefit of the full SmartGWTEE/Hibernate features.
Is it possible to configure/override the Configuration Object?
Comment