MySQL-JBuilder
From: Cober (cober_at_tenbit.pl)
Date: 10/23/03
- Next message: William Brasky: "Secure JDBC connection to Oracle 9i"
- Previous message: Mark Collins: "Re: Exception : ResultSet is from UPDATE. No Data"
- Next in thread: Herman Timmermans: "Re: MySQL-JBuilder"
- Reply: Herman Timmermans: "Re: MySQL-JBuilder"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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:)
- Next message: William Brasky: "Secure JDBC connection to Oracle 9i"
- Previous message: Mark Collins: "Re: Exception : ResultSet is from UPDATE. No Data"
- Next in thread: Herman Timmermans: "Re: MySQL-JBuilder"
- Reply: Herman Timmermans: "Re: MySQL-JBuilder"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]