IBM / JTOpen

IBM Toolbox for Java, an IBM i communications library
https://ibm.github.io/JTOpen/
Other
56 stars 26 forks source link

JDBC does not know system version level when port number specfied. #183

Closed jeber-ibm closed 1 month ago

jeber-ibm commented 1 month ago

The JDBC driver does not know the system version level when a port number is specified. For example,

java -jar jt400.jar 'jdbc:as400:ut24p72:8471' yyyy zzzz

!callmethod DMD.getDatabaseProductVersion() Call returned 07.01.0000 V7R1m0

This will also cause the boolean type to not be handled correctly.

If a port number is specified, the driver will need to determine the release level.

This can be determined by running the following query:

select * from sysibmadm.ENVSYSINFO OS_NAME,OS_VERSION,OS_RELEASE,HOST_NAME, IBM i,7,5,XXXXXXCOM,

jeber-ibm commented 1 month ago

corresponding test issue is https://github.com/IBM/JTOpen-test/issues/99