My problem is that I can't connect to my sqlite database file using Vaadin. I always get a requested resource is not available error. What's wrong with my code?
private Container buildContainer() throws SQLException {
SimpleJDBCConnectionPool connectionPool = new SimpleJDBCConnectionPool(
"org.sqlite.JDBC", "jdbc:sqlite:e:/teszt.db", "", "");
SQLContainer container = new SQLContainer(new FreeformQuery(
"SELECT users.name, departments.name"
+ "FROM users"
+ "INNER JOIN departments ON users.department = departments.id",
connectionPool));
return container;
}