Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there "official" Javadocs available for MySQL JDBC Connector? [closed]

Are there javadocs available for MySQL JDBC connector? If so, where can I find them?

Googling around, I've come across links such as Class MysqlDataSource . But it is that official? I guess I'm looking for something that came from mysql.com or affiliates. Is there such thing?

like image 390
skytreader Avatar asked May 31 '11 07:05

skytreader


People also ask

How do I know if MySQL JDBC driver is installed?

You can determine the version of the JDBC driver that you installed, by calling the getDriverVersion method of the OracleDatabaseMetaData class. You can also determine the version of the JDBC driver by executing the following commands: java -jar ojdbc5. jar.

Which is now deprecated and will be removed in a future release of connector J?

Deprecation and Removal Notes The TLSv1 and TLSv1. 1 connection protocols are now deprecated.

Which JDBC driver is used for MySQL?

Driver in MySQL Connector/J is com. mysql. cj. jdbc.


2 Answers

The official documentation of Connector/J is here. It does not, as far as I know, contain any JavaDoc. The reason for this is that you should not need to directly refer to any of those classes. You should be able to use only the java.sql.* classes to access the DB.

like image 187
Joachim Sauer Avatar answered Dec 29 '22 01:12

Joachim Sauer


Joachim is correct. However, there are some issues left for vendor-specific implementation (for example, does Connection.close() while a transaction is open commits or rollback).

In such cases you can check out the MySQL JDBC API Implementation Notes or look at the Java docs and source in the MySQL source code

like image 43
MosheElisha Avatar answered Dec 28 '22 23:12

MosheElisha