I am trying to call the stored proc through hibernate (& spring), but getting the following exception. Surprisingly , if I use another class present in the same package , it is working.(There are exceptions as the mappings are not related to the another class, but the class is recognized by the hibernate.) Can anybody help me to get out of this? Why the class is not recognized by hibernate?(I am using hibernate 3). I have tried with fully qualified name as well as only class name, but no luck.
Here is my xml file code:
My java class is as :
[code]
package com.domain;
import java.util.Date;
public class SrUserReportResultData {
......java class with the attributes & getters-setters
}
[/class]