All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.ao.test.jdbc.DerbyEmbedded Maven / Gradle / Ivy

The newest version!
package net.java.ao.test.jdbc;

public class DerbyEmbedded extends AbstractJdbcConfiguration {

    public static final String DEFAULT_URL = "jdbc:derby:memory:ao_test;create=true";
    public static final String DEFAULT_USER = "sa";
    public static final String DEFAULT_PASSWORD = "password";

    public DerbyEmbedded() {
        super(DEFAULT_URL, DEFAULT_USER, DEFAULT_PASSWORD, null);
    }

    public DerbyEmbedded(String url, String username, String password, String schema) {
        super(url, username, password, schema);
    }

    @Override
    protected String getDefaultSchema() {
        return null;
    }

    @Override
    protected String getDefaultUrl() {
        return DEFAULT_URL;
    }

    @Override
    protected String getDefaultUsername() {
        return DEFAULT_USER;
    }

    @Override
    protected String getDefaultPassword() {
        return DEFAULT_PASSWORD;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy