我知道那org.springframework.orm.hibernate3.support.BlobByteArrayType已被弃用。但它被什么取代了?我正在从 Hibernate 3 迁移到 Hibernate 4。我在 .hbm.xml 文件中有以下代码
<property name="content" column="CONTENT" not-null="true"
type="org.springframework.orm.hibernate3.support.BlobByteArrayType"/>
我可以为这一行的 Java 文件添加注释吗?
private byte[] content;
如果是这样,什么注释?