title: "ERROR: ORA-00917: missing comma" when using Hibernate with an existing sequence in oracle
body: <p>I used the annotation suggestion from this article:</p>
  
  <p><a href="https://stackoverflow.com/questions/2155376/how-to-use-existing-oracle-sequence-to-generate-id-in-hibernate">How to use existing Oracle sequence to generate id in hibernate?</a></p>
  
  <pre><code>@GenericGenerator(name = "announcementGenerator", strategy = "sequence-identity", 
                      parameters = @org.hibernate.annotations.Parameter(name = "sequence", value = "ANNOUNCEMENT_ID_SEQ"))
  @Id
  @GeneratedValue(generator = "announcementGenerator")
  @Column(name="ANNOUNCEMENT_ID")
  </code></pre>
  
  <p>But I still get the error in the title.
  The generated sql from hibernate seems to include </p>
  
  <pre><code>next value for ANNOUNCEMENT_ID_SEQ
  </code></pre>
  
  <p>Instead of the traditional</p>
  
  <pre><code>ANNOUNCEMENT_ID_SEQ.nextval
  </code></pre>
  
  <p>I've also used the suggestion in this article:
  <a href="https://stackoverflow.com/questions/15942010/ora-00917-missing-comma-error-while-using-custom-oracle-sequence-in-hiberanate">ORA-00917: missing comma error while using custom oracle sequence in hiberanate</a></p>
  
  <p>And it put a null in the place of the primary key... which makes sense with the annotation given in that article.</p>
  
  <p>Am I missing something?
  Any assistance would be appreciated.
  Thanks in advance!</p>