Thanks for your reply. However, after struggling with this for a week, I dropped the idea of using JPA at all and got back to Plain old JDBC.
May be in the future with a better understanding i will jump into these technologies ....
[Message sent by forum member 'ketancmaheshwari' (ketancmaheshwari)]
http://forums.java.net/jive/thread.jspa?messageID=222477