I'm an EJB/Jboss newbie. Took me 2 days to get it up and running. Right now I am trying to create my own simple entity bean. The problem that I'm having right now is when querying by primary key (findByPrimaryKey(...)), I keep getting
"SQLException Invalid Descriptor Index"
Through further investigation, I found out that somehow my primary key is being treated as varchar instead of integer. Included below is how I defined my primary key in jaws.xml and ejb-jar.xml
--- from jaws.xml
-- from ejb-jar.xml
Models a Country
What did I do wrong?
Any help would be greatly appreciated.