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#4052453

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052453
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to