HHH-11499 : Add a new DB2 dialect that uses "cross join" for cross joins instead of ","
(cherry picked from commit 19e585bf9d
)
This commit is contained in:
parent
abc3eb14a6
commit
d28663cbff
|
@ -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
|
||||
|
|
|
@ -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 ";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue