com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown character...
I see the change list of the jdbc 5.1.13 is fixed this problem. However I still have this problem when I use the 5.1.13. Please help.
View ArticleJDBC Script-Projet + Swing Interfaces (no replies)
hello to all the developer through the world FMV. I just set up a project containing all the scripts JDBC Swing + such that: [Insert - Update - Delete - Create - Query] With PostgresSQL and you can...
View ArticleJdbc Examples 4 Free (no replies)
Hi { I just set up a project containing "+five examples+" of : -----> JDBC + Swing such as : [Insert - Update - Delete - Create - Query] With MySQL and you can download at : Project.rar :...
View ArticleError when I use the "WHERE" clause (2 replies)
Hello I hope somebody could help me with this... This is my code Statement stm=cn.getConnection().createStatement(); PreparedStatement pstm=cn.getConnection().prepareStatement( "select distinct id," +...
View ArticleSET SESSION variable has not effect (3 replies)
Hi, I am currently working on a java client using jdbc to insert important amount of data into a mysql table. My choice is to insert multiple rows at once using multiple-insert syntax : "INSERT INTO...
View Articlec3p0 apparent deadlock / creating emergency threads (1 reply)
Hi Guys, Exact errormessage is: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@7030f9f0 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!...
View Articleproblem in inserting values in table (2 replies)
hi 2 every1, i have created a table as: CREATE TABLE emp ( eid INT NOT NULL AUTO_INCREMENT, uname VARCHAR( 20 ) NOT NULL, pass VARCHAR( 20 ) NOT NULL, type INT NOT NULL, ename VARCHAR( 20 ) NOT NULL,...
View ArticleProblems with mysql connector (no replies)
Hello! I have some problems with mysql connector (com.mysql.jdbc.Driver(v5.1)). Connection with database is okay.BUT...The problem is that the Data Sourse did not contain all tables from data base,...
View ArticleConnection in Netbeans, Error database does not exist. (no replies)
Hi there In the services window in Netbeans 6.8, I deleted my MySql database from the MySql Server list of databases available under MySql Server at localhost:3306 [root]. I also deleted the jdbc:...
View Articleproblem in inserting using dynamic approach (3 replies)
hello to every1 i have created a table 'stu' in mysql having 4 columns namely 'rno (int)' , 'name (char)', 'city (char)', 'phn (int)' now i want to insert entries into dis table using java jdbc and...
View ArticlePersistent connection or per-request? (no replies)
Hi, My java application calls some stored procedures and some of these procedures use LAST_INSERT_ID(). The application creates a connection at startup and destroys the connection when it shuts down....
View Articlesocket close timeout (1 reply)
Hello :) I am using "mysql-connector-java-5.1.13-bin.jar" in my java projet. The MySQL database and the java application aro en the name server, I use localhost to access to the database. My database...
View ArticleQuery execution was interrupted by executeUpdate (no replies)
Hi All I have updated my mysql db from 5.0.67 to 5.1.41. the same query used by 5.0.67 get now an error: Query execution was interrupted , why? I send a query like INSERT INTO numberlist (...
View ArticleDeadlock in ServerPreparedStatement.realClose (3 replies)
Hello, I encountered multiple times a deadlock in realClose of ServerPreparedStatement using MySQL-connector-j-3.1.14. I'm running on Tomcat 6.0.20 with dbcp 1.2.1. That problem occurs more and more...
View ArticleHOLD_CURSORS_OVER_COMMIT (no replies)
Does the Connector/J product support setting HOLD_CURSORS_OVER_COMMIT property for Resultset?
View ArticleUnknown column in where clause (no replies)
Hi, I'm writing a java application with JDBC, and have the following problem: I have a table named TRIPS which has 4 columns: ID ISBACKPACK ISFAMILY DISCOUNT the code which creates the table: String...
View Articlecom.mysql.jdbc.CommunicationsException: Communications link failure due to...
Hi I have web application using mysql database connection. its working fine but after 8 hours or 10 later i will get below errors. please me someone 09 Jul 2010 03:31:44:924 :[ERROR] : [C]:DAOLayer...
View ArticleHow to set enableStreamingResults() by default? (1 reply)
I've found here several topics about tables with huge amount of data. Answer to this question was: narrow your queries or do statement.enableStreamingResults(). These solutions are not situable to me,...
View ArticleUsing Connector/J within a JAR (no replies)
Hi all, I have some inherited code that I am updating to use a MySQL database instead of a flat text file for storing survey responses. I'm hoping to deploy the application as a JAR and use WebStart...
View ArticleHow to send data from Excel to mysql using java also normalizing it at java...
I have a data sheet in excel with 19 attributes I am building a web based application using flex as front end java middleware and mysql as backend Now the issue is there would be a browse tab to...
View Article