title: Auto Increment in hibernate using oracle
body: <p>I am new to hibernate and I want to insert primary number in my table for unique identification. I am using Oracle as my database so do I need to create sequence in oracle to get auto increment generation number ?</p>
  
  <p>I am using below code but it is not working. I have not created any sequence yet.</p>
  
  <pre><code> @Id
   @Column(name = "id" )
   @GeneratedValue ( strategy = GenerationType.TABLE)
  </code></pre>
  
  <p>I have used <code>AUTO</code>, <code>SEQUENCE</code> and <code>IDENTITY</code> but nothing works for me. </p>