Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Can't execute Sql Queries through vaadin methods
Hi
I was reading vaadin book, and i won't able to understand how to execute a simple MySql Queries through vaadin defined methods???
Anyone has any idea??
Hi,
You don't specify what kinds of queries you're talking about or whether you are aware of / using the SQLContainer.
SQLContainer can only be used to display the results of SELECT queries. For any other kind of query, you can grab a connection from the SQLContainer's connection pool (that you create for it) and manually perform the query as you would do using plain JDBC. The book has a chapter on SQLContainer that describes how to use it.
If you're not using SQLContainer, you can use plain JDBC for any query.
HTH,
/Jonatan
Thanks Jonatan, mine problem was solved using sql container and tableQuery.