Java 替换“org.springframework.orm.hibernate3.support.BlobByteArrayType”`
我知道,Java 替换“org.springframework.orm.hibernate3.support.BlobByteArrayType”`,java,hibernate,Java,Hibernate,我知道,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.
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"/>
如果是,什么注释?也许是一条路要走。也许是一条路要走。
private byte[] content;