
覆盖所生成的服务组件体系结构实现
有时,系统在 Java™ 代码与服务数据对象 (SDO) 之间创建的转换可能无法满足您的需求。 请使用此过程将缺省服务组件体系结构 (SCA)
类实现替换为您自己的实现。
准备工作
关于本任务
过程
示例
private DataObject javatodata_setAccount_output(Object myAccount) {
// You can override this code for custom mapping.
// Comment out this code and write custom code.
// You can also change the Java type that is passed to the
// converter, which the converter tries to create.
return SDOJavaObjectMediator.java2Data(myAccount);
}