Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Browsing all 884 articles
Browse latest View live
↧

problem with the connector (no replies)

Hi i import the jar file mysql-connector-java-5.1.14-bin into the libraries but still the error message appears. Couldn't connect: print out a stack trace and exit....

View Article


JConnector and Java Webstart (no replies)

Hello, I am successfully deploying a standalone java application using Java Webstart. I an using the JDBC connector from "mysql-connector-java-5.1.10-bin.jar" to connect to a remote database. The...

View Article


MySQLSyntaxErrorException thrown from Field during getCollation call in...

I have 2 databases, and in one, I have a view that reads from a table in the other. The code used to read the data from the view is generic, and so reads the ResultSetMetaData to obtain information...

View Article

Having troubles connecting. (1 reply)

Hi, My code is as follows, which is from http://www.kitebird.com/articles/jdbc.html but slightly modified. (My database is called "mrknowitall"):...

View Article

Need help with Connector/MXJ embedded MySQL behavior (1 reply)

Hi all, I am developing a simple easy to use application, where one app is embedded mysql server with Connector/MXJ and Connector/J. Another is a client program which access this server using...

View Article


NullPoiter Exception while calling executeupdate (no replies)

Hi, I have JAVA code to insert data in MySql DB. It works fine. But sometimes it throws nullpointer exception while calling executeUpdate() method. It doesnt seems issue with connection as it is able...

View Article

connection persistence for prepared statements (2 replies)

Hi, I'm having trouble figuring out whether and how to use prepared statements for a system using java servlets with JDBC. Some of my queries join numerous tables so I would think that prepared...

View Article

Problems with connections pool in Tomcat (no replies)

Hi all, I have a problem with: Tomcat 6.0 + MySQL 5.1 + mysql-connector. I configured the connection in tomcat like this: <Resource driverClassName="com.mysql.jdbc.Driver" logAbandoned="false"...

View Article


java.lang.ClassNotFoundException: com.mysql.jdbc.Driver (no replies)

I am getting java.lang.ClassNotFoundException: com.mysql.jdbc.Driver this exception,but I have already install the mysql-connector.jar file in WEB-INF/lib directory, after that also I get this...

View Article


Record Locking InnoDB (no replies)

Hi there, Does anybody know what the correct way would be in order to do the following. I'm using MYSQL since the last 4 months, and MYSQL does have a different way of processing locks than other...

View Article

MySQL connector issue with Eclipse RCP (no replies)

All, I am getting the com.mysql.jdbc.Driver exception when trying to load the Driver class using Class.forName("com.mysql.jdbc.Driver"). I have written a custom Eclipse plugin and wanted to access the...

View Article

SOURCE command and JDBC driver (no replies)

Hi, I have an issue with the SOURCE command when I using it through the JDBC driver. When I execute ResultSet resultSet = statement.executeQuery("SOURCE c:/temp/MySQLfile.sql"); I get an exception...

View Article

Column Index out of range, 0 < 1 (1 reply)

Alright, so heres a weird one for you, when I try the following: Statement s = c.createStatement(); ResultSet rs = s.executeQuery("SELECT * FROM usermap"); rs.next(); I get the following exception:...

View Article


Default databse transaction isolation level is hardcoded? (no replies)

Hi, as far as I can see from the source code, driver's fallback isolation level if not properly resolved from db is TRANSACTION_READ_COMMITTED. Code snippets from ConnectionImpl: {code} /** isolation...

View Article

Unable to set up MySQL database within Jena Semantic Web Framework (no replies)

Hi all, I'm attempting to use the Jena semantic web framework to set up a MYSQL database-backed RDF model, using the following code: String DBurl = "jdbc:mysql://localhost/test"; // url of database...

View Article


first time for the login it shows throws the exception (4 replies)

On the first login of the day it throws the exception first time login shows exception as com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION user_identification does not exist. Next...

View Article

WHQL (no replies)

I've recently been given the task of testing our software solution for Microsoft Gold Competency. One of the requirements is that the ISV have documented proof for all drivers, having passed...

View Article


MySQL java.net.SocketException: Broken pipe (no replies)

Hi, I have been working around this issue for sometime now, but haven't figured out the desired results. I have java hibernate and Mysql application. I get random stack traces: 18:28:13,163 DEBUG...

View Article

JDBC Connection Problem (1 reply)

My task is to read the tag number when I scan a tag in the RFID reader, and take that number to match with an identical number in the database. Then, I extract the data in the same row as that matched...

View Article

Broken pipe exception (no replies)

java.net.SocketException: Broken pipe in my spring webapplication i am getting this exception..,i am using hibernate and my data base is mysql..., if any one know how to fix this problem ...,please...

View Article
Browsing all 884 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>