title: Kotlin data class and Bean validation: @NotNull on Long fields does not work
body: <p>Here is data class:</p>
  
  <pre><code>data class CreateCommentRequest(
          @field:NotNull
          @field:NotEmpty
          val comment: String,
  
          @field:NotNull
          val postId: Long
  )
  </code></pre>
  
  <p>If I omit <code>comment</code> field, validation fails properly.</p>
  
  <p>But if I do not pass <code>postId</code>, like this:</p>
  
  <pre><code>{
      "comment": "hello"
  }
  </code></pre>
  
  <p>validation is passed.</p>
  
  <p>How to make validation fail if <code>postId</code> is not passed?</p>
  
  <p>P.S. I use spring boot 2.0.1 with <code>com.fasterxml.jackson.module:jackson-module-kotlin</code> module, kotlin version: 1.2.20</p>