net.java.ao.test.jdbc.Postgres Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activeobjects-test Show documentation
Show all versions of activeobjects-test Show documentation
This is a library for Active Objects users to depend on for their own testing.
The newest version!
package net.java.ao.test.jdbc;
/**
*
*/
public class Postgres extends AbstractJdbcConfiguration {
public static final String DEFAULT_SCHEMA = "ao_schema";
public static final String DEFAULT_URL = "jdbc:postgresql://localhost:5432/ao_test";
public Postgres() {
super(DEFAULT_URL, DEFAULT_USER, DEFAULT_PASSWORD, DEFAULT_SCHEMA);
}
public Postgres(String url, String username, String password, String schema) {
super(url, username, password, schema);
}
@Override
protected String getDefaultSchema() {
return DEFAULT_SCHEMA;
}
@Override
protected String getDefaultUrl() {
return DEFAULT_URL;
}
}