public abstract class AbstractDialect extends Object implements Dialect
| Modifier and Type | Field and Description |
|---|---|
protected DialectFunctionProcessor |
functionProcessor |
protected int |
paddingLength |
| Constructor and Description |
|---|
AbstractDialect() |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataSource()
Return the data source to retrieve the value from.
|
DialectFunctionProcessor |
getFunctionProcessor() |
String |
getIncrementerName()
Return the name of the sequence/table.
|
int |
getPaddingLength()
Return the padding length for String values.
|
int |
nextIntValue() |
long |
nextLongValue() |
String |
nextStringValue() |
void |
setDataSource(DataSource dataSource)
Set the data source to retrieve the value from.
|
void |
setFunctionProcessor(DialectFunctionProcessor functionProcessor) |
void |
setIncrementerName(String incrementerName)
Set the name of the sequence/table.
|
void |
setPaddingLength(int paddingLength)
Set the padding length, i.e.
|
boolean |
supportsLimit()
是否支持分页
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildSqlFuction, buildSqlFunction, getCurrentDate, getLimitString, getNextKeyprotected DialectFunctionProcessor functionProcessor
protected int paddingLength
public boolean supportsLimit()
DialectsupportsLimit in interface Dialectpublic DataSource getDataSource()
public void setDataSource(DataSource dataSource)
public String getIncrementerName()
public void setIncrementerName(String incrementerName)
public int getPaddingLength()
public void setPaddingLength(int paddingLength)
public int nextIntValue()
throws org.springframework.dao.DataAccessException
org.springframework.dao.DataAccessExceptionpublic long nextLongValue()
throws org.springframework.dao.DataAccessException
org.springframework.dao.DataAccessExceptionpublic String nextStringValue() throws org.springframework.dao.DataAccessException
org.springframework.dao.DataAccessExceptionpublic DialectFunctionProcessor getFunctionProcessor()
public void setFunctionProcessor(DialectFunctionProcessor functionProcessor)
Copyright © 2006–2018 TinyGroup. All rights reserved.