You can use Java Database Connectivity (JDBC) to access Tablestore. You can execute SQL statements to query data by directly using JDBC or by using Hibernate or MyBatis to use JDBC.
Connection methods
Connection method | Description |
Tablestore provides the JDBC driver that you can use to execute SQL statements to access Tablestore. You can access Tablestore by directly using JDBC. | |
Hibernate is an Object/Relational Mapping (ORM) solution for Java environments. You can access Tablestore by using Hibernate to use the JDBC driver for Tablestore. | |
MyBatis is a persistence framework for Java that supports custom SQL statements, stored procedures, and advanced mappings. You can access Tablestore by using MyBatis to use the JDBC driver for Tablestore. |