Package org.uengine.util

Examples of org.uengine.util.SQLGeneratorForDBMappingActivity


      parametersForSQLActivity[i].setTransformer(paramContext.getTransformer());
    }
   
    generatedSQL = "insert into " + insertingTableName + "(" + intoClause + ")values(" + valuesClause + ")";*/
   
    SQLGeneratorForDBMappingActivity generatedSQL = new SQLGeneratorForDBMappingActivity(mappingContext);
   
//    sqlActivity.setParentActivity(getProcessDefinition());
   
    sqlActivity.setSqlStmt(generatedSQL.getGeneratedSql(getQueryMode()));
    sqlActivity.setParameters(generatedSQL.getParametersForSQLActivity());
    sqlActivity.setConnectionFactory(getConnectionFactory());
    sqlActivity.setApplySingleValueOnly(isApplySingleValueOnly());
    if(getQueryMode() == DatabaseMappingActivity.QUERYMODE_SELECT){
      sqlActivity.setQuery(true);
      sqlActivity.setSelectMappings(generatedSQL.getSelectMapping());
    } else {
      sqlActivity.setQuery(false);
    }
    sqlActivity.executeActivity(instance);
   
View Full Code Here

TOP

Related Classes of org.uengine.util.SQLGeneratorForDBMappingActivity

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.