HHH-13913 An SQL Dialect for PostgreSQL 10 and later. Adds support for Partition table.
This commit is contained in:
parent
92bca8f4f1
commit
cc14c785b9
|
@ -6,6 +6,8 @@
|
|||
*/
|
||||
package org.hibernate.dialect;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.hibernate.dialect.identity.IdentityColumnSupport;
|
||||
import org.hibernate.dialect.identity.PostgreSQL10IdentityColumnSupport;
|
||||
|
||||
|
@ -18,4 +20,15 @@ public class PostgreSQL10Dialect extends PostgreSQL95Dialect {
|
|||
public IdentityColumnSupport getIdentityColumnSupport() {
|
||||
return new PostgreSQL10IdentityColumnSupport();
|
||||
}
|
||||
|
||||
/**
|
||||
* An SQL Dialect for PostgreSQL 10 and later. Adds support for Partition table.
|
||||
*
|
||||
* @param tableTypesList
|
||||
*/
|
||||
@Override
|
||||
public void augmentRecognizedTableTypes(List<String> tableTypesList) {
|
||||
super.augmentRecognizedTableTypes( tableTypesList );
|
||||
tableTypesList.add( "PARTITIONED TABLE" );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue