public class PostgresqlDialect extends AnsiSqlDialect
wrapper
Constructor and Description |
---|
PostgresqlDialect()
构造
|
Modifier and Type | Method and Description |
---|---|
String |
dialectName()
方言名
|
PreparedStatement |
psForUpsert(Connection conn,
Entity entity,
String... keys)
|
getWrapper, psForDelete, psForFind, psForInsert, psForInsertBatch, psForPage, psForPage, psForUpdate, setWrapper, wrapPageSql
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
psForCount, psForCount
public String dialectName()
Dialect
dialectName
in interface Dialect
dialectName
in class AnsiSqlDialect
public PreparedStatement psForUpsert(Connection conn, Entity entity, String... keys) throws SQLException
Dialect
conn
- 数据库连接对象entity
- 数据实体类(包含表名)keys
- 查找字段,某些数据库此字段必须,如H2,某些数据库无需此字段,如MySQL(通过主键)SQLException
- SQL执行异常,或方言数据不支持此操作Copyright © 2024. All rights reserved.