title: When using the @SequenceGenerator/@GeneratedValue in JPA - is a database trigger redundant/unnecessary?
body: <p>I saw this post (<a href="https://stackoverflow.com/questions/8666390/jpa-entity-lifecycle-events-vs-database-trigger">JPA Entity Lifecycle Events vs database trigger</a>), but it didn't ask quite as explicitly as I am here:</p>
  
  <p>Am I required to have a sequence AND a trigger for when I insert a row with a PK with a value of (null)?  </p>
  
  <p>Or will JPA somehow interpret the sequence annotations as a signal to grab .nextVal?</p>