[hibernate-issues] [JIRA] (HHH-14022) Oracle-Dialect does not find Sequences outside User-Schema

Stefan Mueller (JIRA) jira at hibernate.atlassian.net
Sun May 17 06:13:44 EDT 2020


Stefan Mueller ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5a96733ace13453391e730de ) *updated* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiODc4NGMxODI5ODE0NDVmMTg2NGVmZGJmNzM1YmJmYWMiLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HHH-14022?atlOrigin=eyJpIjoiODc4NGMxODI5ODE0NDVmMTg2NGVmZGJmNzM1YmJmYWMiLCJwIjoiaiJ9 ) HHH-14022 ( https://hibernate.atlassian.net/browse/HHH-14022?atlOrigin=eyJpIjoiODc4NGMxODI5ODE0NDVmMTg2NGVmZGJmNzM1YmJmYWMiLCJwIjoiaiJ9 ) Oracle-Dialect does not find Sequences outside User-Schema ( https://hibernate.atlassian.net/browse/HHH-14022?atlOrigin=eyJpIjoiODc4NGMxODI5ODE0NDVmMTg2NGVmZGJmNzM1YmJmYWMiLCJwIjoiaiJ9 )

Change By: Stefan Mueller ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5a96733ace13453391e730de )

Hibernate with Oracle-Dialect only validates against Sequences of the currently logged in DB-User since 5.4.13. This is because this change, which only looks for user_sequences (before: all_sequences). [https://hibernate.atlassian.net/browse/HHH-13322|https://hibernate.atlassian.net/browse/HHH-13322|smart-link] .

But a very typical Setup is to use a DB-Run-User (without DDL Rights) and fully qualify sequences with the owner-schema, for example MYOWNER.MY_SEQUENCE. This does NOT work with Hibernate 5.4.13.Final and above anymore (Schema-Validation Error).

( https://hibernate.atlassian.net/browse/HHH-14022#add-comment?atlOrigin=eyJpIjoiODc4NGMxODI5ODE0NDVmMTg2NGVmZGJmNzM1YmJmYWMiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-14022#add-comment?atlOrigin=eyJpIjoiODc4NGMxODI5ODE0NDVmMTg2NGVmZGJmNzM1YmJmYWMiLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100126- sha1:acdbdcc )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200517/7f98d3e5/attachment.html 


More information about the hibernate-issues mailing list