title: Hibernate schema parameter doesn't work in @SequenceGenerator annotation
body: <p>I have the following code:</p>
  
  <pre><code>@Entity
  @Table(name = "my_table", schema = "my_schema")
  @SequenceGenerator(name = "my_table_id_seq", sequenceName = "my_table_id_seq", 
                     schema = "my_schema")
  public class MyClass {
      @Id
      @GeneratedValue(generator = "my_table_id_seq", 
                      strategy = GenerationType.SEQUENCE)
      private int id;
  
  }
  </code></pre>
  
  <p>Database: Postgresql 8.4, Hibernate annotations 3.5.0-Final.</p>
  
  <p>When saving the object of MyClass it generates the following SQL query:</p>
  
  <pre><code>select nextval('my_table_id_seq')
  </code></pre>
  
  <p>So there is no schema prefix and therefore the sequence cannot be found. When I write the sequenceName like </p>
  
  <pre><code>sequenceName = "my_schema.my_table_id_seq"
  </code></pre>
  
  <p>everything works.</p>
  
  <p>Do I have misunderstandings for meaning of schema parameter or is it a bug? Any ideas how to make schema parameter working?</p>