mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-27 14:30:16 +00:00
HHH-16228 Allow Dialect wrapper to expose the wrapped instance
This commit is contained in:
parent
9ec32782a0
commit
598b782387
@ -108,6 +108,14 @@ public DialectDelegateWrapper(Dialect wrapped) {
|
|||||||
this.wrapped = Objects.requireNonNull( wrapped );
|
this.wrapped = Objects.requireNonNull( wrapped );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exposed so to allow code needing to know the implementation.
|
||||||
|
* @return the wrapped Dialect
|
||||||
|
*/
|
||||||
|
public Dialect getWrappedDialect() {
|
||||||
|
return wrapped;
|
||||||
|
}
|
||||||
|
|
||||||
//can't be overriden because of how Dialects get initialized: see constructor of parent
|
//can't be overriden because of how Dialects get initialized: see constructor of parent
|
||||||
@Override
|
@Override
|
||||||
protected final void checkVersion() {
|
protected final void checkVersion() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user