I have a VO which has a UNION query in it..The query is fetching the proper details however when we are putting it in VO and trying to get the values of attributes mentioned in it, its giving shuffled values for example the Value of column A is coming to Colum B, and value of column B to Column C.
The Attribute mapping is correct as well. Please help..
Please set column index number in respective get set method manually in VORowImpl.java
Check below sample Example
public static final int EMPLOYEEID = 0; //Here am checking index value i.e 0
public static final int FIRSTNAME = 1; //Here am checking index value i.e 1
public Number getEmployeeId()
public void setEmployeeId(Number value)
setAttributeInternal(EMPLOYEEID, 0); //Here am setting the same i.e 0
public String getFirstName()
public void setFirstName(String value)
setAttributeInternal(FIRSTNAME, 1); //Here am setting the same i.e 1