DB2 10.1 EJB to RDB Mapping

时间:2016-04-04 16:50:15

标签: java-ee db2 ejb websphere

I am trying to generate the mapping table, currently for DB2 9.7, for an EJB 2.1 application running on IBM Websphere 8 for DB2 10.1.

The problem that I am facing is that apparently Websphere 8 doesn't support the generation of DB2 10.1 mappings (https://www.ibm.com/support/knowledgecenter/SS7JFU_8.5.5/com.ibm.etools.ejbbatchdeploy.doc/topics/regenc.html?cp=SS7JFU_8.5.5&lang=en under -dbvendor name ) I would normally use the ejbdeploy tool to generate it but only versions up to 9.8 are supported.

I tried to do the same using Rational Application Developer, and succeeded, only to find out that the Websphere doesn't like the produced outcome. Note that according to the link even WAS 8.5.5, the current version, doesn't support DB2 10.1.

I am struggling to understand the logic behind this. Has IBM DB2 stopped supporting older applications? Can I just use the old 9.7 Map? So far the application seems to be working but I want to find a plausible explanation for this.

1 个答案:

答案 0 :(得分:1)

没有IBM DB2没有停止使用像9.7这样的早期版本支持应用程序。像ejbdeploy工具这样的工具通常只在主要版本边界更新,在最后一次WebSphere Application Server发布时,DB2 9.8是最新的DB2版本。所有服务中的WebSphere Application Server版本都支持DB2 10.x,您应该能够毫无问题地使用为DB2 9.7生成的映射。