Dear all, I just noticed FooBarTest.testNamedParams() fails under MS SQLServer. The breaking code is:
if (! (getDialect() instanceof Oracle9Dialect) ) { // oracle barfs on "x in ()" q.setParameterList("nameList", Collections.EMPTY_LIST); list = q.list(); assertTrue( list.size()==0 ); } Apparently, SQLServer doesn't like empty in () statements neither. I propose to change this code to: if (! (getDialect() instanceof Oracle9Dialect) && (! getDialect() instanceof SQLServerDialect) ) { // oracle and SQLServer barf on "x in ()" q.setParameterList("nameList", Collections.EMPTY_LIST); list = q.list(); assertTrue( list.size()==0 ); } The test runs ok with this change. Wondering if it is not the case on Sybase either ? -bertrand ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel