Package com.syrtsov.ddao.factory

Interface Summary
StatementFactory Created by Pavel Syrtsov Date: Nov 3, 2007 Time: 8:16:33 PM

StatementFactory interface defines ability of the object to: create prepared statment and bind all necessary parameters to it.


Class Summary
DefaultStatementFactory DefaultStatementFactory creates new prepared statment using simplified IBATIS like query syntax:
value reference can be put using number that reflect 0 based method argument number that will be used as simle value (and as such can not be java bean or any other non trivial object) or it can be name of java bean property or Map object that is 1st argument in the list of method arguments.
StatementFactoryManager StatementFactoryManager maintains lazy loaded cache of mappings of method objects to StatementFactory implementations.

Exception Summary
StatementFactoryException Created by Pavel Syrtsov Date: Nov 26, 2007 Time: 10:33:53 AM