posted 17 years ago
I figured out the root cause it's not the hibernate. I am using JAXB and any time I get a value starting with leading zero's i.e. 00785 as I have defined nonNegativeInteger in my xsd. As can't change the xsd so probably will explicitly check if the returned value is of some specific length if not then append the leading zero's, or if someone have a better solution will be more then happy to look at. Thanks