Hibernate version:
3.2.3, Annotations 3.3.0
I'm currently trying to port my XDoclet-based Hibernate annotations to Hibernate Annotations.
I'm running into an issue with the SchemaExportTask Ant task that I use to generate my DDL.
I get the error message: "Schema text failed: An AnnotationConfiguration instance is required to use <mapping class="com.abc.blah.Blah"/>
Sure enough, the source of the SchemaExportTask is hard-coding the creation of the Configuration instance in its getConfiguration() method. There does not appear to be any way to override this.
Are there any plans to add support for AnnotationConfiguration to the SchemaExportTask?
Thanks,
Andrew Kerr
|