Select a.stmt_date,a.*,b.* from ES_CC_STATEMENTS a left outer join ES_STMT_TRANSACTIONS
b on a.stmt_id = b.stmt_id
where a.stmt_cc_number = #cc_number AND (stmt_date >= CONVERT(DATETIME, #dateFrom ,
101)) AND (stmt_date < CONVERT(DATETIME, #dateTo , 101)) order by b.txn_date desc
我已经在Jdeveloper DB-adapter&amp; amp;有建设商业服务 我部署项目时的OSB11g&amp;运行业务服务器&amp;插入INPUT PARAMETERS我 得到以下错误:
The invocation resulted in an error: Invoke JCA outbound service failed with
application error, exception: com.bea.wli.sb.transports.jca.JCATransportException:
oracle.tip.adapter.sa.api.JCABindingException:
oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException:
servicebus:/WSDL/OSB%20DB%20Adapter/adapter/Jdev_OSB_DBAdapter/test_es_cc_STMT_new [ test_es_cc_STMT_new_ptt::test_es_cc_STMT_new(test_es_cc_STMT_newInput_msg,test_es_cc_STMT_n
ewOutputCollection) ] - WSIF JCA Execute of operation 'test_es_cc_STMT_new' failed due
to: Pure SQL Exception.
Pure SQL Execute of Select a.stmt_date,a.*,b.* from ES_CC_STATEMENTS a left outer join
ES_STMT_TRANSACTIONS b on a.stmt_id = b.stmt_id where a.stmt_cc_number = ? AND
(a.stmt_date >= CONVERT(DATETIME, ? , 101)) AND (a.stmt_date < CONVERT(DATETIME, ? ,
101)) order by b.txn_date desc failed.
Caused by com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name
'txn_date'..
; nested exception is:
BINDING.JCA-11633
Pure SQL Exception.
Pure SQL Execute of Select a.stmt_date,a.*,b.* from ES_CC_STATEMENTS a left outer join
ES_STMT_TRANSACTIONS b on a.stmt_id = b.stmt_id where a.stmt_cc_number = ? AND
(a.stmt_date >= CONVERT(DATETIME, ? , 101)) AND (a.stmt_date < CONVERT(DATETIME, ? ,
101)) order by b.txn_date desc failed.
Caused by com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name
'txn_date'..
The Pure SQL option is for border use cases only and provides simple yet minimal
functionality. Possibly try the "Perform an operation on a table" option instead. This
exception is considered not retriable, likely due to a modelling mistake. To classify
it as retriable instead add property nonRetriableErrorCodes with value "-207" to your
deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set
these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count,
and jca.retry.backoff. All properties are integers.
答案 0 :(得分:0)
表txn_date
中似乎不存在列ES_STMT_TRANSACTIONS
。
如果您提供架构,则可以更轻松地查看问题所在。