(C) Copyright International Business Machines Corporation 2006. All rights reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM(R) Corp.
迁移方案适用于下列任一情形:
- 从 WebSphere(R) Application Server Toolkit V6.0.x 或早期版本迁移至 V6.1.x
- 从 IBM Rational(R) Software Development Platform V6.0.x 或早期版本迁移至 V7.0.x
此后,术语产品表示 WebSphere Application Server Toolkit 或 IBM Rational Software Development Platform,术语最新版本表示 Application Server Toolkit V6.1.x 和 IBM Rational Software Development Platform V7.0.x,而术语早期版本表示 Application Server Toolkit V6.0.x 或早期版本和 IBM Rational Software Development Platform V6.0.x 或早期版本。
问题症状:
如果迁移 EJB 项目、EAR 或 JAR 文件,后端可能无法迁移至产品的最新版本。例如,在产品的最新版本中,您可能会遇到下列问题:Map.mapxmi 文件无法在编辑器中打开;.log 文件包含 NonUniqueException 堆栈跟踪。
验证 EJB 项目或 JAR 文件是否包含使用关系表的任何 EJB 到 RDB 的映射后端,并且这些表中的列和约束具有相同的名称。
解决方案:
在产品的早期版本中,使用表编辑器编辑有问题的 .tblxmi 文件。将主键或外键约束名称更改为不同于列的现有名称的另一个名称。
在产品的早期版本中,使用表编辑器编辑有问题的 .tblxmi 文件。将主键或外键约束名称更改为不同于列的现有名称的另一个名称。