Re: [hibernate-dev] HHH-11699 Hibernate ignores 'schema' attribute of @SequenceGenerator for Oracle --- and SQL Server --- sequences

"Jason Pyeron" <[email protected]>
Newsgroups gmane.comp.java.hibernate.devel
Message-ID <[email protected]>
Sorry, accidentally sent to Andrea and not the list.

 

From: Jason Pyeron [mailto:[email protected]] 
Sent: Tuesday, April 21, 2020 8:56 AM
To: 'andrea boriero' <[email protected]>
Subject: RE: [hibernate-dev] HHH-11699 Hibernate ignores 'schema' attribute of @SequenceGenerator for Oracle --- and SQL Server --- sequences

 

That then conflicts with HHH-13939.

 

Either way, no joy. Lastly, it should not have an effect on definitions like:

 

    @Id

    @Column(name = "sid")

    @GeneratedValue(generator = "SIGNATURE", strategy = GenerationType.SEQUENCE)

    @SequenceGenerator(name = "SIGNATURE", schema = "cresaptown", sequenceName = "signature_seq")

    Long sid;

 

-Jason

 

From: andrea boriero [mailto:[email protected]] 
Sent: Tuesday, April 21, 2020 3:07 AM
To: Jason Pyeron <[email protected] <mailto:[email protected]> >
Subject: Re: [hibernate-dev] HHH-11699 Hibernate ignores 'schema' attribute of @SequenceGenerator for Oracle --- and SQL Server --- sequences

 

Hi Jason, 

 

in the Jira I explained that the issue seems related to Spring setting the `hibernate.id.new_generator_mappings` value to false. 

Have you tried to explicitly change this value to true? 

 

Cheers,

 

Andrea

 

On Tue, 21 Apr 2020 at 03:57, Jason Pyeron <[email protected] <mailto:[email protected]> > wrote:

The issue is impacting current releases for both schema generation and runtime use.



I do not have permissions to update the title/summary.



-Jason

_______________________________________________
hibernate-dev mailing list
[email protected] <mailto:[email protected]> 
https://lists.jboss.org/mailman/listinfo/hibernate-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.