[jboss-jira] [JBoss JIRA] (HIBERNATE-165) SequenceInformationExtractor does not take into account the schema indicated in ExtractionContext on PostreSQL

Thomas Mortagne (Jira) issues at jboss.org
Wed Jun 26 07:43:00 EDT 2019


     [ https://issues.jboss.org/browse/HIBERNATE-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mortagne closed HIBERNATE-165.
-------------------------------------
    Resolution: Duplicate


Looks like I reported this in the wrong place. Created https://hibernate.atlassian.net/browse/HHH-13464.

> SequenceInformationExtractor does not take into account the schema indicated in ExtractionContext on PostreSQL
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: HIBERNATE-165
>                 URL: https://issues.jboss.org/browse/HIBERNATE-165
>             Project: Hibernate Integration
>          Issue Type: Bug
>         Environment: Hibernate 5.4.3.Final, PostgreSQL10Dialect, PostgreSQL 11.4 on Ubuntu 19.0.4.1 (but also reproduced on various PostgreSQL versions and other systems)
>            Reporter: Thomas Mortagne
>            Assignee: Steve Ebersole
>            Priority: Major
>
> When asking for the sequences located on schema "toto" when end up with those stored in the schema "public".
> Among other things the consequence is that the SchemaMigrator (my actual use case) create the sequences only on one schema (because when creating others the sequence "already exist").  It's also because the schema migrator totally ignore the schema name from the SequenceInformation but it does not make much sense to me that it end up with sequences from other schemas when asking for them in the first place anyway.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list