Searched refs:sqlString (Results 1 – 2 of 2) sorted by relevance
297 jstring sqlString) { in nativePrepareStatement() argument300 jsize sqlLength = env->GetStringLength(sqlString); in nativePrepareStatement()301 const jchar* sql = env->GetStringCritical(sqlString, NULL); in nativePrepareStatement()305 env->ReleaseStringCritical(sqlString, sql); in nativePrepareStatement()311 const char *query = env->GetStringUTFChars(sqlString, NULL); in nativePrepareStatement()317 env->ReleaseStringUTFChars(sqlString, query); in nativePrepareStatement()
338 public static void appendEscapedSQLString(StringBuilder sb, String sqlString) { in appendEscapedSQLString() argument340 if (sqlString.indexOf('\'') != -1) { in appendEscapedSQLString()341 int length = sqlString.length(); in appendEscapedSQLString()343 char c = sqlString.charAt(i); in appendEscapedSQLString()350 sb.append(sqlString); in appendEscapedSQLString()