Fórumok

JDBC Error On Save of Content

thumbnail
Josh Asbury, módosítva 15 év-val korábban

JDBC Error On Save of Content

Expert Bejegyzések: 498 Csatlakozás dátuma: 2006.09.08. Legújabb bejegyzések
I submitted LPS-1981 for this, but I am wondering if anyone in the forums might have some insight as to what the cause of this behavior might be. This is a show-stopper for me...
I am working in 5.2, and I am receiving the errors below when I attempt to save a piece of content. What's interesting, is the content saved fine, but when I changed a table's cell padding, this happened. There are no page templates or structures here, so everything is pretty pure.
I am running against MySQL and Tomcat 5.5.
22:00:27,361 ERROR [JDBCExceptionReporter:101] Incorrect string value: '\xEF\xBF\xBD fo...' for column 'content' at row 1
22:00:27,362 ERROR [AbstractFlushingEventListener:324] Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)

...and later on...
22:00:27,457 ERROR [BasePersistenceImpl:81] Caught ORMException
22:00:27,672 ERROR [jsp:165] com.liferay.portal.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: Could not execute JDBC batch update
        at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:91)
        at com.liferay.portlet.journal.service.persistence.JournalArticlePersistenceImpl.updateImpl(JournalArticlePersistenceImpl.java:230)
        at com.liferay.portlet.journal.service.persistence.JournalArticlePersistenceImpl.update(JournalArticlePersistenceImpl.java:195)
        at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.updateArticle(JournalArticleLocalServiceImpl.java:1881)
        at com.liferay.portal.mirage.aop.MirageInvoker.invoke(MirageInvoker.java:47)
        at com.liferay.portal.mirage.aop.ContentInvoker.invoke(ContentInvoker.java:47)
        at com.liferay.portal.mirage.service.ContentServiceImpl.process(ContentServiceImpl.java:247)
        at com.liferay.portal.mirage.service.ContentServiceImpl.updateContent(ContentServiceImpl.java:228)
        at com.liferay.portal.spring.aop.LogAdvice.invoke(LogAdvice.java:73)

...and later on...
Caused by: com.liferay.portal.kernel.dao.orm.ORMException: Could not execute JDBC batch update
        at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:41)
        at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:117)
        at com.liferay.portal.service.persistence.BatchSessionImpl.update(BatchSessionImpl.java:74)
        at com.liferay.portal.service.persistence.BatchSessionUtil.update(BatchSessionUtil.java:52)