[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[eclipselink-users] Problem in executing Native Query in Eclipse Link
|
- From: Venu JaMocha <venu.g@xxxxxxxxxxxxxxx>
- Date: Thu, 4 Jun 2009 05:19:24 -0700 (PDT)
- Delivered-to: eclipselink-users@eclipse.org
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.