|
We create ddl files for many different databases within the project's build on the build server. At this time, no database connectivity is available. Currently, the ddl creation fails as Hibernate tries to connect to the (non-existing) database(s).
We use hibernate-tools for this purpose. The bug was introduced with commit 5e305d8989b8d0a63bb03c6a903096a68545f998 on hibernate tools ("use HibernatePersistenceProvider instead of Ejb3Configuration"), in commit 0ee1e198bfa224ca1695ebb905383a76e0aaaaab the corresponding test case was disabled ("disable testNoConnInfoExport until it is sorted out in Hibernate Core").
As both commits date back a year, I was wondering if the issue was already addressed in Hibernate Core but didn't find any commit with regards to this problem. It would be great if hbm2ddl was able to work offline again.
Steps to reproduce: revert 0ee1e198bfa224ca1695ebb905383a76e0aaaaab and execute test org.hibernate.tool.ant.AntHibernateToolTest.testNoConnInfoExport().
|