java connector/J5.1 mysql (no replies)
I am working on the connection of MySQL with Java. I understand this is a tested practise because I see many file applications about it. I have obtained the files: LoadDriver.class...
View ArticleLoading data into mysql tables taking insanely long time (no replies)
I'm a Java developer with some functional knowledge of mysql (not an expert by any means!). I have mysql version 5.7.21 which is hosted on Ubuntu 16.04.3 LTS (xenial). I have a Java program which uses...
View ArticlerewriteBatchedStatements / SQL injection (no replies)
We are using a Google CloudSQL MySQL instance with the MySQL Connector/J and Spring Data on top. We notice some performance issues when inserting large amounts of data. Setting...
View ArticleJava Socket Jdbc mysql connection (no replies)
I am have my own java socket server. in this socket more than 10,000 users connected at a time. i want update some user details in to database. I use jdbc for mysql connection. i face lots of pblm...
View ArticleUnable to connect using Connector JDBC (no replies)
I am unable to connect to a MySql server database on another local Intranet machine. I have installed the connector both under Windows and Linux. In neither case am I able to connect using the MySQL...
View Article"Broken Pipe" in JDBC due session autorefresh (no replies)
Hi! I have a Tomcat application with two database connecctions: JDBC and Hibernate ones. The Hibernate connection fails after 20 hours of inactivity due c3po session auto-refresh (free memory:...
View ArticleA Problem of Accessing MySQL via JDBC using Pipe (no replies)
1. Whether JDBC can access MySQL using pipe under Linux 2. I tested retrieving 5 million rows of data under win10 using the same Java code in different URLs, the result is named pipe is 30-50% slower...
View ArticleAlternative mySQL paths (no replies)
I have MySQL installed on two physical paths. I want to switch among those. Is there any way to do that in Ubuntu 16.04.
View ArticleArrayIndexOutOfBoundsException at com.mysql.cj.mysqla.io.Buffer#readInteger...
I'm using mysql-connector-java-6.0.6.jar to connect mysql server, both 5.7.21 and MariaDB-10.1.22. Eanble useServerPrepStmts, then execute a normal preparedStatement query, such as: "select f1 from...
View ArticleHow to disable the field cache in ServerPreparedStatement (no replies)
Use 6.0.6 version, enable useServerPrepStmts. The statement is cached by connection, the statement will remain until the connection is really closed. Suppose a statement query "select * from xxx",...
View ArticlePerformance Impact of rollback() Immediately after a commit(). (no replies)
Recently our team moved to the following approach (we have valid reasons why and my question is not about this solution): try (DbSession session = daoFactory.openSession()) { // JDBC Execution with...
View ArticleLicensing - community vs. commercial (no replies)
Hi, I've been asked whether the version of the connector (mysql-connector-java 5.1.9) we're using is the commercial or the community version. I was under the impression that the only difference...
View ArticleNo enum constant...
I have just upgraded my installation of MySQL to the Community Edition 8.0.11.0 and all of the relavant database schemas have been restored correctly with appropriate authorities. However, when trying...
View ArticleMySQL 8.0: Connector/J (no replies)
MySQL Connector/J 8.0 - https://insidemysql.com/connector-j-8-0-11-the-face-for-your-brand-new-document-oriented-database/ DevAPI: - https://insidemysql.com/mysql-8-0-welcome-to-the-devapi/
View ArticleToday new update! (no replies)
Hello my customers! Today new update! up up up..................... Contact Me Support: - ICQ: 5570766 - Gmail: worlddark5570766@gmail.com
View Article[Q] Best method to create a rest api with an already existing database. (1...
I am trying to develop a RESTful web service with Java and most of the examples are creating the database from scratch. Javascript let us access the database and create it but the people that we are...
View ArticleHanging threads on com.mysql.jdbc.ConnectionImpl.setAutoCommit (no replies)
We have a server system where the following DB layer is used: hibernate 4.3.7, c3p0 0.9.5.2, mysql-connector-java 5.1.46. MySQL 5.7.21 (and also 5.5.60) is a standalone DB server. After ~2 days of the...
View ArticleMemory Leak warning in Tomcat when using...
I am using Tomcat 9.0.8 with MySQL database Ver 8.0.11 and mysql-connector-java Version 8.0.11 I have implemented a Listener and in the contextDestroy(), I am de-registering all the JDBC drivers as...
View ArticleCommunicationsException when using cursor-based fetch of large dataset (no...
Hi folks, We are using Connector/J version 5.1 in our app to read a large number of rows (~7M) and fairly large dataset (~27 GB). We were hitting timeouts with streaming results row-by-row: val conn =...
View ArticleConnector/J 8 timezone issue (no replies)
Hi, I use JDK 8, Tomcat 8 and Connector/J 8. My JVM got GMT+1 for timezone. JDBC does timezone conversion for every DATE value that comes from the client, before sending them to MYSQL. Setting...
View Article