Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Problem in executing Native Query in Eclipse Link

StringBuilder query = new StringBuilder();
query.append("Select rt.id 'int1' from NodeMaster na INNER JOIN ");
query.append(" InterfaceMmaster im on im.nodeId = na.nodeId INNER JOIN
ObjectMaster rt on  ");
query.append(" im.interfaceid = rt.id where na.templateId=1");


objQuery = em.createNativeQuery(nativeQuery, CommonVO.class);
objQuery.setFirstResult(offset);
result = objQuery.getResultList();

While executing this query in Open JPA, i received expected Result.
But Eclipse Link is showing an error by saying 
" Missing descriptor for [class com.jamochatech.poc.util.CommonVO]"

Can someone help in this. 
-- 
View this message in context: http://www.nabble.com/Problem-in-executing-Native-Query-in-Eclipse-Link-tp23868787p23868787.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top