hibernate integration with basic db schema