org.hibernate.dialect.DerbyTenSixDialect Maven / Gradle / Ivy
/*
* 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 .
*/
package org.hibernate.dialect;
/**
* Hibernate Dialect for Cloudscape 10 - aka Derby. This implements both an
* override for the identity column generator as well as for the case statement
* issue documented at:
* http://www.jroller.com/comments/kenlars99/Weblog/cloudscape_soon_to_be_derby
*
* @author Simon Johnston
* @author Scott Marlow
*/
public class DerbyTenSixDialect extends DerbyTenFiveDialect {
/**
* Constructs a DerbyTenSixDialect
*/
public DerbyTenSixDialect() {
super();
}
@Override
public boolean supportsSequences() {
return true;
}
@Override
public String getCrossJoinSeparator() {
// 10.6 introduced support for the cross join syntax: http://db.apache.org/derby/docs/10.6/ref/rrefsqljcrossjoin.html
return " cross join ";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy