2013-02-06 54 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'是一個二進制大對象和無關機智一個博客」。顧名思義,它也意味着*二進制*數據不用於文本。 –

相關問題