hibernate support

Signed-off-by: ryo <ryo.hune@gmail.com>