The QueryContainer
is the specialized form of Container which is Ordered and Indexed. This is used to represent the contents of relational database tables accessed through the JDBC Connection in the Vaadin Table. This creates Items based on the queryStatement provided to the container.
The QueryContainer
can be visualized as a representation of a relational database table.Each Item in the container represents the row fetched by the query.All cells in a column have same data type and the data type information is retrieved from the metadata of the resultset.
Note : If data in the tables gets modified, Container will not get reflected with the updates, we have to explicity invoke QueryContainer.refresh method. {@link com.vaadin.data.util.QueryContainer#refresh() refresh()}
@see com.vaadin.data.Container
@author IT Mill Ltd.
@version
@since 4.0
@deprecated will be removed in the future, use the SQLContainer add-on