Hi,
I want to map my Enitity having field price whose datatype I want to define is Double.
But In database it is defined as NUMBERIC(5,2) So It is giving me error as Expecting
double.
Entity Bean
| private Double price;
|
Here I tried by defining columndefination like
| @Column(columnDefination="NUMERIC" precision=5,scale=2)
| private Double price;
|
Still it is complaining.
Database field defination
| PRICE NUMBER(5,2) Y buying price
|
Please suggest.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052453#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...