I want to pass an int as an parameter to findByPrimaryKey method.
what do i give in the xml file for
what do i give in place of java.lang.String.
i think u can't give the int i.e primitive data types to the findbyprimarykeymethod....
u must have to pass an object only like a string or any class object..
for using primitive datatype u have to create PK class and in that class declare u r varaiable of type int and use that for passing u r int value....