public static void invokeConnectionSetter(Connection conn, String functionName, Object value) throws MjdbcException {
        if (MjdbcConstants.connectionBeanDescription.containsKey(functionName) == true) {
            MappingUtils.callSetter(conn, MjdbcConstants.connectionBeanDescription.get(functionName), value);
        } else {
            throw new MjdbcException(String.format("Property %s wasn't found", functionName));
        }
    }
public static void invokeConnectionSetter ( Connection conn , String functionName , Object value ) throws MjdbcException { if ( MjdbcConstants . connectionBeanDescription . containsKey ( functionName ) == true ) { MappingUtils . callSetter ( conn , MjdbcConstants . connectionBeanDescription . get ( functionName ) , value ) ; } else { throw new MjdbcException ( String . format ( "Property %s wasn't found" , functionName ) ) ; } }
Invocation of {@link java.sql.Connection} setter functions
This function provides flexibility which required to use {@link java.sql.Connection}
with different Java versions: 5/6 etc.

@param conn         SQL Connection
@param functionName SQL Connection parameter name
@param value        value which would be set
@throws org.midao.jdbc.core.exception.MjdbcException if property wasn't found