HHH-18132 Add support for skip locked for HANA.
This commit is contained in:
parent
0d35d9d5b1
commit
a53d4317a3
|
@ -1948,4 +1948,9 @@ public abstract class AbstractHANADialect extends Dialect {
|
||||||
public DmlTargetColumnQualifierSupport getDmlTargetColumnQualifierSupport() {
|
public DmlTargetColumnQualifierSupport getDmlTargetColumnQualifierSupport() {
|
||||||
return DmlTargetColumnQualifierSupport.TABLE_ALIAS;
|
return DmlTargetColumnQualifierSupport.TABLE_ALIAS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean supportsSkipLocked() {
|
||||||
|
return getVersion().isSameOrAfter(2, 0, 3);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -273,4 +273,9 @@ public class HANASqlAstTranslator<T extends JdbcOperation> extends AbstractSqlAs
|
||||||
public void visitValuesTableReference(ValuesTableReference tableReference) {
|
public void visitValuesTableReference(ValuesTableReference tableReference) {
|
||||||
emulateValuesTableReferenceColumnAliasing( tableReference );
|
emulateValuesTableReferenceColumnAliasing( tableReference );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected String getSkipLocked() {
|
||||||
|
return "ignore locked";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue