Lines Matching refs:query
724 String query = "insert into " + tbl_name + " values ("; in insertContentMySQLTable() local
728 query += ", "; in insertContentMySQLTable()
733 query += "'"; in insertContentMySQLTable()
737 query += date.Year + "-" + date.Month + in insertContentMySQLTable()
740 query += (((Boolean)value).booleanValue()) in insertContentMySQLTable()
743 query += value; in insertContentMySQLTable()
748 query += "'"; in insertContentMySQLTable()
752 query += ")"; in insertContentMySQLTable()
753 statement.executeUpdate(query); in insertContentMySQLTable()
772 String query = "create table " + tbl_name + " ("; in createMySQLTable() local
774 if (i > 0) query += ","; in createMySQLTable()
778 query += TST_BINARY_STREAM_F + " BLOB"; in createMySQLTable()
781 query += TST_BOOLEAN_F + " TINYINT"; in createMySQLTable()
784 query += TST_CHARACTER_STREAM_F + " TEXT"; in createMySQLTable()
787 query += TST_DATE_F + " DATE"; in createMySQLTable()
790 query += TST_DOUBLE_F + " DOUBLE"; in createMySQLTable()
793 query += TST_INT_F + " INT"; in createMySQLTable()
796 query += TST_STRING_F + " TEXT"; in createMySQLTable()
798 default: query += empty_col_name + (c++) + " INT"; in createMySQLTable()
800 query += " NOT NULL AUTO_INCREMENT"; in createMySQLTable()
804 query += ", PRIMARY KEY (" + empty_col_name + "0)"; in createMySQLTable()
805 query += ")"; in createMySQLTable()
806 statement.execute(query); in createMySQLTable()