Skip to content
Advertisement

MySQL Workbench doesn’t “see” updates from JDBC Java program

I have this code

JavaScript

and

JavaScript

and

JavaScript

It executes fine in Eclipse, even a select query in there returns the expected results. But none of the inserts are showing up in MySQL Workbench. I tried restarting the connection and it didn’t work. Autocommits are on as when I tried to do a manual commit it told me so.

Advertisement

Answer

Wrong schema name

Well I found the problem so I’ll just leave the answer and feel stupid later.

I had the connection started as

JavaScript

when it should’ve been

JavaScript

the “project” replacing “mysql” is the name of my schema in MySQL.

Advertisement