I am trying to use the new BlobByteArrayType in my hibernate mappings, but I haven't had any luck finding any documentation or examples. I've set up the hibernate mapping like so:
<property name="chart" type="blob" class="org.springframework.orm.hibernate.support.B lobByteArrayType"/>
I'm also using the hbm2java ant task to generate my java classes from the hibernate mappings. However, when I run hbm2java, spring complains that there is "No LobHandler found for configuration". I have configured my local session factory like so:
<bean id="sessionFactory" class="org.springframework.orm.hibernate.LocalSess ionFactoryBean">
<property name="dataSource"><ref local="dataSource"/></property>
(where blob handler is replaces with org.springframework.jdbc.support.lob.DefaultLobHan dler)
I am assuning that this error is thrown because spring is not running when the hbm2java task is run. I'm puzzled, though, because it shouldn't need to be running when simply generating the java source files.
Does anyone have any idea why BlobByteArrayType would complain about a missing lobHandler when it's not even being asked to do its IOC magic?