Hibernate version:
2.1.3
Hello
I am using the sql type CIDR to store various ip ranges and perform builtin Postgresql functions like broadcast(), netmask() and such. When I use Middlegen to generate the POJOs and the mapping files, it does not seem to understand this type, then reverts to java.lang.Object. This causes an Hibernate property exception, saying this property has a "wrong number of columns".
After searching this forum, I think I need to set two property columns, one for the type, the other for the value. However I do not understand how to figure out the type of a CIDR object ?
Any advice appreciated :)
|