AnsweredAssumed Answered

RC1.2 and Sybase - null values

Question asked by fraser_crichton on Feb 19, 2006
Latest reply on Feb 22, 2006 by fraser_crichton
Hi,

I got Alfresco 1.1.2 to work against Sybase, however I'm now trying to get Alfresco 1.2 RC to work and I get this -

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patchExecuter' defined in file [C:\work\Sandbox\jboss-4.0.3SP1\server\default\tmp\deploy\tmp65583alfresco-content-management-system-1.2-exp.war\WEB-INF\classes\alfresco\patch\patch-services-context.xml]: Initialization of bean failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Could not execute JDBC batch update; uncategorized SQLException for SQL [insert into applied_patch (description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; SQL state [JZ0BE]; error code [0]; JZ0BE: BatchUpdateException: Error occurred while executing batch statement: The column description in table applied_patch does not allow null values.
; nested exception is com.sybase.jdbc2.jdbc.SybBatchUpdateException: JZ0BE: BatchUpdateException: Error occurred while executing batch statement: The column description in table applied_patch does not allow null values.

org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Could not execute JDBC batch update; uncategorized SQLException for SQL [insert into applied_patch (description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; SQL state [JZ0BE]; error code [0]; JZ0BE: BatchUpdateException: Error occurred while executing batch statement: The column description in table applied_patch does not allow null values.
; nested exception is com.sybase.jdbc2.jdbc.SybBatchUpdateException: JZ0BE: BatchUpdateException: Error occurred while executing batch statement: The column description in table applied_patch does not allow null values.

As far as I can tell I've configured all the appropriate files.

Any ideas?

Cheers,

Fraser

Outcomes