code: public ConnectedCrud<T, K> table(DataSource dataSource, String table) throws SQLException {
          Connection connection = dataSource.getConnection();
          try {
              return new ConnectedCrud<T, K>(new DataSourceTransactionTemplate(dataSource), table(connection, table));
          } finally {
              connection.close();
          }
      }
docs: Create a connected crud against the specified table validating it against the specified datasource.
  @param dataSource the datasource
  @param table the table
  @return a new crud instance
  @throws SQLException if an error occurred