Modifier and Type | Method and Description |
---|---|
DBDialect |
WrapConnection.getDialect() |
Constructor and Description |
---|
WrapConnection(Connection conn,
DBDialect dialect) |
WrapConnection(Connection conn,
DBDialect dialect,
int queryTimeout) |
Modifier and Type | Method and Description |
---|---|
<T extends DBObject> |
DBMethod.getDialect(boolean readonly)
获取dialect
|
<T extends DBObject> |
DBClient.getDialect(boolean readonly) |
DBDialect |
DaoSupport.getDialect(DataSource ds) |
Modifier and Type | Method and Description |
---|---|
Object |
DBClientCallback.callback(DBDialect dialect,
DBClient client) |
Modifier and Type | Method and Description |
---|---|
DBDialect |
WrapDataSource.getDialect() |
Constructor and Description |
---|
WrapDataSource(DataSource ds,
DBDialect dialect) |
Modifier and Type | Method and Description |
---|---|
DBDialect |
ConnectInfo.getProfile()
获得方言
|
Modifier and Type | Method and Description |
---|---|
static List<ColumnChange> |
ColumnDBType.isEqualTo(ColumnMapping cm,
ColumnInfo c,
DBDialect profile)
比较列定义, 一样就返回true
|
void |
ConnectInfo.setProfile(DBDialect profile)
设置方言
|
ColumnDBType |
ColumnInfo.toColumnType(DBDialect profile) |
Constructor and Description |
---|
DdlGeneratorImpl(DBDialect profile) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultDBDialect
默认的dialect
|
Modifier and Type | Field and Description |
---|---|
static Map<DatabaseDriver,DBDialect> |
DialectUtils.DATABASE_DRIVER_DB_DIALECT_MAP
别名,版本号:允许动态添加方言
|
Modifier and Type | Method and Description |
---|---|
DBDialect |
LookDialect.getDBDialect(String name,
String version) |
static DBDialect |
DialectUtils.getDialect(String name,
String version)
获取数据库方言
|
Modifier and Type | Class and Description |
---|---|
class |
CubridDialect |
Modifier and Type | Class and Description |
---|---|
class |
DB2Dialect
TODO not tested
|
Modifier and Type | Class and Description |
---|---|
class |
DerbyDialect |
Modifier and Type | Class and Description |
---|---|
class |
FirebirdDialect |
Modifier and Type | Class and Description |
---|---|
class |
H2Dialect |
Modifier and Type | Class and Description |
---|---|
class |
HsqldbDialect |
Modifier and Type | Class and Description |
---|---|
class |
MariaDBDialect |
Modifier and Type | Class and Description |
---|---|
class |
MySqlDialect |
Modifier and Type | Class and Description |
---|---|
class |
OracleDialect |
Modifier and Type | Class and Description |
---|---|
class |
PostgreSqlDialect |
Modifier and Type | Class and Description |
---|---|
class |
SqliteDialect |
Modifier and Type | Class and Description |
---|---|
class |
SQLServer2005Dialect |
class |
SQLServer2008Dialect |
class |
SQLServer2012Dialect |
class |
SqlServerDialect |
Modifier and Type | Method and Description |
---|---|
String |
ObjectFastJsonMapping.getSqlExpression(Object value,
DBDialect profile) |
String |
ObjectGsonMapping.getSqlExpression(Object value,
DBDialect profile) |
String |
ObjectJacksonMapping.getSqlExpression(Object value,
DBDialect profile) |
Modifier and Type | Method and Description |
---|---|
static SQLContext |
CommonSql.forModelDelete(DBContext context,
TableMapping table,
DBDialect dialect,
DBObject obj) |
static SQLContext |
CommonSql.forModelDeleteByIds(DBContext context,
TableMapping table,
DBDialect dialect,
Object... keyParams) |
static SQLContext |
CommonSql.forModelExistsByIds(DBContext context,
TableMapping table,
DBDialect dialect,
Object... keyParams) |
static SQLContext |
CommonSql.forModelSelectByIds(DBContext context,
TableMapping table,
DBDialect dialect,
Object... keyParams) |
static SQLContext |
CommonSql.forModelUpdate(DBContext context,
TableMapping table,
DBDialect dialect,
DBObject obj,
boolean useOptimisticLock,
boolean useNvl)
更新对象,如果有乐观锁,会根据乐观锁条件更新,并会更新数据库中的乐观锁条件.但不会更新对象的乐观锁字段的值.
|
static SQLContext |
CommonSql.model2Save(DBContext context,
TableMapping table,
DBDialect dialect,
DBObject obj,
boolean useOptimisticLock)
生成插入语句
|
Modifier and Type | Method and Description |
---|---|
default String |
TypeHandler.getSqlExpression(T value,
DBDialect profile)
获取sql表达式
|
Modifier and Type | Method and Description |
---|---|
Condition |
MethodHandleAutoSQL.build(DBDialect dialect,
org.springframework.data.repository.query.parser.Part part,
ColumnMapping cm,
Object value)
Builds a JPA from the underlying
Part . |
Modifier and Type | Method and Description |
---|---|
String |
CascadeContext.getSqlByDialect(DBDialect dialect) |
Modifier and Type | Method and Description |
---|---|
DBDialect |
TableDef.getProfile() |
Modifier and Type | Method and Description |
---|---|
void |
TableDef.setProfile(DBDialect profile) |
Modifier and Type | Method and Description |
---|---|
static DBDialect |
DBUtils.doGetDialect(Connection conn,
boolean close)
获取连接的方言,如果无法获取连接的方言,则返回默认的方言.
|
static DBDialect |
DBUtils.doGetDialect(DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
static String |
SimpleSQLTemplate.unwrapper(DBDialect dialect,
String content)
模板关键字替换
该方法主要是用于数据库方言中的关键字替换. |
Modifier and Type | Field and Description |
---|---|
protected DBDialect |
Example.dialect |
Modifier and Type | Method and Description |
---|---|
void |
Example.setDialect(DBDialect dialect) |
Modifier and Type | Method and Description |
---|---|
SimpleTable |
SimpleTable.cloneNew(DBContext context,
DBDialect dialect) |
static <T extends DBObject> |
DynmicSQLTables.getTable(DBContext context,
Class<T> clz,
DBDialect dialect) |
static SimpleTable |
DynmicSQLTables.getTable(DBContext context,
TableMapping tm,
DBDialect dialect) |
Constructor and Description |
---|
SimpleTable(DBContext context,
DBDialect dialect,
Class<? extends DBObject> clz) |
SimpleTable(DBContext context,
DBDialect dialect,
Class<? extends DBObject> clz,
boolean useTemplateReplace) |
Modifier and Type | Method and Description |
---|---|
static <T extends DBObject> |
JooqTables.getTable(DBContext context,
Class<T> clz,
DBDialect dialect) |
static <T extends DBObject> |
JooqTables.getTable(DBContext context,
TableMapping tm,
DBDialect dialect) |
Modifier and Type | Method and Description |
---|---|
protected <T> org.jooq.TableField<R,T> |
JooqTable.getBeanMappingType(ColumnMapping cm,
DBDialect dialect) |
Constructor and Description |
---|
JooqTable(Class<? extends DBObject> clz,
DBDialect dialect,
org.jooq.Name name,
org.jooq.Schema schema,
org.jooq.Table<R> aliased,
org.jooq.Field<?>[] parameters,
String comment) |
JooqTable(DBContext context,
Class<? extends DBObject> clz,
DBDialect dialect) |
Copyright © 2020. All rights reserved.