Sorry, my previous post is wrong...
I say that mySQL JDBC doesn't support autocommit! It's wrong it
doesnt't support NOT autocommit; you have to use setAutocommit(true);
Connection cnn = null;
try {
Class.forName("org.gjt.mm.mysql.Driver");
cnn =
Hi,
I use this code to connect to a mySQL 3.23.36:
Connection cnn = null;
try {
Class.forName("org.gjt.mm.mysql.Driver");
cnn =
DriverManager.getConnection("jdbc:mysql:///", ,
);
cnn.setAutoCommit(false); // doesn't support autocomm
Hello all,
I wonder if someone could send me a java code showing how to access a mysql
databse. I will appreciate very much, actually my job is counting on that.
Thanks in advance
Siomara
_
Get Your Private, Free E-mail f