title: Hibernate cannot handle sequences with same name in differen schemas
body: <p>After upgrading from 5.4.7 to 5.4.10 it looks like hibernate cannot handle two sequences with the same name in different db schemas anymore.</p>
  
  <p>I have this entity</p>
  
  <pre><code>@Entity
  @Table(name = "VM_LAUF_RICHTUNG", schema = "INFOP_FAHRPLAN")
  public class VmLaufRichtung {
  
      public static final String VM_LAUF_RICHTUNG_TABLE = "INFOP_FAHRPLAN.VM_LAUF_RICHTUNG";
  
  
      @Id
      @Digits(integer = 15, fraction = 0)
      @SequenceGenerator(name = "InfopFahrplan.seqVmLaufRichtung", schema = "INFOP_FAHRPLAN", sequenceName = "SEQ_VM_LAUF_RICHTUNG")
      @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "InfopFahrplan.seqVmLaufRichtung")
      @Column(name = ID)
      private Long id;
  }
  </code></pre>
  
  <p>In an other schema, there's a sequence with a the same name <code>SEQ_VM_LAUF_RICHTUNG</code>.
  When my spring boot application starts I do get</p>
  
  <pre><code>Caused by: org.hibernate.MappingException: The increment size of the [SEQ_VM_LAUF_RICHTUNG] sequence is set to [50] in the entity mapping while the associated database sequence increment size is [1].
  </code></pre>
  
  <p>This happens because it's picking up the wrong sequence, which has an other imcrement size.</p>
  
  <p>I tried to fix the problem by setting</p>
  
  <pre><code>spring.jpa.hibernate.use-new-id-generator-mappings=true
  </code></pre>
  
  <p>but that did not change anything.</p>
  
  <p>With hibernate 5.4.7 everyhting is working fine.</p>
  
  <p>Did I miss something or is this a hibernate bug after all?</p>