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

org.sql2o.quirks.PostgresQuirksProvider Maven / Gradle / Ivy

There is a newer version: 1.9.0-RC1
Show newest version
package org.sql2o.quirks;

/**
 * Created by lars on 28.10.14.
 */
public class PostgresQuirksProvider implements QuirksProvider {


    @Override
    public Quirks provide() {
        return new PostgresQuirks();
    }

    @Override
    public boolean isUsableForUrl(String url) {
        return url.startsWith("jdbc:postgresql:");
    }

    @Override
    public boolean isUsableForClass(String className) {
        return className.startsWith("org.postgresql.");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy