[hibernate-issues] [Hibernate-JIRA] Created: (HBX-1086) Support SpringJPAConfiguration

John Turner (JIRA) noreply at atlassian.com
Wed Sep 3 06:30:06 EDT 2008


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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list