wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
http://www.camilolopes.com/ About Java - Update every Week.
Guide SCJP - tips that you need know http://blog.camilolopes.com.br/livrosrevistaspalestras/
It is sorta covered in the JavaRanch Style Guide.
subject: question Quartz with Hibernate
Similar Threads
Problem to instainte inner class in org.quartz
Question about a code snippet from book "beginning hibernate"
hibernate session: to close or not to close
Is it a good idea to share a Session in hibernate ?
Caching Issues with Hibnernate