aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "question Quartz with Hibernate" Watch "question Quartz with Hibernate" New topic
Author

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/
 
 
subject: question Quartz with Hibernate
 
Similar Threads
Caching Issues with Hibnernate
Question about a code snippet from book "beginning hibernate"
Is it a good idea to share a Session in hibernate ?
Problem to instainte inner class in org.quartz
hibernate session: to close or not to close