Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
I am using the hibernate features in the eclipse 3.0 database explorer to generate hibernate mappings from my postgres 8.0 database. My boolean fields within postgres always get mapped to java.lang.Byte. I want to change it so that my boolean field in postgres gets mapped to a java boolean type.
Which files can I customize to achieve this. Thanks.
Currently, you cannot change this behavior. Work is being done on the mapping tools that will allow this in the near future (end of March timeframe AFAIK). If you need to adjust the type mappings, just modify the mapping file and the abstract entity file – but be aware that re-generating mappings will drop your changes if you ever do so. Another workaround is to provide custom methods in the generated subclass which only gets generated once that transform the java.lang.Byte back into a boolean.
I have the same problem. boolean mapped as byte. I have downloaded the recent version of myeclipse, but nothing appears to be changed. Could you please tell me when this bug gets fixed?