FAQ Database Discussion Community

hibernate delete second level jpa2.0

I need in my application to remove all data from a cachable table. I suposed that to delete all contents, I had to remove the second level cache, then use a truncate. @Entity @Table(name = "\"cpf_formacode\"") @Cacheable public class CpfRefFormaCode implements Serializable { ....... } the Dao method: public void...