Class DefaultDialect
java.lang.Object
pl.decerto.hyperon.runtime.sql.dialect.DefaultDialect
- All Implemented Interfaces:
HyperonDialect
- Direct Known Subclasses:
H2HyperonDialect,HsqlHyperonDialect,MsSQL2012HyperonDialect,MySQLHyperonDialect,OracleHyperonDialect,PostgresqlHyperonDialect
- Author:
- przemek hertel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis supports hint provider for certain dialects, but not all dialects require that.selectFromSequence(String sequence) withColumnAliases(String... elements) withTableAliases(String... elements) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pl.decerto.hyperon.runtime.sql.HyperonDialect
hibernateDialect, jdbcDriverClassName, selectFromSequence, validationQuery
-
Constructor Details
-
DefaultDialect
public DefaultDialect()
-
-
Method Details
-
withColumnAliases
-
withTableAliases
-
withHint
-
column
- Specified by:
columnin interfaceHyperonDialect
-
table
- Specified by:
tablein interfaceHyperonDialect
-
selectFromSequence
- Specified by:
selectFromSequencein interfaceHyperonDialect
-
hint
Description copied from interface:HyperonDialectThis supports hint provider for certain dialects, but not all dialects require that. If dialect doesn't support the token hint, it will return EMPTY string.- Specified by:
hintin interfaceHyperonDialect- Parameters:
token- for exact hint- Returns:
- empty string if token is not supported in dialect, otherwise return proper hint value.
-
getColumnAliases
-
getTableAliases
-