I still have this issue. When we generate entities from hibernate tools, it is not generating compareTo method for BigDecimal fields.
As I gone through the code, I understood the issue is in useCompareTo() method of BasicPOJOClass.java. I think it should look for the string "BigDecimal" rather checking for "java.math.BigDecimal"(As the javaTypeName is getting unqualified using StringHelper.unqualify() in ImportContextImpl.importType() method).
Please correct me if my understanding is wrong.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Hi Max,
I still have this issue. When we generate entities from hibernate tools, it is not generating compareTo method for BigDecimal fields.
As I gone through the code, I understood the issue is in useCompareTo() method of BasicPOJOClass.java. I think it should look for the string "BigDecimal" rather checking for "java.math.BigDecimal"(As the javaTypeName is getting unqualified using StringHelper.unqualify() in ImportContextImpl.importType() method).
Please correct me if my understanding is wrong.