@@ -209,14 +209,16 @@ protected X doExtract(ResultSet rs, int paramIndex, WrapperOptions options) thro
209209 OracleJsonDatum ojd = rs .getObject ( paramIndex , OracleJsonDatum .class );
210210 return doExtraction ( ojd , options );
211211 }
212- } catch (SQLException exc ) {
212+ }
213+ catch (SQLException exc ) {
213214 if ( exc .getErrorCode () == DatabaseError .JDBC_ERROR_BASE + DatabaseError .EOJ_INVALID_COLUMN_TYPE ) {
214215 // This may happen if we are fetching data from an existing schema
215216 // that uses BLOB for JSON column In that case we assume bytes are
216217 // UTF-8 bytes (i.e not OSON) and we fall back to previous String-based implementation
217218 LOG .invalidJSONColumnType ( OracleType .CLOB .getName (), OracleType .JSON .getName () );
218219 return fromString ( rs .getBytes ( paramIndex ), options );
219- } else {
220+ }
221+ else {
220222 throw exc ;
221223 }
222224 }
@@ -232,14 +234,16 @@ protected X doExtract(CallableStatement statement, int index, WrapperOptions opt
232234 OracleJsonDatum ojd = statement .getObject ( index , OracleJsonDatum .class );
233235 return doExtraction ( ojd , options );
234236 }
235- } catch (SQLException exc ) {
237+ }
238+ catch (SQLException exc ) {
236239 if ( exc .getErrorCode () == DatabaseError .JDBC_ERROR_BASE + DatabaseError .EOJ_INVALID_COLUMN_TYPE ) {
237240 // This may happen if we are fetching data from an existing schema
238241 // that uses BLOB for JSON column In that case we assume bytes are
239242 // UTF-8 bytes (i.e not OSON) and we fall back to previous String-based implementation
240243 LOG .invalidJSONColumnType ( OracleType .CLOB .getName (), OracleType .JSON .getName () );
241244 return fromString ( statement .getBytes ( index ), options );
242- } else {
245+ }
246+ else {
243247 throw exc ;
244248 }
245249 }
@@ -256,14 +260,16 @@ protected X doExtract(CallableStatement statement, String name, WrapperOptions o
256260 OracleJsonDatum ojd = statement .getObject ( name , OracleJsonDatum .class );
257261 return doExtraction ( ojd , options );
258262 }
259- } catch (SQLException exc ) {
263+ }
264+ catch (SQLException exc ) {
260265 if ( exc .getErrorCode () == DatabaseError .JDBC_ERROR_BASE + DatabaseError .EOJ_INVALID_COLUMN_TYPE ) {
261266 // This may happen if we are fetching data from an existing schema
262267 // that uses BLOB for JSON column In that case we assume bytes are
263268 // UTF-8 bytes (i.e not OSON) and we fall back to previous String-based implementation
264269 LOG .invalidJSONColumnType ( OracleType .CLOB .getName (), OracleType .JSON .getName () );
265270 return fromString ( statement .getBytes ( name ), options );
266- } else {
271+ }
272+ else {
267273 throw exc ;
268274 }
269275 }
0 commit comments