Hi,
i am trying to select two columns in the entity i am getting below error like
, expected in SELECT [select itc.interestTypeKey as interestTypeKey from com.org.state.dsl.btlds.admin.entities.InterestTypeCodeEntity itc ]
This is my
java code , i am not able to figure out where iam doing mistake, Please help me in understanding the problem.
if i change the select query like as below it is working fine
String sql=" select new InterestTypeCodeEntity( itc.interestTypeKey , itc.interestTypeName) from InterestTypeCodeEntity itc where itc.endDate is null
i dont like to create any constructors in my class
Thanks
Amir