how to read my blob column from mysql to string type in hibernate
I have try this way but alway return me: [B@196f4b5
Article article2=f.daoArticle.findById(article.getSrcUrl());
String vbody = article2.getArticle();
System.out.println(vbody);
\\hbm
<class catalog="ariso" name="countaword.ariso.dao.Article" table="article">
<id name="srcUrl" type="java.lang.String">
<column length="200" name="SrcUrl"/>
<generator class="assigned"/>
</id>
<property column="Article" generated="never" lazy="false"
name="article" type="text" not-null="true" length="10485760"/>
</class>
\\
any helps? It took me 3 hours!!!