Hi,
Anybody Pl help me when i am trying to execute one stored procedure using JDBC Adapter.I got below error.My storedProcedure
needs StartDate,EndDate parameters,DateTimeStamp.when i executed this
storedProcedure using call service in wmDB package,It is working fine.
There i passed date as dd-MMM-yyyy format.Input parameter Type of storedProcedure for startDate,EndDate is DATE.
Here in JDBC Adapter i am passing Startdate,EndDate in dd-MMM-yyyy(eg 25-MAY-2003).AdapterService not recognising MAY.
ART Exception is MAY.If i passed date as yyyy-MM-dd format(eg.2003-05-25).Adapter service throwing below exception.
2003-08-21 17:17:36 EDT WmSriniSamp:Test com.wm.pkg.art.error.DetailedServiceException: [ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service WmSriniSamp:Test[ADA.1.316] Cannot execute the SQL statement “{call PA.PKGTESTPUBLISH.TESTTRADEPUBLISH (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) }”. " (17041) Missing IN or OUT parameter at index:: 6" Missing IN or OUT parameter at index:: 6 Stack trace data … 70eacc6e1558b298f7a44e9018 NULL 70eacc6e1558b298f7a44e9018
2003-08-21 17:17:36 EDT WmSriniSamp:Test[SCC.0121.0026E] delisted transaction commit failed: javax.transaction.RollbackException: Already marked for rollback xid = pc20002836b/1061495075401 Stack trace data … 70eacc6e1558b298f7a44e9018 NULL 70eacc6e1558b298f7a44e9018
2003-08-21 17:17:36 EDT WmSriniSamp:Test[ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service WmSriniSamp:Test [ADA.1.316] Cannot execute the SQL statement “{call PA.PKGTESTPUBLISH.TESTTRADEPUBLISH (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) }”. " (17041) Missing IN or OUT parameter at index:: 6" Missing IN or OUT parameter at index:: 6 Stack trace data … 70eacc6e1558b298f7a44e9018 NULL 70eacc6e1558b298f7a44e9018
2003-08-21 17:17:36 EDT WmSriniSamp:Test
[ADA.1.316] Cannot execute the SQL statement “{call PA.PKGTESTPUBLISH.TESTTRADEPUBLISH (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) }”. " (17041) Missing IN or OUT parameter at index:: 6" Missing IN or OUT parameter at index:: 6 Stack trace data … 70eacc6e1558b298f7a44e9018 NULL 70eacc6e1558b298f7a44e9018
2003-08-21 17:17:36 EDT WmSriniSamp:Test
Missing IN or OUT parameter at index:: 6
Thanks,
SriniK