Hi
how to use the @Generated annotation if the database type is Number and the equivalent
data type in code is BigDecimal. I am using the code below but i am getting error since
the id generator generates long, integer, short or string.
| @GeneratedValue(strategy=GenerationType.AUTO)
| @Id
| private BigDecimal personId;
|
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003184#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...