hibernate与mysql longText

137 阅读1分钟

mysql中的longtext字段最好对应hibernate中的string,而不是binary,否则会报错