sqlg3.runtime.specific.Generic 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
package sqlg3.runtime.specific;
import sqlg3.runtime.DBSpecific;
import java.sql.Connection;
import java.sql.SQLException;
/**
* {@link DBSpecific} implementation for generic JDBC database.
*/
public class Generic implements DBSpecific {
@Override
public long getNextId(Connection conn, String sequence) throws SQLException {
throw new SQLException("Database does not support sequences");
}
}