org.hibernate.dialect.PostgreSQL10Dialect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beangle-hibernate-core Show documentation
Show all versions of beangle-hibernate-core Show documentation
Hibernate Orm Core Shade,Support Scala Collection
/*
* 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.dialect;
import java.util.List;
import org.hibernate.dialect.identity.IdentityColumnSupport;
import org.hibernate.dialect.identity.PostgreSQL10IdentityColumnSupport;
/**
* An SQL dialect for Postgres 10 and later.
*/
public class PostgreSQL10Dialect extends PostgreSQL95Dialect {
@Override
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 tableTypesList) {
super.augmentRecognizedTableTypes( tableTypesList );
tableTypesList.add( "PARTITIONED TABLE" );
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy