question: int populatePrepStatementColumns ( PreparedStatement prepStatement , JsonValue objVal , List < JsonPointer > tokenPointers ) throws IOException , SQLException { int colPos = 1 ; for ( JsonPointer propPointer : tokenPointers ) { JsonValue rawValue = objVal . get ( propPointer ) ; String propValue = null ; if ( null == rawValue ) { propValue = null ; } else if ( rawValue . isString ( ) || rawValue . isNull ( ) ) { propValue = rawValue . asString ( ) ; } else { if ( logger . isTraceEnabled ( ) ) { logger . trace ( "Value for col {} from {} is getting Stringified from type {} to store in a STRING column as value: {}" , colPos , propPointer , rawValue . getClass ( ) , rawValue ) ; } propValue = mapper . writeValueAsString ( rawValue . getObject ( ) ) ; } prepStatement . setString ( colPos , propValue ) ; colPos ++ ; } return colPos ; }
target:  Populates the create or update statement with the token replacement values in the appropriate order. For update the final objectid is not part of the declarative mapping and needs to be populated separately.