title: Auto delete database rows after an expiration date
body: <p>I'm working on a web site based on Spring, Hibernate and Postgresql for classified ads. Those classified ads have a publication period going from 2 weeks to 6 months.
  How can i implement a solution to automatically delete expired classified ads?
  It's better to delete them from the java layer or by using a Postgresql scheduler?</p>
  
  <p>Thanks in advance.</p>