Anúncio
relacionado a: mysql java connectorReliable and Innovative Cloud Solutions For Your Needs. No Upfront Costs. Our Products and Cloud Services Are Designed To Help You Bring New Ideas To Life.
- Azure Pricing Calculator
Price and Configure Azure Features
Based on Your Needs and Scenarios
- Azure Virtual Machines
Create Linux and Windows Virtual
Machines in Seconds. Start Free!
- Site Recovery
Orchestrate Your Disaster Recovery
Plan. Try it Now!
- What is Azure?
Learn The Basics About Azure Now.
Solve Today's Challenges.
- Azure Data Services
Easily Build Apps for Any Scenario
Using an Integrated Data Portfolio.
- The Trusted Cloud
Learn About Security and Privacy.
Enable Advanced Threat Protection.
- Azure Pricing Calculator
Resultado da Busca
Download MySQL Connector/J, the official JDBC driver for MySQL, compatible with all MySQL versions starting with 5.7. Learn how to install, use and troubleshoot MySQL Connector/J and the new X DevAPI for MySQL Server 8.0 and beyond.
Find out the latest versions, vulnerabilities, and usages of MySQL Connector/J, a pure Java implementation of the MySQL protocol. MySQL Connector/J supports JDBC 4.x features and various date-time formats.
Download the JDBC driver for MySQL, a standards-based driver that enables Java applications to connect to MySQL databases. Learn more about the features, compatibility, and installation of Connector/J.
21 de out. de 2024 · Learn how to use MySQL Connector/J 9.0, a JDBC and X DevAPI driver for communicating with MySQL servers. Find installation instructions, configuration properties, examples, reference, and troubleshooting tips.
- Overview
- Licensing
- Getting the Latest Release
- Contributing
- Additional Resources
- GeneratedCaptionsTabForHeroSec
MySQL provides connectivity for client applications developed in the Java programming language with MySQL Connector/J, a driver that implements the Java Database Connectivity (JDBC) API and also MySQL X DevAPI.
MySQL Connector/J 8.3 is a JDBC Type 4 driver that is compatible with the JDBC 4.2 specification. The Type 4 designation means that the driver is a pure Java implementation of the MySQL protocol and does not rely on the MySQL client libraries.
The driver also contains an implementation of MySQL X DevAPI, an application programming interface for working with MySQL as a Document Store through CRUD-based, NoSQL operations.
For more information, please visit the official MySQL Connector/J documentation.
Please refer to the README and LICENSE files, available in this repository, and the Legal Notices in the MySQL Connector/J documentation for further details.
Download and Install
MySQL Connector/J can be installed from pre-compiled packages that can be downloaded from the MySQL Connector/J download page. Installing MySQL Connector/J only requires obtaining the corresponding JAR file from the downloaded bundle or installer and including it in the application's CLASSPATH. According to how you use MySQL Connector/J, you may also need to install the following third-party libraries on your system for it to work: •Protocol Buffers (protobuf-java) is required for using X DevAPI •Oracle Cloud Infrastructure SDK for Java (oci-java-sdk) is required to support OCI AIM authentication •Simple Logging Facade API (slf4j-api) is required for using the logging capabilities provided by the default implementation of org.slf4j.Logger.Slf4JLogger by MySQL Connector/J
As a Maven Dependency
Alternatively, MySQL Connector/J can be obtained automatically via Maven's dependency management by adding the following configuration in the application's Project Object Model (POM) file: MySQL Connector/J's own Project Object Model (POM) file specifies a transitive dependency to Protocol Buffers (protobuf-java) since it is required for using X DevAPI. However, if you do not use the X DevAPI features, you may also want to add a dependency exclusion to avoid linking the unneeded sub-library. For example:
Build From Source
This driver can also be complied and installed from the source available in this repository. Please refer to the MySQL Connector/J documentation for detailed instructions on how to do it.
There are a few ways to contribute to the MySQL Connector/J code. Please refer to the contributing guidelines for additional information.
•MySQL Connector/J Developer Guide.
•MySQL Connector/J X DevAPI Reference.
•MySQL Connector/J, JDBC and Java forum.
•#connectors channel in MySQL Community Slack. (Sign-up required if you do not have an Oracle account.)
•@MySQL on Twitter.
•MySQL Blog.
MySQL Connector/J is a Java driver for MySQL that implements JDBC and X DevAPI. Learn how to download, install, use, and contribute to this open source project on GitHub.
24 de abr. de 2024 · In this article, we have seen several different ways to connect to a MySQL database from Java. We started with the essential JDBC connection. Then we looked at commonly used ORMs like Hibernate, Mybatis, and Apache Cayenne. Finally, we took a look at Spring Data JPA and Spring Data JDBC.
MySQL Connector/J is a pure Java implementation of the MySQL protocol that supports the JDBC API and the X DevAPI. It provides features such as auto-registration, standardized exceptions, large update counts, and support for various data types.