question: PreparedStatement prepare ( String sql ) throws SQLException { if ( SysProperties . CHECK2 ) { if ( ! Thread . holdsLock ( database ) ) { throw DbException . throwInternalError ( ) ; } } PreparedStatement prep = prepared . remove ( sql ) ; if ( prep == null ) { prep = conn . prepareStatement ( sql ) ; } return prep ; }
target:  Create a prepared statement, or re-use an existing one.