Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question Quartz with Hibernate

 
camilo lopes
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have started to use Quartz in my project and i am with a problem and i do not know how to fix it. The problem is when i am persisting data in DB using Hibernate. My DB is Mysql 5.5. I creted a simple Job, to re-run each 30s. Up to this part not problem, but when this job re-run in the twice, i did not get to persist in the db again, so it is saving only the data in the once. How can i fix? Have anyone already passed for this problem? This is my code:










thanks guys.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic