title: Can´t retrieve entity with negative double in Hibernate
body: <p>I am loading a list of entities of <code>Amounts.class</code> and the list contains all the entries of my table except those with a negative value;</p>
  
  <pre><code>@Table(name = "amounts")
  public class Amounts implements Serializable {
     @Id
     @GeneratedValue(strategy = GenerationType.IDENTITY)
     @Column(name = "id")
     private long id;
  
     @Column(name = "payment_id")
     private long payment_id;
  
  
     @Column(name = "amount",length = 10,precision = 2)
     private Double amount;
  
     //getters and setters
  }
  </code></pre>
  
  <p>I defined the length and precission to fit it exactly as my table
  but no entry with a negative value in the amount field (-1400.00, -10.50 and so on) is loaded.</p>
  
  <p>How can I solve this?<br><br>
  I have tried the primitive double and Double, with and without precission.</p>