1 Reply Latest reply on Jan 18, 2007 4:28 AM by Carlo de Wolf

    Using @ GeneratedValue for BigDecimal

    Rabbia Qaswar Newbie


      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.

      private BigDecimal personId;