Used JPA annotations. After including cas-core library in commons, web app is not able to start. Need to investigate.