I am getting the below exception
org.hibernate.exception.JDBCConnectionException: could not load an entity: [com.verizon.opro.hibernate.omdb.messageuser.BemsgComsCctBase#580016] at org.hibernate.type.EntityType.resolve(EntityType.java:412) at ..... org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:306) at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:328) at com.verizon.opro.processcontrol.parser.ServiceParse.parse(ServiceParse.java:189)
Here is my code in ServiceParse.java
Session session = HibernateSessionFactory.currentSession(); masterControl = (MasterControl) session.createCriteria(MasterControl.class).add( Restrictions.eq("txID", txID)).add( Restrictions.eq("version", version)).uniqueResult(); //line number 189
What could be reason? Please help.
|