Package it.eng.spagobi.services.datasource.bo

Examples of it.eng.spagobi.services.datasource.bo.SpagoBiDataSource


    Connection connection =  null;
    //calls implementation for gets data source object
   
   
    DataSourceSupplier supplierDS = new DataSourceSupplier();   
    SpagoBiDataSource ds = supplierDS.getDataSourceByLabel(dsLabel);
    logger.debug("Schema Attribute:"+ ds.getSchemaAttribute());
    String schema=null;
    if (profile!=null){
      schema=UserUtilities.getSchema(ds.getSchemaAttribute(),profile);
      logger.debug("Schema:"+ schema);
    }
    try {
      connection = ds.readConnection(schema);
    } catch (NamingException e) {
      logger.error("JNDI error", e);
    } catch (SQLException e) {
      logger.error("Cannot retrive connection", e);
    } catch (ClassNotFoundException e) {
View Full Code Here

TOP

Related Classes of it.eng.spagobi.services.datasource.bo.SpagoBiDataSource

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.