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

sqlg3.runtime.specific.Generic Maven / Gradle / Ivy

Go to download

SQLG is a preprocessor and a library that uses code generation to simplify writing JDBC code

There is a newer version: 3.1
Show newest version
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");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy