Announcement Announcement Module
Collapse
No announcement yet.
not fetching database records Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X