early hibernate example work