Searched refs:sqlString (Results 1 – 2 of 2) sorted by relevance
286 jstring sqlString) { in nativePrepareStatement() argument289 jsize sqlLength = env->GetStringLength(sqlString); in nativePrepareStatement()290 const jchar* sql = env->GetStringCritical(sqlString, NULL); in nativePrepareStatement()294 env->ReleaseStringCritical(sqlString, sql); in nativePrepareStatement()300 const char *query = env->GetStringUTFChars(sqlString, NULL); in nativePrepareStatement()306 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()