title: [PersistenceException: Error getting sequence nextval]
body: <p>i am getting this error while trying to save data into model in db. </p>
  
  <pre><code>@Entity
  public class User extends Model {
     @Required
     public String name; 
     @Email
     public String email; 
     @Required @MaxLength(value=10)
     public String username;
     @Required @MinLength(value=4)
     public String password;
     @Id 
     public int id;
  }
  </code></pre>
  
  <p>this is my Class. </p>
  
  <p>this is the error while i am trying to save the model into db. </p>
  
  <p><img src="https://i.stack.imgur.com/tQZLr.png" alt="enter image description here"></p>
  
  <p>i will appreciate any effort for help! many thanks. </p>
  
  <p>EDIT: table structure is here
  <img src="https://i.stack.imgur.com/fuN91.png" alt="enter image description here"></p>