Dependency Management #
This chapter mainly introduces how to download optional dependencies of DBPlusEngine
Add Narayana dependencies #
Adding Narayana dependencies requires downloading the following jar files and adding them under ext-lib
path.
jar file downloads #
- arjuna-5.12.4.Final.jar
- common-5.12.4.Final.jar
- javax.activation-api-1.2.0.jar
- jaxb-api-2.3.0.jar
- jaxb-core-2.3.0.jar
- jaxb-impl-2.3.0.jar
- jboss-connector-api_1.7_spec-1.0.0.Final.jar
- jboss-logging-3.2.1.Final.jar
- jboss-transaction-api_1.2_spec-1.0.0.Alpha3.jar
- jboss-transaction-spi-7.6.0.Final.jar
- jta-5.12.4.Final.jar
- narayana-jts-integration-5.12.4.Final.jar
- shardingsphere-transaction-xa-narayana.jar
Please download the corresponding shardingsphere-transaction-xa-narayana.jar
file according to the proxy
version.
Add Bitronix dependencies #
Adding Bitronix dependencies requires downloading the following jar files and adding them under ext-lib
path.
jar file downloads #
Please download the corresponding shardingsphere-transaction-xa-bitronix.jar
file according to the proxy
version.
Add database driver dependencies #
- DBPlusEngine has a built-in driver for Postgre database
- DBPlusEngine does not have a built-in MySQL driver, users need to add it by themselves according to the version of the database