[
https://issues.apache.org/jira/browse/ROL-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Glen Mazza closed ROL-1208.
---------------------------
Resolution: Fixed
This works in later versions of Roller.
> Preferences:Theme page and click the customize button then ERROR
> ----------------------------------------------------------------
>
> Key: ROL-1208
> URL: https://issues.apache.org/jira/browse/ROL-1208
> Project: Roller
> Issue Type: Bug
> Components: Weblog Editor
> Affects Versions: 2.3
> Environment: tomcat5.5.9
> Reporter: Bin Gao
> Assignee: Roller Unassigned
>
> ## roller.log
> ERROR 2006-08-16 09:59:36,093 ThemeManagerImpl:saveThemePages - ERROR in
> action
> org.apache.roller.RollerException
> at
> org.apache.roller.business.hibernate.HibernateUserManagerImpl.getPageByName(HibernateUserManagerImpl.java:677)
> at
> org.apache.roller.business.ThemeManagerImpl.saveThemePages(ThemeManagerImpl.java:337)
> at
> org.apache.roller.presentation.website.actions.ThemeEditorAction.customize(ThemeEditorAction.java:372)
> ....
>
> --- ROOT CAUSE ---
> org.hibernate.exception.GenericJDBCException: could not insert:
> [org.apache.roller.pojos.WeblogTemplate]
> at
> org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
> at
> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79)
> at
> org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
> at
> org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2078)
> ....
> Caused by: java.sql.SQLException: データ・サイズがこの型の最大サイズを超えています。: 4263
> at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
> at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
> ....
> Maybe the WeblogTemplate.hbm.xml file define problem.
> <property
> name="contents"
> type="java.lang.String"
> update="true"
> insert="true"
> column="template"
> unique="false"
> />
> But I modified type="text" then another error.
> DEBUG 2006-08-16 12:10:03,093 JDBCExceptionReporter:logExceptions - could not
> insert: [org.apache.roller.pojos.WeblogTemplate] [insert into webpage
> (websiteid, name, description, link, template, updatetime, id) values (?, ?,
> ?, ?, ?, ?, ?)]
> java.sql.SQLException: 操作できません。: streams type cannot be used in batching
> at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
> at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
> at
> oracle.jdbc.driver.OraclePreparedStatement.addBatch(OraclePreparedStatement.java:3999)
> at
> org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.addBatch(DelegatingPreparedStatement.java:171)
> at
> org.hibernate.jdbc.BatchingBatcher.addToBatch(BatchingBatcher.java:30)
> at
> org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2062)
> WARN 2006-08-16 12:10:03,109 JDBCExceptionReporter:logExceptions - SQL
> Error: 17090, SQLState: null
> ERROR 2006-08-16 12:10:03,109 JDBCExceptionReporter:logExceptions - 操作できません。:
> streams type cannot be used in batching
> ERROR 2006-08-16 12:10:03,109 AbstractFlushingEventListener:performExecutions
> - Could not synchronize database state with session
> org.hibernate.exception.GenericJDBCException: could not insert:
> [org.apache.roller.pojos.WeblogTemplate]
> at
> org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
> at
> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79)
> at
> org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira