Hi,
I am using Hibernate tools of version 3.2.4.
When we reverse engineer the tables, the composite keys are getting created as a separate Id class which is fine. But the issue is with the equals method of ID class. In equals method, even for BigDecimal fields, it is using equals only instead of using compareTo.
I have verified the Hibernate tools code and it is having a method named useCompareTo()(In BasicPOJOClass.java) where it is checking for BigDecimal. But some how, my flow doesnt seem to go through that construct.
Is there any configuration need to be done to get it corrected?
Thanks in advance.
|