阅读背景:

如何在Hibernate / JPA中为每个持久性单元执行differentnet import.sql?

来源:互联网 

I have configured two persistence units in my JPA/Hibernate configuration. Now i need to execute different import.sql for each persistence unit. How can I specify which import.sql should be executed for each persistence unit? According Hibernate to documentation, I should place import.sql in classpath. If I do that, import.sql is executed on each persistence unit. I need somehow to specify different import.sql for each persistence unit.I have configured two persistence units in my J




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: