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"; 
  } 
 
Experience pair programming with AI  Get Codota for Java