Examples of JDBCSharedConnectionDataProxy


Examples of it.eng.spagobi.tools.dataset.common.dataproxy.JDBCSharedConnectionDataProxy

    int resultNumber = 0;
    logger.debug("IN");
    String sqlQuery = "SELECT COUNT(*) FROM (" + statement.getSqlQueryString() + ") temptable";
    logger.debug("Executing query " + sqlQuery + " ...");
    JDBCDataSet dataSet = new JDBCDataSet();
    JDBCSharedConnectionDataProxy proxy = new JDBCSharedConnectionDataProxy(session.connection());
    dataSet.setDataProxy(proxy);
    dataSet.setQuery(sqlQuery);
    dataSet.loadData(0, 1, -1);
    logger.debug("Query " + sqlQuery + " executed");
    IDataStore dataStore = dataSet.getDataStore();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.