Skip to content

Commit

Permalink
TEIID-3753 changing the default
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Oct 14, 2015
1 parent 69fc982 commit 7f7c471
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Expand Up @@ -47,6 +47,7 @@ <h4>from 8.x</h4>
<li>TEIID-2754 view are reported as VIEW table type in the metadata. Use the connection property reportAsViews=false to restore the old behavior.</li>
<li>TEIID-3601 changed the rowCount field on CommandLogMessages from Integer to Long.</li>
<li>TEIID-3752 the admin assignToModel method was removed</li>
<li>TEIID-3753 org.teiid.widenComparisonToString now defaults to false.</li>
</ul>

<h4>from 8.11</h4>
Expand Down
Expand Up @@ -58,7 +58,7 @@
*/
public class CompositeVDB {

private static final boolean WIDEN_COMPARISON_TO_STRING = PropertiesUtils.getBooleanProperty(System.getProperties(), "org.teiid.widenComparisonToString", true); //$NON-NLS-1$
private static final boolean WIDEN_COMPARISON_TO_STRING = PropertiesUtils.getBooleanProperty(System.getProperties(), "org.teiid.widenComparisonToString", false); //$NON-NLS-1$

private VDBMetaData vdb;
private MetadataStore store;
Expand Down
Expand Up @@ -84,7 +84,7 @@ public class TestMatViewAliasing {
assertTrue(rs.next());
assertEquals("LOADED", rs.getString("loadstate"));

rs = s.executeQuery("select * from mat as a, mat as b where a.x = b.name order by a.x");
rs = s.executeQuery("select * from mat as a, mat as b where cast(a.x as string) = b.name order by a.x");
assertFalse(rs.next());
}

Expand Down

0 comments on commit 7f7c471

Please sign in to comment.