Getting an error when using SQLContainer with SQL server

Here’s the code snippet I’m using to connect to my database:
final JDBCConnectionPool pool = new SimpleJDBCConnectionPool(“com.microsoft.sqlserver.jdbc.SQLServerDriver”, “jdbc:sqlserver://10.85.104.145:1433;databaseName=poo_as21”, “user”, “pwd”);
TableQuery tq = new TableQuery(“tabel_name”, pool);
sqlContainer = new SQLContainer(tq);

I get this exception:
10:50:35,976 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web]
.[default-host]
.
[/Member].[VaadinServlet]
] (http-localhost/127.0.0.1:8080-3) JBWEB000236: Servlet.service() for servlet VaadinServlet threw exception: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ‘LIMIT’.