Details
-
Type:
Bug
-
Status:
Closed
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Hibernate allows you to use an xml config file instead of the
regular properties file. Everything is almost in place, however
I needed the attached patch to make it actually work.
The patch to plugin.jelly brings the property to the tag and
the Java code patch allows Hibernate to open the correct file.
Please apply
Henning,
I've applied your patch, however, the unit test I wrote to verify it continues to fail. I had tried to do what you did before, but gave up. Could you look at the checked in test "test-hibernate-schema-export-configuration" and let me know what I'm doing wrong... As far as I can tell, it should work, but I'm getting some classpath issues.
I tweaked SchemaExportBean so that if you are using a config file the classpath loader magic is skipped.. Look at the changes in the execute method.
Eric