I\'m using a MySQL database and accessing it through Java.
PreparedStatement prep1 = this.connection.prepareStatement(
\"UPDATE user_table
Looking at this just now for another similar situation, where I only want to do additional work if something really changed, I think the most platform neutral way to do it would be to alter the query to exclude the case where the set fields match:
UPDATE user_table SET Level = 'Super' WHERE Username = ? AND Level <> 'Super'