Package it.eng.qbe.datasource

Examples of it.eng.qbe.datasource.IDataSource


  /* (non-Javadoc)
   * @see it.eng.qbe.datasource.DataSourceManager#getDataSource(java.util.List, java.util.Map, it.eng.qbe.datasource.DBConnection)
   */
  public IDataSource getDataSource(List<String> dataMartNames, Map<String, Object> dataSourceProperties) {
   
    IDataSource dataSource;
   
    // = getNamingStartegy().getDataSourceName(dataMartNames, connection);
    //dataSource = getDataSourceCache().getDataSource(dataSourceName);
   
    CompositeDataSourceConfiguration compositeConfiguration = new CompositeDataSourceConfiguration();
View Full Code Here


    private static transient Logger logger = Logger.getLogger(GetEntityFieldsAction.class);
  
  public void service(SourceBean request, SourceBean response) {       
 
    String fieldId;
    IDataSource dataSource;
    IModelStructure structure;
    IModelField field;
    IModelEntity parentEntity;
    IModelEntity dimensionalEntity;
    List fields;
    JSONArray toReturn;
   
    logger.debug("IN");
   
    try {   
      super.service(request, response)
     
      fieldId = getAttributeAsString( FIELD_ID );
      logger.debug("Parameter [" + FIELD_ID + "] is equals to [" + fieldId + "]");
     
      Assert.assertNotNull(getEngineInstance(), "It's not possible to execute " + this.getActionName() + " service before having properly created an instance of EngineInstance class");
     
      dataSource = getDataSource();
      structure = dataSource.getModelStructure();
      field = structure.getField(fieldId);
      parentEntity = field.getParent();
      fields = parentEntity.getAllFields();
     
      toReturn = new JSONArray();
View Full Code Here

      orderType = "NONE";
    }
   
    if (queryRootEntity) {
      logger.debug("Must use query root entity. Looking for select and order fields...");
      IDataSource model = getDataSource();
      IModelStructure structure = model.getModelStructure();
      IModelField selectField = structure.getField(entityId);
      IModelField orderField = null;
      if (orderEntity != null && !orderEntity.equals("")) {
        orderField = structure.getField(orderEntity);
      }
View Full Code Here

    return DRIVER_ID;
  }

  @Override
  public IDataSource getDataSource(IDataSourceConfiguration configuration) {
    IDataSource dataSource;
    String dataSourceName;
   
    if(maxDataSource > 0 && openedDataSource == maxDataSource) {
      throw new SpagoBIRuntimeException("Maximum  number of open data source reached");
    }
View Full Code Here

  public String getName() {
    return DRIVER_ID;
  }

  public IDataSource getDataSource(IDataSourceConfiguration configuration) {
    IDataSource dataSource;
    String dataSourceName;
   
    if(maxDataSource > 0 && openedDataSource == maxDataSource) {
      throw new SpagoBIRuntimeException("Maximum  number of open data source reached");
    }
View Full Code Here

    return DRIVER_ID;
  }

  @Override
  public IDataSource getDataSource(IDataSourceConfiguration configuration) {
    IDataSource dataSource;
    String dataSourceName;
   
    if(maxDataSource > 0 && openedDataSource == maxDataSource) {
      throw new SpagoBIRuntimeException("Maximum  number of open data sources reached");
    }
View Full Code Here

  public String getName() {
    return DRIVER_ID;
  }

  public IDataSource getDataSource(IDataSourceConfiguration configuration) {
    IDataSource dataSource;
    String dataSourceName;
   
    if(maxDataSource > 0 && openedDataSource == maxDataSource) {
      throw new SpagoBIRuntimeException("Maximum  number of open data sources reached");
    }
View Full Code Here

TOP

Related Classes of it.eng.qbe.datasource.IDataSource

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.