public class MySQLDialect extends Object implements DatabaseDialect
Constructor and Description |
---|
MySQLDialect() |
Modifier and Type | Method and Description |
---|---|
String |
generateSQLWithOffsetAndLimit(String sql,
Long offset,
Long limit)
Generates SQL with appropriate offset and limit settings.
|
String |
getDatabaseProductName()
Returns common database name 'mysql'.
|
public String getDatabaseProductName()
getDatabaseProductName
in interface DatabaseDialect
public String generateSQLWithOffsetAndLimit(String sql, Long offset, Long limit)
DatabaseDialect
generateSQLWithOffsetAndLimit
in interface DatabaseDialect
sql
- SQL statementoffset
- offset or null
limit
- limit or null
Copyright © 2014–2015 Vracon s.r.o.. All rights reserved.