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

New Java Open Source project for comparing MySQL tables (no replies)

www.diffkit.org Open Source java high quality with lots of unit and regression tests full support for MySQL allows you to diff (compare) tables

View Article


JDBC Default charset (no replies)

Hi, I would like to know what's the best way to make the JDBC driver work with UTF8 strings as needed? When I do: pStmt.setString(1, myString); it doesn't insert correct unicode characters in db (the...

View Article


group by being ignored (no replies)

Hello, I'm using the mysql java connector version 5.1.13. I have this basic sql query. select tag, count(tag) as num from tags group by tag order by num The query executes but the results that come...

View Article

Empty Result Set returned from call to getSchemaNames() (no replies)

HI Guys , I was trying to retrieve the names of all databases(schemas... whatever you like to call them ) . The JDBC Metadata API came up with .getSchemaNames() . Its working fine on other databases...

View Article

Connector/J + JNA + Unix Sockets (Works, But Need Help w/Performance) (no...

Hi Everyone -- In attempt to get better performance in an environment where a Java application is deployed to the same Linux server where MySQL is running, I've written a SocketFactory implementation...

View Article


Connection to mysql database with .NET C# (1 reply)

Hi, I have tried for a long time now to get a connection to mysql database. I am using Visual Studio 2008 with .NET and C#. I have included my database on the server explorer and all apropriate tables...

View Article

Strange hack in TimeUtils.changeTimezone (no replies)

I have a mysql server which I would like to connect to from two locations in different timezones. For this I tried to use useTimezone=true & serverTimezone=GMT parameters for the connection but I...

View Article

Database with web extension (no replies)

Hey. I'm new to SQL and I've got Apache/Jakarta Tomcat 5.5 and Eclipse Helios (3.6). I'm trying to setup what is essentially a functioning online bookstore like amazon.com (though business practices...

View Article


question regarding 20.3.5.1.1. Connecting to MySQL Using the DriverManager...

Hello, this is for the line "conn = DriverManager.getConnection("jdbc:mysql://localhost/rootkit"+" user=root&password=1231");". I got an exception that says "SQLException: No suitable driver found...

View Article


org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of...

Hi all I am working on a web based project using spring ,hybernate +jpa .I am trying to configure JTA Transactions with Atomkios my backend is mySql. I am not able to setup the application to work...

View Article

pls help me with this error (2 replies)

Im building an chat system in java and i use jdbc mysql connector to connect my users table in the mysql. i want every one to use my chat system so i use wamp for it (so peaople can access to the...

View Article

JDBC/JNDI config (5 replies)

Hi All. I was connecting to my database via a JDBC URL Connection String but I have since set up JNDI with Apache Tomcat 6.0.29. I am wondering how I configure the parameters, "loadBalanceStrategy"...

View Article

Having some issues connecting (1 reply)

I downloaded the JDBC connector for connecting to Mysql from Java, How every my connection code is as follows: public void testConnection() { try { //Create a new instance of the JDBC driver...

View Article


'0.0' in column '82' is outside valid range for the datatype FLOAT. (1 reply)

Hi All, We have a Spring batch job which runs through all the accounts and adjusts the balances. We are getting the following exception in this batch job in our production system every week or two....

View Article

Why my connection from JAVA to MySQL is so unstable? (no replies)

Hi! I'm developing an application based on using JAVA SE and MySQL. My database uses UTF8 settings. I connect to the database from JAVA with the following statement: db = (Connection)...

View Article


No updated Data avaiable until New Connection (1 reply)

Hi to all, iam new. I having a Problems, after insert Data to my Table contacs, The Insertaction works well, and if i make a SELECT * FROM Contacts via MySQL Workbench i can see the New Data, but i...

View Article

Error calling StoredProcedure with parameters (3 replies)

I have set up a new MySql database and defined a test stored procedure. I can call stored procedures that take no parameters, but if I call one that takes at least one parameter I get an index...

View Article


Are MySQL jdbc connectors downwards compatible? (1 reply)

Can I use a newer MySQL Java JDBC connectors (for usage in Eclipse) downwards compatible with older MySQL DBs ? Peter

View Article

Connector/MXJ (1 reply)

Hi everybody, I'm developping a Java application which uses data stored in a MySQL Community Server running on my computer. Now I want to use the Connector/MXJ to have an embedded database in my...

View Article

Problem with connection pooling (1 reply)

Hi, I'm running into the following exception with connection pooling when trying to get a connection from the pool: Cannot create JDBC driver of class '' for connect URL 'null'...

View Article
Browsing all 884 articles
Browse latest View live


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