you can see below:
i try to save some Text String in Mysql , and the first Step in hibernate:
Code:
DEBUG [2004-01-05 14:42:21,152] net.sf.hibernate.impl.Printer - net.magician.business.forumnuke.views.PostContent{postContentID=27636, notes=null, content=FN 代码
直接插入
提示插入
帮助信息 , subject=test, ip=127.0.0.1, post=Post#27636}
you can see , 'content' column has the right content with perfect RETURN
and next step :
Code:
DEBUG [2004-01-05 14:42:24,336] net.sf.hibernate.type.TextType - returning 'FN 代码\r
直接插入\r
提示插入\r
帮助信息 ' as column: content0_
something strange happened , all ENTER was added a '\r'!!!
what's the problem?
any help is high appreciated!