title: generate auto-incremented field in java spring data
body: <p>I need to create a auto-incremented key (not a primary key) to use it as a file-name in spring-data
  here what i tried:</p>
  <pre class="lang-java prettyprint-override"><code>@NotNull
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  @Column(name = &quot;BODY_FILE&quot;)
  private long bodyFile;
  </code></pre>
  <p>in liquibase:</p>
  <pre><code>- column:
       name: BODY_FILE
       type: BIGINT
       autoIncrement: true
  </code></pre>
  <p>but the field bodyfile is always 0.</p>