Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Unzip the downloaded zip file
  2. Copy the following jar files from this location to the sff.auto.launch folder which is present in your A-Stack Prime folder.
    1. org.osgi.service.jdbc-1.0.0.jar
    2. sff.bundle.ext.jdbc-1.0.0.jar
  3. In addition to the above bundles, we need to copy the JDBC driver jar file (OSGI bundle) for the selected database. You can refer the below repository to get OSGi version of database server.


Change Log

  • Version 1.0.0
  1. Selection queries All CRUD operations can be used to retrieve data from executed on Relational database using JDBC handler
  2. Connection pooling support using HikariCP connection pool library.


JDBC Protocol Parameters:

...

Code Block
languagexml
titleJDBC Handler successful response
linenumberstrue
<Result StatusCode="200" Description="Successful.">
  <Records>
    <Record>
      <EMPNO>7839</EMPNO>
      <ENAME>King</ENAME>
      <JOB>President</JOB>
      <MGR/>
      <HIREDATE>1981-11-17</HIREDATE>
      <SAL>7698</SAL>
      <COMM/>
      <DEPTNO>10</DEPTNO>
    </Record>
    <Record>
      <EMPNO>7698</EMPNO>
      <ENAME>Blake</ENAME>
      <JOB>Manager</JOB>
      <MGR>7839</MGR>
      <HIREDATE>1981-05-01</HIREDATE>
      <SAL>7782</SAL>
      <COMM/>
      <DEPTNO>20</DEPTNO>
    </Record>
    <Record>
      <EMPNO>7782</EMPNO>
      <ENAME>Clerk</ENAME>
      <JOB>Manager</JOB>
      <MGR>7839</MGR>
      <HIREDATE>1981-06-09</HIREDATE>
      <SAL>7566</SAL>
      <COMM/>
      <DEPTNO>30</DEPTNO>
    </Record>
    <Record>
      <EMPNO>7566</EMPNO>
    
 <ENAME>Jones</ENAME>       <JOB>Manager</JOB>
      <MGR>7839</MGR>
      <HIREDATE>1981-04-02</HIREDATE>
      <SAL>7839</SAL>
      <COMM/>
      <DEPTNO>40</DEPTNO>
    </Record>
  </Records>
</Result>


JDBC Successful response format - Inserrt, Update,Delete operations: The output message of jdbc handler is an xml structure that has fields of database columns which are retrieved using Insert,Update,Delete query operations.

...