[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1086?page=c...
]
Max Rydahl Andersen commented on HBX-1086:
------------------------------------------
Well, hibernatetools *does* need to connect to the database when you either are reverse
engineering from it or executing queries.
I'm very much open for making it easier to use so any ideas in form of patches would
be welcome.
One thing I definitly need to do is to improve the jpaconfiguration option to not have to
require persistence.xml to be located in a specific location.
But "merging" persistence units just feels "wrong" ...they are no
longer a unit then...
Support SpringJPAConfiguration
------------------------------
Key: HBX-1086
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1086
Project: Hibernate Tools
Issue Type: New Feature
Components: ant
Affects Versions: 3.2.0.GA
Reporter: John Turner
I'm working on a module based approach to developing a persistence layer for a web
application.
One of the things I want to be able to do is deploy each module in its own jar file with
a corresponding persistence.xml file. Having done this spring's
PersistenceUnitManager detects the persistence.xml files at runtime and merges the
persistence configuration files into a single persistence configuration.
Problem is, at build time, I use hibernate tools and jpa configuration to build drop and
create schema ddl. This just picks up the first persistence.xml on the classpath and uses
it to provide the jpa configuration. I would like to see a SpringJPAConfiguration that
operates in the same way as the PersistenceUnitManager.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira