Hi joungim,
if you want to find out what revision the SAP HANA server is running, you can simply check the m_database system view.
To run different SQL based on the version of the used JDBC driver is not recommendable (and I actually fail to see why this should be required at all).
- Lars