Hibernate ORM HSQLDialect - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM HSQLDialect class.

This code example shows how to use the following methods:
    return org.hsqldb.jdbcDriver.class; 
  } 
 
  @Override 
  protected Dialect createHibernateDialect() {
    return new HSQLDialect();
  } 
 
  @Override 
  protected ElSqlConfig createElSqlConfig() { 
    return ElSqlConfig.HSQL; 
  } 
 
  //------------------------------------------------------------------------- 
  @Override 
  public String sqlNextSequenceValueSelect(final String sequenceName) {
    return "CALL NEXT VALUE FOR " + sequenceName;
  } 
 
  @Override 
Full Snippet Info
5
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods:
  //------------------------------------------------------------------------- 
  @Override 
  public synchronized Dialect getHibernateDialect() {
    if (_hibernateDialect == null) {
      // constructed lazily so we don't get log message about 'using dialect' if we're not actually using it 
      _hibernateDialect = new HSQLDialect();
    } 
    return _hibernateDialect;
  } 
 
  @Override 
  public Class<?> getJDBCDriverClass() {
    return org.hsqldb.jdbcDriver.class; 
  } 
 
  @Override 
  public String getDatabaseName() {
    return "hsqldb"; 
  } 
 
Full Snippet Info
5
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods:
package br.com.caelum.vraptor.dialect; 
 
import org.hibernate.dialect.HSQLDialect; 
 
public class TemporaryHSQLDBDialect extends HSQLDialect { 
 
	@Override 
	public boolean supportsSequences() { 
		return false; 
	} 
} 
Full Snippet Info
5
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods: registerColumnType, registerHibernateType
 * See blog post<a href= 
 * "http://www.codesmell.org/blog/2008/12/hibernate-hsql-native-queries-and-booleans/" 
 * >Hibernate, HSQL, Native Queries and Booleans</a>. 
 */ 
public class CustomHSQLDialect extends HSQLDialect {
    public CustomHSQLDialect() { 
        registerColumnType(Types.BOOLEAN, "boolean");
        registerHibernateType(Types.BOOLEAN, "boolean");
    } 
} 
Full Snippet Info
4
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
See Code Examples for Hibernate ORM HSQLDialect Methods: