mysql-workbench does not see database changes made by other clients unless restarting connection -


i use mysql-workbench in order query database tables. use java application (with mysql-connector-java) in order make changes database.

every time java app modifies database unable see changes using mysql-workbench. query return no results.

only after restart mysql connection , run query again, able see changes.

i use mysql-workbench version 6.3.8, mysql ver 14.14 distrib 5.7.16, mysql-connector-java 5.1.38 , os ubuntu 16.04 lts.

from java application use code in order modify database state:

transaction transaction = session.begintransaction(); ..... session.save(myobject); transaction.commit(); 

is known issue?

you have no auto commit enabled, hence changes not visible other client until explicitly called commit. can test command line mysql client , give same result. similar question has been asked few days ago: mysql workbench not reading records inserted through jdbc


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -