How to store HierarchicalContainer to Oracle DB using JPA

I would like to implement Vaadin Tree with HierarchicalContainer. I need to save the Tree / HierarchicalContainer to Oracle DB. Again I need to fetch the Tree from DB. Any idea or code snippet or sample example code for saving the Tree to Oracle DB using JPA Eclipselink.