[jboss-user] [EJB/JBoss] - Re: How to model an entity field of type Money.class?
anil_jmit
do-not-reply at jboss.com
Tue Mar 13 01:02:09 EDT 2007
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
More information about the jboss-user
mailing list