xxx7

Step 10. Execute generated SQL.
If this step is not completed, the Method Server will not start and will throw a very lengthy wt.pom.DatastoreException exception:
wt.services.ManagerException: wt.util.WTException: (wt.pom.pomResource/0) wt.pom.PersistenceException:
A persistence error occurred. System message follows:
Nested exception is: wt.pom.DatastoreException: A SQL error has occurred for the statement
"(SELECT ’com.ptc.windchill.enterprise.report.ThirdPartyReportModelData’ FROM
...
This indicates there is no table for the extensions that need to be
persisted.
a. Navigate to the WT_HOME/db/sql/com/customer directory. Access SQL*Plus as the Windchill database user.
b. Always build tables before indexes. Execute the following:
Example:
@Make_pkg_customer_Table.sql
@Make_pkg_customer_Index.sql
c. Exit SQL*Plus.
Step 11. Restart Tomcat and the Method Server.
If this step is not completed, the Method Server does not reload the
registry property files and subsequently does not know about the new
customization.
Step 12. Test.
a. Test in the UI. The function Create Document should have an additional type —com.customer.doc.CustomerOrder:
Example:
Operations in Rational Rose equate to methods in Java.
• Firstly, classes should have the same constructor methods as the parent class.
• Once the class has the same constructor methods, developers can add any other additional methods driven by the requirements.
• In Rational Rose, operations are summarized in the Operations tab of the Class Specification window:
Figure 6-4: Operations Tab of Class Specification Window
• Operations also have a separate Operation Specification window to set detailed properties for the operation:
Figure 6-5: Operation Specification Window
• Adding operations does not change the database structure; any existing tables for modeled custom classes should not need to be changed.
– Of course, the generated Java needs to be recompiled.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值