org.hibernate.sql.CacheJoinFragment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
JPMS Module-Info's for a few of the Jakarta Libraries just until they add them in themselves
/*
* 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.sql;
import org.hibernate.AssertionFailure;
/**
* A Caché dialect join. Differs from ANSI only in that full outer join
* is not supported.
*
* @author Jeff Miller
* @author Jonathan Levinson
*/
public class CacheJoinFragment extends ANSIJoinFragment {
public void addJoin(String rhsTableName, String rhsAlias, String[] lhsColumns, String[] rhsColumns, JoinType joinType, String on) {
if ( joinType == JoinType.FULL_JOIN ) {
throw new AssertionFailure( "Cache does not support full outer joins" );
}
super.addJoin( rhsTableName, rhsAlias, lhsColumns, rhsColumns, joinType, on );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy