Check in App Config with Security and proper hibernate mappings loaded