title: Choosing between java.util.Date or java.sql.Date
body: <p>Should I use java.util.Date or java.sql.Date?</p>
  
  <p>I have a VisualFox database and I have retrieved the entities with the IntelliJ Idea wizard using an appropiate jdbc type 4 driver.</p>
  
  <p>The ide (or the driver) has created the date fields as Timestamp. However, the date fields are not timestamps but Date fields, they store year, month and day only.</p>
  
  <p>So I wonder if I should switch to java.util.Date or java.sql.Date. At first glance I thought that java.sql.Date should be the appropiate one, but it has many methods declared as deprecated.</p>