protected String getPreparedStatementText ( ControlBeanContext context , Method m , Object [ ] args ) { // this reflection fragment may resolve to a JdbcControl.ComplexSqlFragment // if so it changes the behavior a bit. Object val = getParameterValue ( context , m , args ) ; if ( val instanceof JdbcControl . ComplexSqlFragment ) { return ( ( JdbcControl . ComplexSqlFragment ) val ) . getSQL ( ) ; } else { return PREPARED_STATEMENT_SUB_MARK ; } }
Return text generated by this fragment for a PreparedStatement