sqlg3.runtime.specific.Postgres Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlg3-runtime Show documentation
Show all versions of sqlg3-runtime Show documentation
SQLG is a preprocessor and a library that uses code generation to simplify writing JDBC code
The newest version!
package sqlg3.runtime.specific;
/**
* {@link sqlg3.runtime.DBSpecific} implementation for PostgreSQL.
*/
public final class Postgres extends Generic {
@Override
public String getNextIdSql(String sequence) {
return "SELECT NEXTVAL('" + sequence + "')";
}
}