MySQL-JBuilder

From: Cober (cober_at_tenbit.pl)
Date: 10/23/03


Date: Thu, 23 Oct 2003 00:58:45 +0200

Hi, I have a problem. I'm connected to MySQL database from JBuilder and I
can get ResultSet from it. But I don't know how to insert new row in to tke
table could you help me? The part witch question to database is:

Statement stat = conn.createStatement();
ResultSet rs = stat.executeQuery("select text from tab1");

I have tried do: stat.executeUpdate("INSERT into tab1 values(\"new
info\")");
but it dont work:)