2013-02-06 53 views

回答

5

尝试 “文本”(LOB) http://www.postgresql.org/docs/8.0/static/datatype-character.html

@Lob 
@Type(type = "org.hibernate.type.TextType") 
+0

有什么影响? –

+0

取决于你的Hibernate的版本。 3看到这个http://www.shredzone.de/cilla/page/299/string-lobs-on-postgresql-with-hibernate-36.html – twillouer

+2

'BLOB'是一个二进制大对象和无关机智一个博客”。顾名思义,它也意味着*二进制*数据不用于文本。 –

相关问题