Issues

Select view

Select search mode

 
18 of 18

@Table(name = XX, schema = XX) not working

Description

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 ?

Details

Assignee

Reporter

Worked in

Components

Affects versions

Priority

Created July 29, 2023 at 2:43 AM
Updated August 2, 2023 at 11:12 AM

Activity

Show:

Christian Beikov August 2, 2023 at 11:12 AM

Try again with the latest 5.3 version, which currently is 5.3.30.Final.