public static void endStringConversion ( Builder methodBuilder , TypeName typeMirror ) { SQLTransform transform = SQLTransformer . lookup ( typeMirror ) ; switch ( transform . getColumnType ( ) ) { case TEXT : return ; case BLOB : methodBuilder . addCode ( ",$T.UTF_8)" , StandardCharsets . class ) ; break ; case INTEGER : case REAL : methodBuilder . addCode ( ")" ) ; break ; default : break ; } }
generate end string to translate in code to used in content value or parameter need to be converted in string through String . valueOf