balinta
balinta

Reputation: 596

Inserted rows into a PostgreSQL database only visible in JSF after Glassfish restart

When I insert new data into a database table, in some cases the changes are only visible in the browser when restarting the server. Does anyone know a good solution for this problem? Maybe there's some kind of cache for the queries Glassfish is using, but I don't know how to disable it. I am using Glassfish 3.1.

Upvotes: 0

Views: 254

Answers (1)

JARC
JARC

Reputation: 5328

Are you sure that you're committing the transaction?

Upvotes: 1

Related Questions