net.simplace.processors.SQLStatementProcessor

This processor performs SQL-Statements on a existing Database
Parameter Description
db_conn JDBC Connection from Pipeline.
OUT: resultParamKey (optional) if Statement should produce a result saved to pipeline, set this key.
resultParamClass (optional) if Statement should produce a result saved to pipeline, set this with needed classname
Default: java.lang.String
Furthermore following configuration is expected (as a subelement in processor element in the configuration file) to describe the concrete data, that shall be read. Use normal parameterTags such as SQL STATEMENT UPDATE ${some.variable} SET ... if a result is requested, use only one statement (#0)! Result will be packed to given Classtype.


public class SQLStatementProcessor extends
net.simplace.util.pipeline.FWProcessor {
// Public Constructors
public SQLStatementProcessor();


// Public Instance Methods
public boolean checkInParameterMap(); // Defines
net.simplace.util.pipeline.FWProcessor


Checks whether the in-channel contains all required parameters.

// Protected Instance Methods
protected boolean process() throws PipeLineException; // Defines
net.simplace.util.pipeline.FWProcessor




}



Hierarchy: java.lang.Object - net.simplace.util.pipeline.FWProcessor - SQLStatementProcessor