The drop down type selection by default will pick Java types. This is the default for Middlegen since its design goal was to generate Java code. The hibernate plugin generates XML and in some cases the type needs to something else (in your case either, binary or java.sql.blob). This not not well supported in Middlegen but there are option:
1) is to use the JavaType Mapper interface (I did do some enhancements in this area) to provide a better default type mapping.
2) Pick a unique type and then post process the XML output and substitute it with an appropriate tool, eg, sed or <replaceregexp> Ant tag, ie,
Code:
<replaceregexp
match='java.lang.Object'
replace='binary'
byline="true">
<fileset dir="${hbm.dir}" includes="MapRequest.hbm.xml,MapRun.hbm.xml" />
</replaceregexp>