
sf.jooq.Jooq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sorm Show documentation
Show all versions of sorm Show documentation
java jpa tool for spring
The newest version!
package sf.jooq;
import org.jooq.Schema;
import org.jooq.impl.DSL;
import sf.tools.StringUtils;
public class Jooq {
public static Schema getSchema(String catalog, String schema) {
if (StringUtils.isNotBlank(schema)) {
if (catalog == null) {
return DSL.schema(DSL.name(schema));
} else {
return DSL.schema(DSL.name(catalog, schema));
}
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy