title: How can I avoid duplicates in my "mysql" database when using hibernate (JAVA)?
body: <p>I parse a .lst file to get data, then I use hibernate in order to add these data in a mysql database.</p>
  
  <p>My file is always updated with new data but it KEEPS existing ones.</p>
  
  <p>The question is how can I avoid duplicates data in my database when I parse the file a scond time.</p>
  
  <p>Thanks</p>