posted 15 years ago
Can you help me to find what i am doing wrong.
I can't seem to get this working.
Query simpleQuery = session.createSQLQuery("select LEGACY_ACCT_IN as legacyIndicator FROM DB2.ACCOUNT_DETAILS WHERE ACCESS_MEDIUM_NO = :acctNum").addEntity(SimpleVO.class);
simpleQuery.setString("acctNum", "4889");
List lst = simpleQuery.list();
Exception data: org.hibernate.MappingException: Unknown entity: common.stmt.business.domain.SimpleVO
Thanks
Santosh