METHOD_0 ( ) { org . nuxeo . runtime . api . IDENT_0 . METHOD_1 ( ) . setProperty ( ( ( IDENT_1 . IDENT_2 ) + STRING_0 ) , org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_4 . IDENT_5 . class . getName ( ) ) ; org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_1 IDENT_3 = org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_1 . METHOD_2 ( connection , IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . sql . IDENT_7 , org . nuxeo . ecm . core . storage . sql . IDENT_8 ) { java . sql . IDENT_9 metadata ; java . lang . String IDENT_10 ; try { metadata = connection . METHOD_3 ( ) ; IDENT_10 = metadata . METHOD_4 ( ) ; } catch ( java . sql . IDENT_11 e ) { throw new org . nuxeo . ecm . core . api . METHOD_5 ( e ) ; } if ( IDENT_10 . contains ( "/" ) ) { IDENT_10 = IDENT_10 . substring ( 0 , IDENT_10 . indexOf ( STRING_1 ) ) ; } java . lang . String IDENT_12 = org . nuxeo . runtime . api . IDENT_0 . getProperty ( org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_1 . IDENT_2 ) ; if ( IDENT_12 == null ) { IDENT_12 = org . nuxeo . runtime . api . IDENT_0 . getProperty ( ( ( ( org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_1 . IDENT_2 ) + STRING_2 ) + ( IDENT_10 . replace ( " " , "" ) ) ) ) ; } java . lang . Class < ? extends org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_1 > IDENT_13 ; if ( IDENT_12 == null ) { IDENT_13 = org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_1 . IDENT_14 . get ( IDENT_10 ) ; if ( IDENT_13 == null ) { throw new org . nuxeo . ecm . core . api . METHOD_5 ( ( STRING_3 + IDENT_10 ) ) ; } } else { java . lang . Class < ? > IDENT_15 ; try { java . lang . IDENT_16 IDENT_17 = java . lang . Thread . METHOD_6 ( ) . METHOD_7 ( ) ; IDENT_15 = IDENT_17 . METHOD_8 ( IDENT_12 ) ; } catch ( java . lang . IDENT_18 e ) { throw new org . nuxeo . ecm . core . api . METHOD_5 ( e ) ; } if ( ! ( org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_1 . class . METHOD_9 ( IDENT_15 ) ) ) { throw new org . nuxeo . ecm . core . api . METHOD_5 ( ( STRING_4 + IDENT_12 ) ) ; } IDENT_13 = ( ( java . lang . Class < ? extends org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_1 > ) ( IDENT_15 ) ) ; } java . lang . reflect . IDENT_19 < ? extends org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_1 > IDENT_20 ; try { IDENT_20 = IDENT_13 . METHOD_10 ( java . sql . IDENT_9 . class , org . nuxeo . ecm . core . storage . sql . IDENT_8 . class ) ; } catch ( java . lang . IDENT_21 e ) { throw new org . nuxeo . ecm . core . api . METHOD_5 ( ( STRING_5 + IDENT_12 ) , e ) ; } org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_1 IDENT_3 ; try { IDENT_3 = IDENT_20 . newInstance ( metadata , IDENT_6 ) ; } catch ( java . lang . reflect . IDENT_22 e ) { java . lang . Throwable t = e . METHOD_11 ( ) ; if ( t instanceof org . nuxeo . ecm . core . api . METHOD_5 ) { throw ( ( org . nuxeo . ecm . core . api . METHOD_5 ) ( t ) ) ; } else { throw new org . nuxeo . ecm . core . api . METHOD_5 ( t ) ; } } catch ( java . lang . IDENT_21 e ) { throw new org . nuxeo . ecm . core . api . METHOD_5 ( ( STRING_6 + IDENT_12 ) , e ) ; } return IDENT_3 ; }
org . junit . Assert . assertEquals ( org . nuxeo . ecm . core . storage . sql . jdbc . IDENT_3 . IDENT_4 . IDENT_5 . class , IDENT_3 . getClass ( ) )