Robert (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=61c36ef...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZjU1MjI2Y2Vi...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-17010?atlOrigin=eyJpIjoiZjU1Mj...
) HHH-17010 (
https://hibernate.atlassian.net/browse/HHH-17010?atlOrigin=eyJpIjoiZjU1Mj...
) @Table(name = XX, schema = XX) not working (
https://hibernate.atlassian.net/browse/HHH-17010?atlOrigin=eyJpIjoiZjU1Mj...
)
Issue Type: Bug Affects Versions: 5.3.20 Assignee: Unassigned Components: hibernate-core
Created: 28/Jul/2023 19:43 PM Priority: Major Reporter: Robert (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=61c36ef...
)
I was previously using Hibernate Core 4.2.18 and now migrated to Hibernate Core 5.3.20.
Facing issue with entities where table annotation is declared as following:
@Table(name = XX, schema = XX)
This results in java.lang.RuntimeException: Unexpected status FAILED
(javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException:
could not extract ResultSet
When I change the annotation to:
@Table(name="schemaname.tablename")
, it starts working fine.
I could not find any such change listed in Hibernate migration guide.
Is “@Table(name = XX, schema = XX)” not supported anymore ?
(
https://hibernate.atlassian.net/browse/HHH-17010#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-17010#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#100233- sha1:98e4b22 )