How To Dynamic value show tha vaadin Timeline chart(Load value from DB)

Hi,
I have using Timeline chart prepare in my application, Now i was implementing the addGraphDataSource using load the chart but i want dynamically implementing (fetching database) and load the chart . If any idea please let me know, And another one suggestion give for me. i am using now hibernate and vaadin SQL Container . Which one best to using if you have both concept sample?

DataBase Name : PostgreSql 8.4

Thanks
karthik