Usage hibernate without Spring