Hello,
I am trying to map blob type in MySQL using Hibernate 3.0. I am getting error as Data Too long for the specified column. I tried to specify length as 1000000000 but still I am getting the same error. Below is my mapping file: <hibernate-mapping> <class name="com.parser.domain.StoredResume" table="StoredResume"> <id name="document" column="document" ></id> <property name="resume" column="resume" type="com.parser.repository.hibernate.BinaryBlobType" length="1000000000" ></property>
</class> </hibernate-mapping>
Please advice.
Best Regards, Jai Kishan Shah
|