1) Realization saving graph in DB via hibernate