title: How convert bytea in timestamp?
body: <p>I have an entity with a property of type java.time.Instant.</p>
  
  <pre><code>@ApiModelProperty(required = false)
  private Instant date; 
  </code></pre>
  
  <p>I am using PostgreSQL and this column was converted to <strong>bytea</strong>.</p>
  
  <p>The hibernate show in the console a query like this:</p>
  
  <pre><code>select mytable_.id as id1_1_, mytable_.date as date2_1_ 
  from myschema.mytable mytable_ 
  where mytable_.date between ? and ?
  </code></pre>
  
  <p>My params are '2018-07-01T09:41:51.631Z' and '2018-07-03T09:41:51.631Z'.</p>
  
  <p>In pgAdmin I'd like to know how cast the bytea (date column) to test my query.</p>