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

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Wed Sep 10 03:45:04 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31136#action_31136 ] 

Max Rydahl Andersen commented on HBX-1086:
------------------------------------------

interesting - which of the persistence.xml files should we listen to when it comes to connection info ?

> 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