org.sql2o.quirks.PostgresQuirksProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of anima Show documentation
Show all versions of anima Show documentation
Operate the database like a stream
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 - 2025 Weber Informatics LLC | Privacy Policy