Updates/Inserts not being seen by apps sharing same dbPosted: Mon Apr 05, 2010 7:56 am

Description

I am having a problem where I have application A running in a JVM (no application server) and have application B running in a JVM (no application server). Application A selects from table Y every 10 seconds checking for new rows. Application B places records into table Y. Application A never picks up the new rows. If I start and stop Application A then he picks up the new rows. I have tried turning off first and second level query caching as well as turning of caching all together. I should also mention that I am using Hibernate as my implementation of JPA. I am not using a hibernate cfg but I am using a Persistence.xml. I am running under JDK 1.6. Any help is much appreciated.

Environment

hibernate: 3.3.1
Server version: 5.0.66sp1-enterprise-gpl-log MySQL Enterprise Server (GPL)

Activity

Show:
Strong Liu
April 5, 2010, 6:13 PM

this is for bug reporting, please go to our forum to ask quesitons, thanks

Kevin Orey
April 5, 2010, 6:42 PM

It is a bug. If application A or application B are running under a application server(jboss). The above scenario works fine.

Strong Liu
April 5, 2010, 7:04 PM

Okay, do you have a valid test case that can help us to identify this "bug"?
you know, from the junit.java attached, i can't see any helpful info

Steve Ebersole
March 21, 2011, 7:08 PM

Bulk closing stale resolved issues

Rejected

Assignee

Unassigned

Reporter

Kevin Orey

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Blocker