using MySQL Transactions with Connector/J (1 reply)
Hi, in MySQL docs there is a note about my question "Important Many APIs used for writing MySQL client applications (such as JDBC) provide their own methods for starting transactions that can (and...
View ArticleCommunication link failure (no replies)
Hi, I am working with large data set. I have created 100 tables. each table has same schema (12 columns) and 10,000 rows. There are 50 threads on each table that fires select * from table query . I am...
View Articlejdbc + mysql (1 reply)
I am working on windows 7. mysql 5.2 I am getting the problem when i am trying to execute the connectivity of java with mysql. how can i check whether mysql server is running or not? i m using the...
View ArticleWhere to put mysql jdbc driver on Solaris 10 to solve...
I need to setup mysql + java on my latest project. After install mysql community server v5.1.50, instead of using Solaris 10 bundled v4.0.31 (it's another topic), I tried to kick of the java...
View ArticleMysql connectivity problems (1 reply)
I want connect jsp page with mysql and getting this error in connection page get me out of this problem. My connection Jsp page Like this <%@ page import="java.sql.*"%> <%! Connection...
View Articlecom.mysql.jdbc.LocalizedErrorMessages (no replies)
I'm coding JAVA with JBuilder 2005 on SLES10 and use mysql-connector-java5.1.7. Within ID I cann succesfully connect to my MySQL-DB, but when executing the jar-Archive, generated be JBUILDER, on the...
View Articlewhere price=7.99; in the select caluse is not working (1 reply)
Hi, I have been trying to use the following command in the mysql> command prompt like this: mysql> select column1, column2 from TableA where price=7.99; It gives me the following response: Empty...
View ArticleHow to store special character (Mathamatical symbols) in Mysql. (no replies)
Hi, I'm using mysql server 5.1. Also I'm using JSP, Spring(MVC) and hibernate in my application for windows platform (Window XP and later version). I want to store special charaters (Mathamatical...
View Articlecom.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown character...
When i running a java program, a error "com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown character set: 'utf8mb4'" has been release. How can i fix this error? I use mysql 6.0.4-alpha...
View ArticleConnectorJ Licensing (no replies)
Hi, We have an application that is built and used by customers with a Software-As-A-Service model. It is not packaged and distributed as a binary. We want to comply with the MySQL license, but do not...
View ArticleProblem with UTF-8 encoding + JDBC (no replies)
I'm using MySQL Server versino 5.1.36-community and the mysql-connector-java-5.1.7-bin.jar Here's my create table statement STATE_PROVINCE | CREATE TABLE `state_province` ( `NAME` varchar(50) NOT...
View ArticleWrong (no more existing query) executes (no replies)
So my problem is just as follows: I have created a simple method with one parameter containing information i want to write to an database. I have two queries in my method. the first query contained...
View ArticleNew parameters in Stored Procedure + Java Servlets (no replies)
Hi. I have a Java Servlet which calls a Stored Procedure sending 3 parameters. It works fine. Now i'm making some changes in the database and i realized that Stored Procedure should receive 4...
View ArticleGF Rsrc Type: ConnectionPoolDataSource (no replies)
I just successfully created a MySQL rsrc in Glassfish (GF) using the instructions in the MySQL Connector/J manual. One thing which got me scratching my head is that the manual recommended using the...
View ArticleMysql connection via cmd prompt (no replies)
Hello all I am able to connect to mysql db via java program but when I run it using cmd, it does not work. java -jar iris.jar program-file=Vbra.txt naive unsafe-rules Exception: com.mysql.jdbc.Driver...
View Articleproblem with update (no replies)
hello my problem seems odd I connect to my remote database with jdbc a problem occurs during update com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: UPDATE command denied to user...
View ArticleMySQL Connector/J code cleanup (1 reply)
MySQL Connector/J has lots of code for MySQL version<5 compatibility. Now that MySQL support for versions<5 has ended, will you remove old compatibility code to be able to more easily fix...
View ArticleJava JDBC local,remote connection error (no replies)
Hi Everyone I have been developing a Java based system to monitor a number of computers of a local network. To do this I have a simple Java application (with JDBC connectivity) that updates a database...
View ArticleInvoking stored procedure - is catalog name ever required? (no replies)
I've seen the stored procedure invocation documented as: {call demoSp(?, ?)} I'm building up my invocation string from JDBC metadata. The PROCEDURE_CAT column is populated with the name of the...
View Article