got hibernate connected but not querying