title: Unable to execute command [create sequence hibernate_sequence start with 1 increment by 1]
body: <p>I am getting unsufficient privilages error while generating sequence.</p>
  
  <pre><code>  @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "eventId_seq")
    @SequenceGenerator(name = "eventId_seq", sequenceName = "Event_seq",allocationSize = 1)
    private int eventId ;
  </code></pre>
  
  <p>and i have tried following commands using sys and  XYZ user.</p>
  
  <pre><code>grant usage on sequence XYZ.eventId_seq to XYZ
  </code></pre>
  
  <p>it is giving me 'missing or invalid privilege' error.</p>
  
  <p>Please help. 
  Thanks</p>