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()
430 public static void appendEscapedSQLString(StringBuilder sb, String sqlString) { in appendEscapedSQLString() argument432 if (sqlString.indexOf('\'') != -1) { in appendEscapedSQLString()433 int length = sqlString.length(); in appendEscapedSQLString()435 char c = sqlString.charAt(i); in appendEscapedSQLString()442 sb.append(sqlString); in appendEscapedSQLString()