Package org.jooq.util.sqlserver

Examples of org.jooq.util.sqlserver.SQLServerFactory


    @Override
    protected SQLServerFactory create(Settings settings) {
        settings = (settings != null) ? settings : new Settings();
        settings.withStatementType(StatementType.STATIC_STATEMENT);
        return new SQLServerFactory(getConnection(), settings);
    }
View Full Code Here


        T_639NumbersTableRecord,
        T_785Record> {

    @Override
    protected Factory create(Settings settings) {
        return new SQLServerFactory(getConnection(), settings);
    }
View Full Code Here

    public static void main(String[] args) throws Exception {
        Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
        Connection connection = DriverManager.getConnection("jdbc:sqlserver://localhost:1433;databaseName=AdventureWorks;integratedSecurity=true");

        Factory create = new SQLServerFactory(connection);

        System.out.println(create
              .select(Employee.getFields())
              .select(val("###"))
              .select(Department.getFields())
              .select(val("###"))
              .select(Contact.getFields())
View Full Code Here

TOP

Related Classes of org.jooq.util.sqlserver.SQLServerFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.