Code example for PostgreSQLDialect

0
  //------------------------------------------------------------------------- 
  @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 PostgreSQLDialect();
    } 
    return _hibernateDialect;
  } 
 
  @Override 
  public Class<?> getJDBCDriverClass() {
    return org.postgresql.Driver.class; 
  } 
 
  @Override 
  public String getDatabaseName() {
    return "postgres"; 
  } 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE