Hello, Miller:
Thanks for reply.
I know in general about Interpolate and placeholder but never used it in practice.
I know sintax INSERT operator and used it many times with DBMSs
(Oracle, Foxpro and others) and never had any problems. If it really necessarily to interpolate string, how it practically to do?
Thanks...
User Profile
Collapse
-
Weird error with query
Hello:
I executed many times queries in various DBMS but got such error when I started
to work with MySQL. I run simple query from Java in NetBeans:
...
string s1;
s1="abc";
...
stmt.executeUpd ate("INSERT INTO Table(F1) VALUES(s1)");
...
I got this error message:
SQLException: Unknown column 's1' in 'field list'
...
What is wrong??? -
How to make connection from Java to MySQL?
Hello:
I can not make connection to MySQL from Java.
I set System Variable CLASSPATH to:
C:\MySQL\mysql-connector-java-5.0.5\mysql-connector-java-5.0.5-bin.jar
...
Then registered Driver:
...
try {
Class.forName(" com.mysql.jdbc. Driver").newIns tance();
}
...
Made Connection:
Connection conn =
DriverManager.g etConnection("j dbc:mysql://localhost:3306/test","User","P sw");... -
Java with MySQL
Hello frieds,
What is good manual for programming with Java using MySQL and NetBeans (or without NetBeans) (preferably on Internet)?
Thanks.
WilHob -
Programming Java with MySQL
Hello frieds,
What is good manual for programming with Java using MySQL (preferably on Internet)?
Thanks.
WilHob
No activity results to display
Show More
Leave a comment: