Code example for PostgreSQLDialect

0
 
  //------------------------------------------------------------------------- 
  @Override 
  public synchronized Dialect getHibernateDialect() {
    if (_hibernateDialect == null) {
      _hibernateDialect = new PostgreSQLDialect(); // use Postgres as closest match
    } 
    return _hibernateDialect;
  } 
 
  @Override 
  public Class<?> getJDBCDriverClass() {
    return ReflectionUtils.loadClass("com.vertica.Driver"); 
  } 
 
  @Override 
  public String getDatabaseName() {
    return "vertica"; 
  } 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE