Adapter for JDBC 10.3 | webMethods Adapter for JDBC Documentation | webMethods Adapter for JDBC Installation and User’s Documentation | Adapter Configuration Parameters | watt.adapter.JDBC.UsePlainString
 
watt.adapter.JDBC.UsePlainString
Specifies whether Adapter for JDBC services return an exponential form of the column value retrieved from a database when using Java version 1.5 and higher. When the adapter services retrieve a column value of Decimal or Numeric JDBC Data Type and the Output Field Type is defined as java.lang.String, the output returned may sometimes be in exponential form. The output returned is the String obtained by invoking the BigDecimal.toString() method. Due to changes in the behavior of BigDecimal.toString in Java 5, BigDecimal.toString() now returns exponential values in some cases. When the watt.adapter.JDBC.UsePlainString parameter is set to true, Adapter for JDBC invokes the toPlainString() method and returns the non-exponential form in all cases. When the parameter is set to false, the default, the adapter invokes the toString() method, and returns the exponential form if needed.