Jay Jay - 4 years ago 712
MySQL Question

Java Connectivity

I have a scenario, I have a module in eclipse where need to insert a data into my sql. Here the connection is established successfully and code to insert data also executed successfully without any error in log. But data need to insert into my sql is not inserted. Can anyone clarify me.

Answer Source

can you paste your code snippet so that it will be easy to answer your question. Still just on guess, after statement.executeUpdate() method are you calling method connection.commit() ? if not then add it and try again.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download