-
Aug 19th, 2009, 02:21 PM
#1
not fetching database records
Hi,
I’m facing a peculiar problem!
I’m using Hibernate AnnotationSessionFactoryBean for persistence along with annotation-driven transaction-manager in my application. When I insert data in database (MySQL), data does get persisted and I can verify this using a database browser such as HeidiSQL but when my application queries the database using syntax such as
getHibernateTemplate().find("from Response ");
inserted data are not fetched!
If I try the same operation after restarting Tomcat, it fetches the inserted data!!
Any idea what’s going on here and how I can fix this behavior?
Thanks
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules