Meaningless Drivel is fun!
The moose likes Java in General and the fly likes question Quartz with Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "question Quartz with Hibernate" Watch "question Quartz with Hibernate" New topic

question Quartz with Hibernate

camilo lopes
Ranch Hand

Joined: Aug 08, 2007
Posts: 202
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.

Brazil - Sun Certified Java Programmer - SCJP 5 About Java - Update every Week.
Guide SCJP - tips that you need know
I agree. Here's the link:
subject: question Quartz with Hibernate
It's not a secret anymore!