Theodore Chaikalis (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNTkwM2ZlNTIy...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-14141?atlOrigin=eyJpIjoiNTkwM2...
) HHH-14141 (
https://hibernate.atlassian.net/browse/HHH-14141?atlOrigin=eyJpIjoiNTkwM2...
) Hibernate session created twice in Weblogic (
https://hibernate.atlassian.net/browse/HHH-14141?atlOrigin=eyJpIjoiNTkwM2...
)
Issue Type: Improvement Affects Versions: 5.4.16 Assignee: Unassigned Components:
hibernate-core Created: 07/Aug/2020 05:36 AM Environment: Weblogic 12.2.1.3
Priority: Major Reporter: Theodore Chaikalis (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
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
(
https://hibernate.atlassian.net/browse/HHH-14141#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-14141#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100141- sha1:76df2fe )