Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 4282  / 2 Years ago, sun, january 9, 2022, 1:33:25

I'm developing an application using Java and MySQL. I've installed libmysql-java package as a database connector, but the installed connector implements version 3.0 of the JDBC specification.



Does anybody know which packages or connectors are needed to install for using JDBC 4.0 in Ubuntu 12.04 using MySQL.



I'm using




  • Java (java version "1.7.0_04")

  • MySQL (mysql Ver 14.14 Distrib 5.5.22)


More From » java

 Answers
4

According to this page 5.1.x versions of Connector/J supports JDBC 4.0 and the version of Connector/J available in latest Ubuntu repository is libmysql-java 5.1.16-2. So the driver you are using probably supports JDBC 4.0.


[#37967] Sunday, January 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cretanol

Total Points: 320
Total Questions: 99
Total Answers: 115

Location: Australia
Member since Sat, May 27, 2023
1 Year ago
;