Skip to content

Commit

Permalink
HHH-11499 : Add a new DB2 dialect that uses "cross join" for cross jo…
Browse files Browse the repository at this point in the history
…ins instead of ","

(cherry picked from commit 19e585b)
  • Loading branch information
gbadner committed May 15, 2017
1 parent abc3eb1 commit d28663c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
Expand Up @@ -163,7 +163,8 @@ If for some reason it is not able to determine the proper one or you want to use
|Dialect (short name) |Remarks
|Cache71 |Support for the Caché database, version 2007.1
|CUBRID |Support for the CUBRID database, version 8.3. May work with later versions.
|DB2 |Support for the DB2 database
|DB2 |Support for the DB2 database, version 8.2.
|DB297 |Support for the DB2 database, version 9.7.
|DB2390 |Support for DB2 Universal Database for OS/390, also known as DB2/390.
|DB2400 |Support for DB2 Universal Database for iSeries, also known as DB2/400.
|DerbyTenFive |Support for the Derby database, version 10.5
Expand Down
@@ -0,0 +1,21 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.dialect;

/**
* An SQL dialect for DB2 9.7.
*
* @author Gail Badner
*/
public class DB297Dialect extends DB2Dialect {

@Override
public String getCrossJoinSeparator() {
// DB2 9.7 and later support "cross join"
return " cross join ";
}
}

0 comments on commit d28663c

Please sign in to comment.