title: How to set autogenerated Id manually?
body: <p>I have an entity called Task and it has taskId field. Problem is I need to create/update some specific tasks and JPA autogenerator doesn't allow me to set taskId manually.(It overrides my taskId) </p>
  
  <p>Is there any way to set taskId manually?</p>
  
  <pre><code>@Id
  @Column(name = "task_id")
  @GeneratedValue(generator = "system-uuid")
  @GenericGenerator(name = "system-uuid", strategy = "org.hibernate.id.UUIDGenerator")
  private String taskId;
  </code></pre>