Run SQL command directly

Hi!

How can I run the following sql command in Vaadin:

mysql_query("set collation_connection = utf8_general_ci");
mysql_query("set names 'utf8'");

Thanks!

Running MySQL queries isn’t Vaadin specific. In other words, you do it just like you would in any other Java application.
Here’s a short tutorial
that demonstrates how to connect to a MySQL database and run queries with Java.

Thank you!