org.sonar.api.database.dialect
Class HsqlDb
java.lang.Object
  
org.sonar.api.database.dialect.HsqlDb
- All Implemented Interfaces: 
 - Dialect
 
public class HsqlDb
- extends Object
- implements Dialect
  
- Since:
 
  - 1.12
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HsqlDb
public HsqlDb()
getId
public String getId()
- Specified by:
 getId in interface Dialect
 
- Returns:
 - the sonar dialect Id to be matched with the sonar.jdbc.dialect property when provided
 
 
getActiveRecordDialectCode
public String getActiveRecordDialectCode()
- Specified by:
 getActiveRecordDialectCode in interface Dialect
 
- Returns:
 - the activerecord dialect to be used
 
 
getHibernateDialectClass
public Class<? extends org.hibernate.dialect.Dialect> getHibernateDialectClass()
- Specified by:
 getHibernateDialectClass in interface Dialect
 
- Returns:
 - the hiberrnate dialect class to be used
 
 
matchesJdbcURL
public boolean matchesJdbcURL(String jdbcConnectionURL)
- Description copied from interface: 
Dialect 
- Used to autodetect a dialect for a given driver URL
- Specified by:
 matchesJdbcURL in interface Dialect
 
- Parameters:
 jdbcConnectionURL - a jdbc driver url such as jdbc:mysql://localhost:3306/sonar
- Returns:
 - true if the dialect supports surch url
 
 
 
Copyright © 2009-2010 SonarSource SA. All Rights Reserved.