title: How to refresh data from database in javafx TableView?
body: <p>In my application I hava TableView which I'm using to show data from database recieved via Hibernate sql query and then converted to FX ObservableList</p>
  
  <pre><code>planningData = FXCollections.observableArrayList((List&lt;Object[]&gt;) service.getPlanningTableData(from, to));
  </code></pre>
  
  <p>What I'm trying to do is to smoothly update content of my TableView each 30 sec.
  Right now I'm just recalling my database method and setting items in tableView like this:</p>
  
  <pre><code>tableView.setItems(planningData) 
  </code></pre>
  
  <p>But this is useless.</p>