org.hibernate.exception.spi.ViolatedConstraintNameExtracter Java Examples

The following examples show how to use org.hibernate.exception.spi.ViolatedConstraintNameExtracter. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SQLStateConverter.java    From lams with GNU General Public License v2.0 5 votes vote down vote up
public SQLStateConverter(final ViolatedConstraintNameExtracter extracter) {
	super();
	final ConversionContext conversionContext = new ConversionContext() {
		@Override
		public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
			return extracter;
		}
	};
	addDelegate( new SQLStateConversionDelegate( conversionContext ) );
}
 
Example #2
Source File: SQLiteDialect.java    From md_blockchain with Apache License 2.0 4 votes vote down vote up
@Override
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
    return EXTRACTER;
}
 
Example #3
Source File: HSQLDialect.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
	return hsqldbVersion < 200 ? EXTRACTER_18 : EXTRACTER_20;
}
 
Example #4
Source File: MySQL5Dialect.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
	return EXTRACTER;
}
 
Example #5
Source File: Teradata14Dialect.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
	return EXTRACTER;
}
 
Example #6
Source File: H2Dialect.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
	return EXTRACTER;
}
 
Example #7
Source File: Oracle8iDialect.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
	return EXTRACTER;
}
 
Example #8
Source File: InformixDialect.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
	return EXTRACTER;
}
 
Example #9
Source File: Oracle9Dialect.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
	return EXTRACTER;
}
 
Example #10
Source File: Cache71Dialect.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
	return EXTRACTER;
}
 
Example #11
Source File: PostgreSQL81Dialect.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
	return EXTRACTER;
}
 
Example #12
Source File: Dialect.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
	return EXTRACTER;
}
 
Example #13
Source File: DelegatingDialect.java    From keycloak with Apache License 2.0 4 votes vote down vote up
@Override
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
    return getInstance().getViolatedConstraintNameExtracter();
}