Adapt expected result for query test Scenario2_2c on SAP HANA Database

Depending on the JDBC driver version for SAP HANA Database, either a
Long or an Integer is returned for numeric constants in a result set.
The test Scenario2_2c is changed to reflect this dependency.

See bug 384237.

Signed-off-by: Sabine Heider <sabine.heider@sap.com>
Fix handling of JDBC types NCHAR, NVARCHAR and LONGNVARCHAR

The JDBC types NCHAR, NVARCHAR and LONGNVARCHAR have been introduced
with JDBC 4 (i.e. Java SE 6 ). Regarding programming logic, they should
be treated as their non-unicode counterparts CHAR, VARCHAR and
LONGVARCHAR. I added the new datatypes to the programming logic where
needed.

See bug 402516.

Signed-off-by: Sabine Heider <sabine.heider@sap.com>