Multiple database with Spring+Hibernate+JPA

后端 未结 6 1526
别跟我提以往
别跟我提以往 2020-12-04 13:43

I\'m trying to configure Spring+Hibernate+JPA for work with two databases (MySQL and MSSQL).

My datasource-context.xml:



        
6条回答
  •  -上瘾入骨i
    2020-12-04 13:54

    Check this wiki page http://code.google.com/p/gwt-spring-jpa-lucene/wiki/PersistenceUnitSetup that details how to configure spring with persistenceXmlLocations and the annotations in DAO

提交回复
热议问题