Duplicate entry error during database migration from 1.2.2 to 1.3.3
-------------------------------------------------------------------
Key: CONTINUUM-2323
URL: http://jira.codehaus.org/browse/CONTINUUM-2323
Project: Continuum
Issue Type: Bug
Environment: Installed as a WAR under Tomcat
Running with MySQL DB
Reporter: David Degardin
I'm trying to migrate from continuum-1.2.2 to continuum 1.3.3.
I've followed this procedure:
http://continuum.apache.org/docs/1.3.3/installation/upgrade.html (i.e export
with data-management-cli-1.2.3.1 and import with data-management-cli-1.3.2).
I've managed to export but I've got an exception during import:
"Exception in thread "main" javax.jdo.JDODataStoreException: Insert request
failed: INSERT INTO `INSTALLATION`
(`VAR_NAME`,`INSTALLATIONTYPE`,`NAME`,`VAR_VALUE`,`MODEL_ENCODING`,`INSTALLATION_ID`)
VALUES (?,?,?,?,?,?)
at
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:455)
......
NestedThrowablesStackTrace:
com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate
entry '4' for key 1"
When I look at the builds.xml file, there is no duplicate entry for
installations...
Where am I wrong ? Please help, it's been awhile this stuff does not work.
Thanks
David
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira