Sha256: 6074bf7e5413c66be7fe067aa3130f12be23648ce7cea7ca49b120ae8e428231

Contents?: true

Size: 803 Bytes

Versions: 15

Compression:

Stored size: 803 Bytes

Contents

package org.embulk.input.sqlserver;

import java.sql.Connection;
import java.sql.SQLException;
import org.embulk.input.jdbc.JdbcInputConnection;

public class SQLServerInputConnection extends JdbcInputConnection {

    public SQLServerInputConnection(Connection connection, String schemaName) throws SQLException
    {
        super(connection, schemaName);
    }

    @Override
    protected void setSearchPath(String schema) throws SQLException
    {
        // NOP
    }

    @Override
    protected String buildTableName(String tableName)
    {
        StringBuilder sb = new StringBuilder();
        if (schemaName != null) {
            sb.append(quoteIdentifierString(schemaName)).append(".");
        }
        sb.append(quoteIdentifierString(tableName));
        return sb.toString();
    }

}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
embulk-input-sqlserver-0.9.1 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.9.0 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.8.6 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.8.5 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.8.4 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.8.3 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.8.2 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.8.1 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.8.0 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.7.4 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.7.3 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.7.2 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.7.1 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.7.0 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
embulk-input-sqlserver-0.6.4 src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java