//s.find("from Baz as baz where baz.topComponents[baz].name = 'bazzz'");
if ( (getDialect() instanceof DB2Dialect) && !(getDialect() instanceof DerbyDialect) ) {
s.find("from Foo foo where lower( foo.foo.string ) = 'foo'");
s.find("from Foo foo where lower( (foo.foo.string || 'foo') || 'bar' ) = 'foo'");
s.find("from Foo foo where repeat( (foo.foo.string || 'foo') || 'bar', 2 ) = 'foo'");
s.find("from Bar foo where foo.foo.integer is not null and repeat( (foo.foo.string || 'foo') || 'bar', (5+5)/2 ) = 'foo'");
s.find("from Bar foo where foo.foo.integer is not null or repeat( (foo.foo.string || 'foo') || 'bar', (5+5)/2 ) = 'foo'");
}
if (getDialect() instanceof SybaseDialect) {
s.iterate("select baz from Baz as baz join baz.fooArray foo group by baz order by sum(foo.float)");