StripNewlines
- Last Updated: May 30, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
Purpose
Specifies whether newline characters in a SQL statement are sent to the Db2 server. If you know that SQL statements in your application do not contain newline characters, the driver can skip the removal of newline characters, improving performance by eliminating the parsing required by the Db2 server to remove them.
Valid Values
true | false
Behavior
If
set to true, the driver removes all newline characters from
SQL statements.
If set to false, the driver
does not remove any newline characters from SQL statements.
Data Source Methods
public Boolean getStripNewlines()
public void setStripNewlines(Boolean)
Default
false
Data Type
Boolean