Creating Grid Dynamically in Vaadin 8

I am looking for a solution which can fulfill the following requirements,
I want to hold the data in Grid

  1. The data comes from the database
  2. The Grid component must be filterable and editable
  3. The data can be changed with its schema. The schema I don’t have at compile-time and so I don’t have its bean [or pojo, which represents the table entity of database]

→ Now, how can I achieve this without using the dynamic bean generation?
I have implemented this using dynamic bean generation with the use of javassist. But I think this isn’t proper solution as by the time number of classes in my application grows too much.