We did upgrade from Tridion 5.3 SP1 to Tridion 2011 SP1.
Most of the things are working fine. Publishing of few pages is getting failed at "Committing Deployment" state with below mentioned error. Database is SQL Server.
Phase: Deployment Prepare Commit Phase failed, Unable to prepare transaction: tcm:0-249333-66560, Unable to store
item inside current transaction, Unable to persist data entity, org.hibernate.exception.ConstraintViolationException:
could not insert: [com.tridion.storage.ComponentMeta], org.hibernate.exception.ConstraintViolationException: could
not insert: [com.tridion.storage.ComponentMeta], Unable to persist data entity,
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta],
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta], Unable
to store item inside current transaction, Unable to persist data entity,
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta],
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta], Unable
to persist data entity, org.hibernate.exception.ConstraintViolationException: could not insert:
[com.tridion.storage.ComponentMeta], org.hibernate.exception.ConstraintViolationException: could not insert:
[com.tridion.storage.ComponentMeta], Unable to prepare transaction: tcm:0-249333-66560, Unable to store item inside
current transaction, Unable to persist data entity, org.hibernate.exception.ConstraintViolationException: could not
insert: [com.tridion.storage.ComponentMeta], org.hibernate.exception.ConstraintViolationException: could not insert:
[com.tridion.storage.ComponentMeta], Unable to persist data entity,
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta],
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta], Unable
to store item inside current transaction, Unable to persist data entity,
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta],
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta], Unable
to persist data entity, org.hibernate.exception.ConstraintViolationException: could not insert:
[com.tridion.storage.ComponentMeta], org.hibernate.exception.ConstraintViolationException: could not insert:
[com.tridion.storage.ComponentMeta]