Package com.odb.core.dao.rowmappers

Examples of com.odb.core.dao.rowmappers.DataSourceInfoRowMapper


  }

  public ArrayList<DataSourceInfo> getAllDataSourceBySubscriberID(String subscriberId) {
    String sql = "SELECT ODI.* FROM ODB_SUB_DATASOURCES SDS, ODB_DATASOURCE_INFO ODI WHERE SDS.SUBSCRIBER_ID=? AND SDS.DATASOURCE_ID=ODI.DATASOURCE_ID";
    ArrayList<DataSourceInfo> subDSList = (ArrayList<DataSourceInfo>) jdbcTemp.getJdbcOperations().query(sql, new Object[] { subscriberId },
        new DataSourceInfoRowMapper());
    log.debug("ArrayList<DataSourceInfo>" + subDSList);
    return subDSList;
  }
View Full Code Here


   * com.odb.core.dao.ODBDAO#getAllDataSourceByPublisherID(java.lang.String)
   */
  public ArrayList<DataSourceInfo> getAllDataSourceByPublisherID(String pubID) throws SQLException {
    String sql = "SELECT * FROM ODB_DATASOURCE_INFO WHERE PUBLISHER_ID=?";
    ArrayList<DataSourceInfo> pubDSList = (ArrayList<DataSourceInfo>) jdbcTemp.getJdbcOperations().query(sql, new Object[] { pubID },
        new DataSourceInfoRowMapper());
    log.debug("ArrayList<DataSourceInfo>" + pubDSList);
    return pubDSList;
  }
View Full Code Here

TOP

Related Classes of com.odb.core.dao.rowmappers.DataSourceInfoRowMapper

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.