continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fherrerav <fherre...@gmail.com>
Subject Problems upgrading from 1.3.6 to 1.4
Date Mon, 14 Jun 2010 15:04:51 GMT

I installed 1.4 and copied the old database from 1.3.6 but when I start
continuum I get this error. Is there an utility to migrate db from 1.3.6 to
1.4?

2010-06-14 10:45:52,241 [WrapperSimpleAppMain] ERROR JPOX.RDBMS  - Error
thrown executing ALTER TABLE BUILDDEFINITION ADD UPDATE_POLICY INTEGER NOT
NULL : In an ALTER TABLE statement, the column 'UPDATE_POLICY' has been
specified as NOT NULL and either the DEFAULT clause was not specified or was
specified as DEFAULT NULL.
ERROR 42601: In an ALTER TABLE statement, the column 'UPDATE_POLICY' has
been specified as NOT NULL and either the DEFAULT clause was not specified
or was specified as DEFAULT NULL.
        at
org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
        at
org.apache.derby.impl.sql.compile.ColumnDefinitionNode.bindAndValidateDefault(Unknown
Source)
        at
org.apache.derby.impl.sql.compile.TableElementList.validate(Unknown Source)
        at org.apache.derby.impl.sql.compile.AlterTableNode.bind(Unknown
Source)
        at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown
Source)
        at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown
Source)
        at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown
Source)
        at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
        at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
        at
org.jpox.store.rdbms.table.AbstractTable.executeDdlStatement(AbstractTable.java:614)
        at
org.jpox.store.rdbms.table.AbstractTable.executeDdlStatementList(AbstractTable.java:570)
        at
org.jpox.store.rdbms.table.TableImpl.validateColumns(TableImpl.java:256)
        at
org.jpox.store.rdbms.RDBMSManager$ClassAdder.performTablesValidation(RDBMSManager.java:3076)
        at
org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:3326)
        at
org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2567)
        at
org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2419)
        at
org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:824)
        at org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:838)
        at
org.jpox.store.StoreManager.getDatastoreClass(StoreManager.java:1218)
        at
org.jpox.store.rdbms.RDBMSManager.getExtent(RDBMSManager.java:1357)
        at
org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2328)
        at
org.apache.continuum.dao.BuildDefinitionTemplateDaoImpl.getContinuumBuildDefinitionTemplateWithType(BuildDefinitionTemplateDaoImpl.java:143)
        at
org.apache.maven.continuum.builddefinition.DefaultBuildDefinitionService.getContinuumDefaultWithType(DefaultBuildDefinitionService.java:262)
-- 
View this message in context: http://old.nabble.com/Problems-upgrading-from-1.3.6-to-1.4-tp28880702p28880702.html
Sent from the Continuum - Users mailing list archive at Nabble.com.


Mime
View raw message