HHH-5168 DB2Dialect generates CROSS JOINs which aren't supported

This commit is contained in:
Strong Liu 2010-10-26 15:12:14 +08:00
parent 1f012f8b36
commit 98f41bd6a8
1 changed files with 4 additions and 0 deletions

View File

@ -418,6 +418,10 @@ public class DB2Dialect extends Dialect {
return false; return false;
} }
//DB2 v9.1 doesn't support 'cross join' syntax
public String getCrossJoinSeparator() {
return ", ";
}
// Overridden informational metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Overridden informational metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
public boolean supportsEmptyInList() { public boolean supportsEmptyInList() {