Hello.
I'm currently using Oracle 8.1.7.4, hibernate 2.1 and middlegen 2.0
One of my tables has a RAW colum, that middlegen maps to a byte [] attribute (So far, it even seems right).
Although, the middlegen hibernate plugin (hbm2java, as net.sf.hibernate.tool.hbm2java.Hbm2JavaTask) generates an exception when generating the pojos objects from the hbm.xml model.
I edited the hbm model my self, and changed the byte [] to java.lang.String type, which works just fine for query (SELECT);
Is is a middlegen issue rather than a hibernate question?
Is there a better way to do this specific Oracle RAW type mapping?
Regards,
Flavio Matiello
|