<html>
<head>
    <base href="https://docs.jboss.org/author">
            <link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://docs.jboss.org/author/display/TEIID/System+Properties">System Properties</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://docs.jboss.org/author/display/~shawkins">Steven Hawkins</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >* _org.teiid.pushdownDefaultNullOrder_ \- defaults to false. Set to true to mimic 8.1 and prior release behavior of pushing the Teiid&#39;s default null order of nulls low if the source has a different default null order and supports explicit null ordering. <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">* _org.teiid.implicitMultiSourceJoin_ \- defaults to true. Set to false to disable Teiid 8.2 and prior release behavior of implicitly partitioning joins between multi-source tables.  When set to false and explicit predicate such as tbl1.source_name = tbl2.source_name is required to partition the results of the join. <br> <br></td></tr>
            <tr><td class="diff-unchanged" >*PostgreSQL Compatibility* <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <p>Some of Teiid's low-level behavior can be configured via system properties, rather than through configuration files. A typical place to set system properties for JBoss AS launches is in the &lt;jboss-install&gt;/bin/run.conf.  A property setting has the format &#45;Dproperty=value</p>

<ul>
        <li><em>org.teiid.allowNanInfinity</em> &#45; defaults to false.  Set to true to allow numeric functions to return NaN (Not A Number) and &#43;-Infinity.  Note that these values are not covered by the SQL specification.</li>
</ul>


<ul>
        <li><em>org.teiid.useValueCache</em> &#45; defaults to false.  Set to true to enable the canonical value cache. Value caching is used dynamically when buffer memory is consumed to reuse identical values and thus reduce the memory consumed by Teiid. There is a computation cost associated with the cache lookup, so enabling this setting is not appropriate for installations handling large volumes of dissimilar data.</li>
</ul>


<ul>
        <li><em>org.teiid.ansiQuotedIdentifiers</em> &#45; defaults to true. Set to false to emulate Teiid 6.x and prior behavior of treating double quoted values without leading identifier parts as string literals, which is not expected by the SQL specification.</li>
</ul>


<ul>
        <li><em>org.teiid.subqueryUnnestDefault</em> &#45; defaults to false. Set to true to aggressively unnest subquery IN and EXISTS predicates.  If possible the predicate will be unnested to a traditional join and will be eligible for dependent join planning. If a traditional join is not possible (such as with NOT IN) a merge join version of the semijoin or antijoin will be considered by upon the costing information available.</li>
</ul>


<ul>
        <li><em>org.teiid.ODBCPacketSize</em> &#45; defaults to 307200. Target size in bytes of the ODBC results buffer.  This is not a hard maximum, lobs and wide rows may use larger buffers.</li>
</ul>


<ul>
        <li><em>org.teiid.decimalAsDouble</em> &#45; defaults to false. Set to true to parse exact fixed point literals, e.g. 1.0, as double values rather than as decimal/BigDecimal values and to return a double value from the AVG function for integral values in the same way as releases earlier than 8.0.</li>
</ul>


<ul>
        <li><em>org.teiid.comparableLobs</em> &#45; defaults to false. Set to true to allow blob and clob column values to be comparable in Teiid.  Source type metadata will determine if the comparison can be pushed down.</li>
</ul>


<ul>
        <li><em>org.teiid.comparableObject</em> &#45; defaults to false. Set to true to allow object column values to be comparable in Teiid.  Source type metadata will determine if the comparison can be pushed down.  The object instances are expected to correctly implement java.lang.Comparable.compareTo.  If the instance object is not Comparable, then ClassCastExceptions may the thrown.</li>
</ul>


<ul>
        <li><em>org.teiid.padSpace</em> &#45; defaults to false.  Set to true to compare strings as if PAD SPACE collation is being used, that is strings are effectively right padded to the same length for comparison.  If this property is set, it is not necessary to use the trimStrings translator option.</li>
</ul>


<ul>
        <li><em>org.teiid.collationLocale</em> &#45; not set by default, which means that Java's natural (UTF-16) string comparison will be used.&nbsp; Set to a Java locale string language[_country[_varient]], where language, country, and variant are two letter codes - see <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html" class="external-link" rel="nofollow">java.util.Locale</a> for more on valid codes.&nbsp; Note that even if org.teiid.comparableLobs is set, clob values will not be compared using the locale collator.</li>
</ul>


<ul>
        <li><em>org.teiid.clientVdbLoadTimeoutMillis</em> &#45; defaults to 5 minutes. The default amount of time a client (currently only local clients) will wait to make a connection to an active VDB before throwing an exception.  Clients may override this setting via the waitForLoad connection property.</li>
</ul>


<ul>
        <li><em>org.teiid.enDateNames</em> &#45; defaults to false. Set to true to use English month and day names for the system function dayName and monthName, rather than returning names from the Java default locale.&nbsp; Prior to 8.2 dayName and monthName always returned English names.</li>
</ul>


<ul>
        <li><em>org.teiid.pushdownDefaultNullOrder</em> &#45; defaults to false. Set to true to mimic 8.1 and prior release behavior of pushing the Teiid's default null order of nulls low if the source has a different default null order and supports explicit null ordering.</li>
</ul>


<ul>
        <li><em>org.teiid.implicitMultiSourceJoin</em> &#45; defaults to true. Set to false to disable Teiid 8.2 and prior release behavior of implicitly partitioning joins between multi-source tables.  When set to false and explicit predicate such as tbl1.source_name = tbl2.source_name is required to partition the results of the join.</li>
</ul>


<p><b>PostgreSQL Compatibility</b></p>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>These affect Teiid globally, and not just through the ODBC transport.</td></tr></table></div>

<ul>
        <li><em>org.teiid.iso8601Week</em> &#45; defaults to false. Set to true to use ISO 8601 rules for week calculations regardless of the locale.  When true the dayOfWeek function will begin with 1 for MONDAY rather than SUNDAY, and the week function will require that week 1 of a year contains the year's first Thursday.</li>
</ul>


<ul>
        <li><em>org.teiid.backslashDefaultMatchEscape</em> &#45; defaults to false. Set to true to use '\' as the default escape character for LIKE and SIMILAR TO predicates when no escape is specified.  Otherwise Teiid assumes the SQL specification compliant behavior of treating each non-wildcard character as an exact match character.</li>
</ul>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="https://docs.jboss.org/author/users/removespacenotification.action?spaceKey=TEIID">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://docs.jboss.org/author/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
        <a href="https://docs.jboss.org/author/display/TEIID/System+Properties">View Online</a>
        |
        <a href="https://docs.jboss.org/author/pages/diffpagesbyversion.action?pageId=18646088&revisedVersion=12&originalVersion=11">View Changes</a>
                |
        <a href="https://docs.jboss.org/author/display/TEIID/System+Properties?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>