Modifier and Type | Class and Description |
---|---|
static class |
MySql.MySqlWithDecimalDialect |
Constructor and Description |
---|
MySql() |
Modifier and Type | Method and Description |
---|---|
String |
getActiveRecordDialectCode() |
String |
getActiveRecordJdbcAdapter() |
String |
getConnectionInitStatement(String schema) |
String |
getDefaultDriverClassName() |
String |
getFalseSqlValue() |
Class<? extends org.hibernate.dialect.Dialect> |
getHibernateDialectClass() |
String |
getId() |
String |
getTrueSqlValue() |
boolean |
matchesJdbcURL(String jdbcConnectionURL)
Used to autodetect a dialect for a given driver URL
|
public static final String ID
public MySql()
public String getActiveRecordDialectCode()
getActiveRecordDialectCode
in interface Dialect
public String getActiveRecordJdbcAdapter()
getActiveRecordJdbcAdapter
in interface Dialect
public Class<? extends org.hibernate.dialect.Dialect> getHibernateDialectClass()
getHibernateDialectClass
in interface Dialect
public boolean matchesJdbcURL(String jdbcConnectionURL)
Dialect
matchesJdbcURL
in interface Dialect
jdbcConnectionURL
- a jdbc driver url such as jdbc:mysql://localhost:3306/sonarpublic String getDefaultDriverClassName()
getDefaultDriverClassName
in interface Dialect
public String getConnectionInitStatement(String schema)
getConnectionInitStatement
in interface Dialect
public String getTrueSqlValue()
getTrueSqlValue
in interface Dialect
public String getFalseSqlValue()
getFalseSqlValue
in interface Dialect
Copyright © 2009-2012 SonarSource. All Rights Reserved.