Hi you need to create a separate class Money and map the filelds to database columns using annotations
Class Money{ int rupees ; int paise; @column(name="Rupees" public int getRupees(){ } @column(name="Paise") public int getPaise(){ } Hope this explanation will work out. Let me know if u need more clarification. Thanks Anil Aggarwal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027414#4027414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027414 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user