METHOD_0 ( ) { IDENT_0 . engine . expression . api . IDENT_1 IDENT_2 = new IDENT_0 . engine . expression . api . METHOD_1 ( STRING_0 , "" ) ; "<AssertPlaceHolder>" ; } execute ( ) { java . util . Properties properties = new java . util . Properties ( ) ; java . sql . IDENT_3 conn = null ; IDENT_0 . engine . spark . components . IDENT_4 reader = null ; if ( ( ( null != ( IDENT_5 . METHOD_2 ( ) ) ) && ( ! ( IDENT_5 . METHOD_2 ( ) . trim ( ) . isEmpty ( ) ) ) ) && ( ( null != ( IDENT_5 . METHOD_3 ( ) ) ) && ( ! ( IDENT_5 . METHOD_3 ( ) . trim ( ) . isEmpty ( ) ) ) ) ) { if ( IDENT_5 . METHOD_2 ( ) . equalsIgnoreCase ( STRING_1 ) ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( STRING_2 + ( IDENT_5 . METHOD_2 ( ) ) ) ) ; try { properties . setProperty ( STRING_1 6 , STRING_3 ) ; conn = java . sql . IDENT_7 . METHOD_4 ( ( ( ( ( ( ( STRING_1 4 + ( IDENT_5 . METHOD_5 ( ) ) ) + STRING_1 5 ) + ( IDENT_5 . METHOD_6 ( ) ) ) + STRING_4 3 ) + ( IDENT_5 . METHOD_7 ( ) ) ) + STRING_1 1 ) , IDENT_5 . METHOD_8 ( ) , IDENT_5 . METHOD_9 ( ) ) ; conn . METHOD_10 ( false ) ; METHOD_11 ( IDENT_5 . METHOD_3 ( ) ) ; com . ibatis . common . jdbc . IDENT_8 IDENT_9 = new com . ibatis . common . jdbc . METHOD_12 ( conn , false , true ) ; reader = new IDENT_0 . engine . spark . components . METHOD_13 ( new IDENT_0 . engine . spark . components . METHOD_14 ( IDENT_10 ) ) ; IDENT_9 . METHOD_15 ( reader ) ; } catch ( java . sql . IDENT_11 | IDENT_0 . engine . spark . components . IOException | java . lang . IDENT_12 e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; throw new java . lang . RuntimeException ( e ) ; } finally { java . lang . Exception ex = null ; try { IDENT_0 . engine . core . component . utils . IDENT_13 . METHOD_16 ( reader ) ; } catch ( IDENT_0 . engine . spark . components . IOException e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; ex = e ; } try { IDENT_10 . METHOD_17 ( ) ; } catch ( java . lang . Exception e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; ex = e ; } try { IDENT_0 . engine . core . component . utils . IDENT_13 . METHOD_18 ( conn ) ; } catch ( java . sql . IDENT_11 e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; ex = e ; } if ( ex != null ) { throw new java . lang . RuntimeException ( ex ) ; } } } else if ( IDENT_5 . METHOD_2 ( ) . equalsIgnoreCase ( STRING_6 ) ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( STRING_2 + ( IDENT_5 . METHOD_2 ( ) ) ) ) ; try { properties . setProperty ( STRING_7 , STRING_8 ) ; conn = java . sql . IDENT_7 . METHOD_4 ( ( ( ( ( ( STRING_9 + ( IDENT_5 . METHOD_5 ( ) ) ) + STRING_1 5 ) + ( IDENT_5 . METHOD_6 ( ) ) ) + STRING_4 3 ) + ( IDENT_5 . METHOD_7 ( ) ) ) , IDENT_5 . METHOD_8 ( ) , IDENT_5 . METHOD_9 ( ) ) ; conn . METHOD_10 ( false ) ; METHOD_11 ( IDENT_5 . METHOD_3 ( ) ) ; com . ibatis . common . jdbc . METHOD_12 IDENT_9 = new com . ibatis . common . jdbc . METHOD_12 ( conn , false , true ) ; reader = new IDENT_0 . engine . spark . components . METHOD_13 ( new IDENT_0 . engine . spark . components . METHOD_14 ( IDENT_10 ) ) ; IDENT_9 . METHOD_15 ( reader ) ; } catch ( java . sql . IDENT_11 | IDENT_0 . engine . spark . components . IOException | java . lang . IDENT_12 e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; throw new java . lang . RuntimeException ( e ) ; } finally { java . lang . Exception ex = null ; try { IDENT_0 . engine . core . component . utils . IDENT_13 . METHOD_16 ( reader ) ; } catch ( IDENT_0 . engine . spark . components . IOException e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; ex = e ; } try { IDENT_10 . METHOD_17 ( ) ; } catch ( java . lang . Exception e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; ex = e ; } try { IDENT_0 . engine . core . component . utils . IDENT_13 . METHOD_18 ( conn ) ; } catch ( java . sql . IDENT_11 e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; ex = e ; } if ( ex != null ) { throw new java . lang . RuntimeException ( ex ) ; } } } else if ( IDENT_5 . METHOD_2 ( ) . equalsIgnoreCase ( STRING_10 ) ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( STRING_2 + ( IDENT_5 . METHOD_2 ( ) ) ) ) ; try { properties . setProperty ( STRING_7 , STRING_11 ) ; conn = java . sql . IDENT_7 . METHOD_4 ( ( ( ( ( ( ( ( ( ( ( STRING_1 0 + ( IDENT_5 . METHOD_5 ( ) ) ) + STRING_1 3 ) + ( IDENT_5 . METHOD_7 ( ) ) ) + STRING_1 7 ) + ( IDENT_5 . METHOD_8 ( ) ) ) + STRING_4 ) + ( IDENT_0 . engine . core . IDENT_14 . Constants . IDENT_15 ) ) + STRING_1 9 ) + ( IDENT_5 . METHOD_9 ( ) ) ) + STRING_12 ) ) ; conn . METHOD_10 ( false ) ; METHOD_11 ( IDENT_5 . METHOD_3 ( ) ) ; com . ibatis . common . jdbc . METHOD_12 IDENT_9 = new com . ibatis . common . jdbc . METHOD_12 ( conn , false , true ) ; reader = new IDENT_0 . engine . spark . components . METHOD_13 ( new IDENT_0 . engine . spark . components . METHOD_14 ( IDENT_10 ) ) ; IDENT_9 . METHOD_15 ( reader ) ; } catch ( java . sql . IDENT_11 | IDENT_0 . engine . spark . components . IOException | java . lang . IDENT_12 e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; throw new java . lang . RuntimeException ( e ) ; } finally { java . lang . Exception ex = null ; try { IDENT_0 . engine . core . component . utils . IDENT_13 . METHOD_16 ( reader ) ; } catch ( IDENT_0 . engine . spark . components . IOException e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; ex = e ; } try { IDENT_10 . METHOD_17 ( ) ; } catch ( java . lang . Exception e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; ex = e ; } try { IDENT_0 . engine . core . component . utils . IDENT_13 . METHOD_18 ( conn ) ; } catch ( java . sql . IDENT_11 e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; ex = e ; } if ( ex != null ) { throw new java . lang . RuntimeException ( ex ) ; } } } else if ( IDENT_5 . METHOD_2 ( ) . equalsIgnoreCase ( STRING_1 8 ) ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( STRING_2 + ( IDENT_5 . METHOD_2 ( ) ) ) ) ; try { properties . setProperty ( STRING_7 , STRING_13 ) ; conn = java . sql . IDENT_7 . METHOD_4 ( ( ( ( ( ( STRING_1 2 + ( IDENT_5 . METHOD_5 ( ) ) ) + STRING_1 5 ) + ( IDENT_5 . METHOD_6 ( ) ) ) + STRING_4 3 ) + ( IDENT_5 . METHOD_7 ( ) ) ) , IDENT_5 . METHOD_8 ( ) , IDENT_5 . METHOD_9 ( ) ) ; conn . METHOD_10 ( false ) ; METHOD_11 ( IDENT_5 . METHOD_3 ( ) ) ; com . ibatis . common . jdbc . METHOD_12 IDENT_9 = new com . ibatis . common . jdbc . METHOD_12 ( conn , false , true ) ; reader = new IDENT_0 . engine . spark . components . METHOD_13 ( new IDENT_0 . engine . spark . components . METHOD_14 ( IDENT_10 ) ) ; IDENT_9 . METHOD_15 ( reader ) ; } catch ( java . sql . IDENT_11 | IDENT_0 . engine . spark . components . IOException | java . lang . IDENT_12 e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; throw new java . lang . RuntimeException ( e ) ; } finally { try { IDENT_0 . engine . core . component . utils . IDENT_13 . METHOD_16 ( reader ) ; } catch ( IDENT_0 . engine . spark . components . IOException e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; } try { IDENT_10 . METHOD_17 ( ) ; } catch ( java . lang . Exception e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; } try { IDENT_0 . engine . core . component . utils . IDENT_13 . METHOD_18 ( conn ) ; } catch ( java . sql . IDENT_11 e ) { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 0 ) + ( e . getMessage ( ) ) ) ) ; } } } } else { IDENT_0 . engine . spark . components . IDENT_6 . log . debug ( ( ( STRING_5 + ( IDENT_5 . METHOD_3 ( ) ) ) + STRING_4 2 ) ) ; throw new IDENT_0 . engine . spark . components . METHOD_19 ( STRING_4 2 , null ) ; } }
org . junit . Assert . assertEquals ( 1 , IDENT_2 . execute ( ) )