We noticed that during application deployment, all relevant Hibernate persistence units are getting created 2 times, thus significantly increasing deployment time.
Attached is a relevant log from a deployment and a demo war to reproduce the issue
Tested with Hibernate > 5.2.11. Currently: 5.4.16
Reproduce Actions
Actions :
1. create new data source in weblogic with jndi name: *jdbc/SSA* Use oracle db. 2. deploy app 3. check logs
You will notice that the log entry: Processing PersistenceUnitInfo \[name: primary]
happens 2 times\!\! |
|