This content has been marked as final.
Show 2 replies
-
1. Re: How to model an entity field of type Money.class?
anil_jmit Mar 13, 2007 1:02 AM (in response to tonylmai)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 -
2. Re: How to model an entity field of type Money.class?
tonylmai Mar 13, 2007 11:43 AM (in response to tonylmai)Thanks for the suggestion.