Important
The SingleStore 9.1 release candidate (RC) is available now. It will be promoted to general availability (GA) soon and at that time it will be renamed to SingleStore 10.
In the interim, SingleStore 9.1 RC can be used to preview, evaluate, and provide feedback on the new and upcoming features in SingleStore 10, while SingleStore 9.0 is recommended for production workloads.
Connect with Java/JDBC
On this page
You can connect from Java/JDBC-based applications to SingleStore using the following drivers/connectors:
-
The SingleStore JDBC Driver
-
MariaDB Connector/J (JDBC)
For most JDBC use cases, SingleStore recommends The SingleStore JDBC Driver.
You can use GSSAPI (Generic Security Services Application Program Interface) authentication via the JDBC client libraries.
The SingleStore JDBC Driver
The SingleStore JDBC driver is compatible with JDBC 4.
Refer to The SingleStore JDBC Driver for detailed information on how to install, configure, and connect using this driver.
Hibernate SingleStore Dialect
Refer to Hibernate SingleStore Dialect for information on connecting to your SingleStore deployments from Hibernate applications using the SingleStore dialect.
MariaDB Connector/J (JDBC) Version 2. 4. 0 (LGPLv2. 1)
You can also use the MariaDB Connector/J v2.
Note
To enable/promote connector compatibility, SingleStore identifies itself as MySQL version x.
To specify a MySQL compatibility version, use the compat_ variable.
SET GLOBAL compat_version = '5.6.4';
Refer to Connector/J 2.
In this section
Last modified: