net.java.ao.test.jdbc.Oracle 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 Oracle extends AbstractJdbcConfiguration {
public static final String DEFAULT_SCHEMA = "ao_schema";
public static final String DEFAULT_URL = "jdbc:oracle:thin:@localhost:1521:XE";
public Oracle(String url, String username, String password, String schema) {
super(url, username, password, schema);
}
public Oracle() {
super(DEFAULT_URL, DEFAULT_USER, DEFAULT_PASSWORD, DEFAULT_SCHEMA);
}
@Override
protected String getDefaultSchema() {
return DEFAULT_SCHEMA;
}
@Override
protected String getDefaultUrl() {
return DEFAULT_URL;
}
}