[hibernate-issues] [JIRA] (HHH-12126) JPA annotation @table does not honor schema attribute anymore

OlexanderG (JIRA) jira at hibernate.atlassian.net
Fri Apr 24 13:24:37 EDT 2020


OlexanderG ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5e91722c-f2cb-4c67-bd60-23dfa04584b4 ) *commented* on HHH-12126 ( https://hibernate.atlassian.net/browse/HHH-12126?atlOrigin=eyJpIjoiNzQ2NGVhZmZmZDVjNGYxYmJiZmQ0MjYzOGY5MDcyZmIiLCJwIjoiaiJ9 )

Re: JPA annotation @table does not honor schema attribute anymore ( https://hibernate.atlassian.net/browse/HHH-12126?atlOrigin=eyJpIjoiNzQ2NGVhZmZmZDVjNGYxYmJiZmQ0MjYzOGY5MDcyZmIiLCJwIjoiaiJ9 )

Looks like it’s not hibernate issue.

Behaviour changed by this improvement: HHH-9550 ( https://hibernate.atlassian.net/browse/HHH-9550 ) Closed - Allow a dialect to specify the level of catalog/schema support

MySQL connector supports “ databaseTerm “ property from 8.0.17 version.

https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-17.html

MariaDB connector says that it’s doesn’t support SCHEMA qualifier and you should use CATALOG.

{{public boolean supportsSchemasInTableDefinitions()

{ return false;}

}}

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

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#100125- sha1:84eb093 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200424/5dca1e48/attachment.html 


More information about the hibernate-issues mailing list