Class SqlDialectFactory
java.lang.Object
org.eclipse.dirigible.database.sql.dialects.SqlDialectFactory
public class SqlDialectFactory extends Object
A factory for creating SqlDialect objects.
-
Field Summary
Fields Modifier and Type Field Description protected static Map<String,ISqlDialect>databaseTypeMappingsThe Constant databaseTypeMappings. -
Constructor Summary
Constructors Constructor Description SqlDialectFactory() -
Method Summary
Modifier and Type Method Description protected static Map<String,ISqlDialect>getDefaultDatabaseTypeMappings()Gets the default database type mappings.static ISqlDialectgetDialect(Connection connection)Gets the dialect.
-
Field Details
-
databaseTypeMappings
The Constant databaseTypeMappings.
-
-
Constructor Details
-
SqlDialectFactory
public SqlDialectFactory()
-
-
Method Details
-
getDialect
Gets the dialect.- Parameters:
connection- the connection- Returns:
- the dialect
- Throws:
SQLException- the SQL exception
-
getDefaultDatabaseTypeMappings
Gets the default database type mappings.- Returns:
- the default database type mappings
-