In order to use the Spring Framework, jar files related to Spring are required. In addition, in order to integrate with Altibase, the ALTIBASE JDBC Driver is required. This chapter describes how to build an environment for Spring, and how to get an ALTIBASE JDBC Driver.
Building environment for Spring Framework
The environment for Spring can be easily built by using the Eclipse Spring Development Tool (STS) and Maven.
What is Maven?
This is a project management tool.
This is a management tool that includes logic for executing plug-in goals in the steps defined in the project object model, standard set, project lifecycle, and dependency management system.
Example of Maven
Information
Icon
Please refer to Appendix 2 of "MyBatis Integration Guide for Altibase"
The red mark should be set according to the patch version.
How to get ALTIBASE JDBC Driver
The JDBC driver provided by ALTIBASE is Altibase.jar file. This file is located in the $ALTIBASE_HOME/lib directory of the server where ALTIBASE is installed.
Starting from Altibase version 5, Altibase.jar and Altibase5.jar files exist in the $ALTIBASE_HOME/lib directory. Altibase.jar is a general JDBC Driver file, and Altibase5.jar is the JDBC Driver file used when the user wants to integrate ALTIBASE version 5 or lower versions together. Therefore, when integrating with one ALTIBASE DB or multiple ALTIBASEs with the same version, use the $ALTIBASE_HOME/lib/Altibase.jar file.
It is necessary to check the version of ALTIBASE JDBC Driver to verify that the ALTIBASE DB Server to be integrated with the ALTIBASE JDBC Driver is compatible.
To check the ALTIBASE JDBC Driver version, execute the following command.
At this time, if the cm protocol version of the ALTIBASE DB Server and the CMP of the ALTIBASE JDBC Driver is the same, they are compatible.
It is recommended that the user uses the ALTIBASE JDBC Driver file, which is the same as or later than the version of ALTIBASE DB Server, because JDBC related bugs may be fixed as the version is upgraded.