PLW-07202: bind type would result in conversion away from column type
Got this error, "PLW-07202: bind type would result in conversion away from column type", when compiling in the stored procedure editor.
CREATE OR REPLACE
procedure test_proc (at_incoming varchar)
as begin
insert into test2(itemname) values (substr('1234',1,2));
end;
The table test2 was created like this:
CREATE TABLE "DMSCO"."TEST2"
( "ITEMNAME" VARCHAR2(30),
"ITEM2" VARCHAR2(10),
"ITEMNUM" NUMBER(10,0)
Removed the substr, and it compiles.
CREATE OR REPLACE
procedure test_proc (at_incoming varchar)
as begin
insert into test2(itemname) values ('1234');
end;
In sqlplus it compiles fine even with the substr.
PLW-07202: is a warning. There's a bug that it's showing as an error.
-kris
Similar Messages
-
PLW-07204: conversion away from column type may result in sub-optimal query
I have the following query in the package that created using sql developer. I am receiving the error 'PLW-07204: conversion away from column type may result in sub-optimal query plan' when try to compile the package. The issue is happen to be in the last line where the date is. Any help? Thanks
select count(*) into n_cnt
from tmp_order
where sgn_off_dt is null and cmt_dt is not null
and sysdate - cmt_dt > 90;Sy:
Try doing as a procedure instead of an anonymous block. It looks like warnings do not apply to blocks.
SQL> create table tmp_order(sgn_off_dt date,cmt_dt date);
Table created.
SQL> alter session set plsql_warnings='ENABLE:ALL';
Session altered.
SQL> create procedure p as
2 n_cnt number;
3 begin
4 select count(*) into n_cnt
5 from tmp_order
6 where sgn_off_dt is null and
7 cmt_dt is not null and
8 sysdate - cmt_dt > 90;
9 end;
10 /
SP2-0804: Procedure created with compilation warnings
SQL> show err
Errors for PROCEDURE P:
LINE/COL ERROR
8/18 PLW-07204: conversion away from column type may result in
sub-optimal query planlindalop:
In this case, you can ignore the warning, as it is not correct. Sysdate and a date column have different internal data types (note the type 13 for sysdate and type 12 for the date column), and whatever internally generates the warnings seems to just compare the type number.
SQL> insert into tmp_order values(sysdate, sysdate);
1 row created.
SQL> commit;
Commit complete.
SQL> select dump(sysdate) sdate, dump(cmt_dt) cmt_dt from tmp_order;
SDATE CMT_DT
Typ=13 Len=8: 7,219,2,3,15,44,4,0 Typ=12 Len=7: 120,111,2,3,16,44,12However, Oracle is perfectly capable of using an index on a date column with sysdate as a predicate. I would agree with Sy's suggestion to re-work the predicate to be something like cmt_dt < sysdate - 90.
John -
Conversion away from column type may result in sub-optimal query plan
Hello all,
I have the following select statement in a cursor compiled in a package.
SELECT id
FROM table
WHERE TRUNC(ts) >= TRUNC(SYSDATE - p_days)
However I get 4 warnings that read:
PLW-07204: conversion away from column type may result in sub-optimal query plan
Does anyone know of a way to rewrite the query to avoid the compilation warnings?
I'm just trying to compare the date without the time...
Thanks in advance
DanFor what it is worth, whenever you compare a date column to either sysdate or any built-in function returning a date you will get that warning.
SQL> desc t
Name Null? Type
ID NUMBER
DT DATE
SQL> SELECT DUMP(dt), DUMP(trunc(dt)), dump(sysdate)
2 FROM t;
DUMP(DT) DUMP(TRUNC(DT)) DUMP(SYSDATE)
Typ=12 Len=7: 120,107,7,12,15,16,43 Typ=13 Len=8: 7,215,7,12,0,0,0,0 Typ=13 Len=8: 7,215,7,12,14,16,11,0But,
SQL> CREATE FUNCTION f(p_v IN VARCHAR2) RETURN DATE AS
2 BEGIN
3 RETURN TO_DATE(p_v, 'dd-mon-yyyy');
4 END;
5 /
Function created.
SQL> SELECT DUMP(f('01-jan-2000')) FROM dual;
DUMP(F('01-JAN-2000'))
Typ=12 Len=7: 120,100,1,1,1,1,1John -
this happens when i try to move around websites
Do you have that problem when running in the Firefox SafeMode? <br />
[http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
''Don't select anything right now, just use "Continue in SafeMode."''
If not, see this: <br />
[http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes] -
Avoiding PLW-07202 warning in SQL Developer
Hi All,
I am using EM Console to create package, now I have switched over to SQL Developer. When I was using EM Console, It was not showing any warning, but that same package when compiled in SQL Developer It show following warning:
PLW-07202: bind type would result in conversion away from column type
I want to avoid this warning to occur everytime when I compile.
How do I do it?
Help...or issue an alter session/alter system yourself or :
http://www.oracle-base.com/articles/10g/PlsqlEnhancements10g.php#compile_time_warnings
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/errors.htm#sthref2096
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams166.htm#REFRN10249 -
Hi,
I get a stupid bunch of warning when compiling this under 11.1.0.7:
create table test ( t varchar2(50) );
create or replace procedure test_warn as
BEGIN
INSERT INTO test (t)
SELECT substr('blah', 1, 2)
FROM dual;
END;
SP2-0804: Procedure created with compilation warnings
show errors
Errors for PROCEDURE TEST_WARN:
LINE/COL ERROR
6/37 PLW-07202: bind type would result in conversion away from column type
6/40 PLW-07202: bind type would result in conversion away from column typeThe locations point to the "1" and "2" parameters in substr(). WTF???
Thanks,
ChrisWhat is the database trying to warn me from precisely?Looks like Bug 5983734: SPURIOUS PLW-07202, which still holds in 11gR2:
SQL> select * from v$version where rownum = 1
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
1 row selected.
SQL> alter session set plsql_warnings='enable:all'
Session altered.
SQL> create table t (a varchar2(40))
Table created.
SQL> alter system flush shared_pool
System altered.
SQL> create or replace procedure p as
begin
insert into t values (substr('abc',1,2));
end;
Procedure created.
SQL> show err
Errors for PROCEDURE P
LINE/COL ERROR
3/37 PLW-07202: bind type would result in conversion away from column
type
3/39 PLW-07202: bind type would result in conversion away from column
type
1/1 PLW-05018: unit P omitted optional AUTHID clause; default value D
EFINER used
SQL> exec p
PL/SQL procedure successfully completed.
SQL> select sql_text from v$sql
where lower(sql_text) not like '%v$sql$'
and lower(sql_text) like 'insert into t values%'
SQL_TEXT
INSERT INTO T VALUES (SUBSTR('abc',1,2))
1 row selected.
/* no binding takes place at all, so a message about binding seems non-sensical. */
SQL> alter system flush shared_pool
System altered.
SQL> create or replace procedure p as
s varchar2(3) := 'abc';
s1 int := 1;
s2 int := 1;
begin
insert into t values (substr(s, s1, s2));
end;
Procedure created.
SQL> show err
Errors for PROCEDURE P
LINE/COL ERROR
6/34 PLW-07202: bind type would result in conversion away from column
type
6/38 PLW-07202: bind type would result in conversion away from column
type
1/1 PLW-05018: unit P omitted optional AUTHID clause; default value D
EFINER used
SQL> exec p
PL/SQL procedure successfully completed.
SQL> select sql_text from v$sql
where lower(sql_text) not like '%v$sql$'
and lower(sql_text) like 'insert into t values%'
SQL_TEXT
INSERT INTO T VALUES (SUBSTR(:B3 , :B2 , :B1 ))
1 row selected.
But (1) the datatypes of the PL/SQL variables that are bound are exactly
right for Substr(). And (2), the binding occurs in an expression that's that
right-hand-side for "set <column> =" so there's possibility of an index
being in use.
*/ -
PLW 07204 and PLW 07202 ?
CREATE OR REPLACE PROCEDURE library_portal_home(ldt portal_home_non_login_log.logdatetime%TYPE, COT portal_home_non_login_log.counter%TYPE) IS
lv_count NUMBER;
BEGIN
SELECT COUNT(1)
INTO lv_count
FROM portal_home_non_login_log
WHERE to_char(logdatetime, 'dd-mm-yyyy ') = to_char(sysdate, 'dd-mm-yyyy ');
IF lv_count > 0 THEN
UPDATE portal_home_non_login_log
SET counter = counter + 1
WHERE to_char(logdatetime, 'dd-mm-yyyy ') = to_char(sysdate, 'dd-mm-yyyy ');
ELSE
INSERT
INTO portal_home_non_login_log(logdatetime, counter)
VALUES(sysdate, 1);
DBMS_OUTPUT.PUT_LINE('ONE RECORD IS ADDED......!');
END IF;
COMMIT;
END;
I got 2 warning when i compile for debug.
Warning PLW 07204
Warning PLW 07202
Would this 2 warning affect the procedure and how do I solve it?create or replace PROCEDURE in_focus_page(ldt infocus_log.logdatetime%TYPE, COT infocus_log.counter%TYPE) IS
lv_count NUMBER;
BEGIN
SELECT COUNT(1)
INTO lv_count
FROM infocus_log
WHERE TRUNC(logdatetime) = TRUNC(sysdate);
IF lv_count > 0 THEN
UPDATE infocus_log
SET counter = counter + 1
WHERE TRUNC(logdatetime) = TRUNC(sysdate);
ELSE
INSERT
INTO infocus_log(logdatetime, counter)
VALUES(sysdate, 1);
DBMS_OUTPUT.PUT_LINE('ONE RECORD IS ADDED......!');
END IF;
COMMIT;
END;
I still have same 2 warning. First one is PLW 07204 and other one is PLW 07202. (bold)
Thanks in Advance -
BINDING.JCA-11804 Unimplemented string conversion. in OSB
Hi,
Can any body tell me why the following exception is coming or give me the solution. When running procedure from business service in oracle service bus.
<Error> <JCA_FRAMEWORK_AND_ADAPTER> <BEA-000000> <servicebus:/WSDL/IBPORTALDOMAPP/adapters/OSB/CustomerCreditCardsServiceCTLDB/CustomerCreditCardsService [ CustomerCreditCardsService_ptt::CustomerCreditCardsService(InputParameters,OutputParameters) ] - Could not invoke operation 'CustomerCreditCardsService' due to:
BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
at oracle.tip.adapter.db.sp.oracle.TypeConverter.toString(TypeConverter.java:292)
at oracle.tip.adapter.db.sp.oracle.XMLBuilder.XML(XMLBuilder.java:302)
at oracle.tip.adapter.db.sp.AbstractXMLBuilder.weakRowSet(AbstractXMLBuilder.java:218)
at oracle.tip.adapter.db.sp.AbstractXMLBuilder.DOMRowSet(AbstractXMLBuilder.java:160)
at oracle.tip.adapter.db.sp.oracle.XMLBuilder.DOM(XMLBuilder.java:191)
at oracle.tip.adapter.db.sp.AbstractXMLBuilder.buildDOM(AbstractXMLBuilder.java:274)
at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:148)
at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1148)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:252)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:498)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeOperation(WSIFOperation_JCA.java:365)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:324)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:344)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:256)
at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:150)
at com.bea.wli.sb.transports.jca.JCATransportEndpoint.sendRequestResponse(JCATransportEndpoint.java:209)
at com.bea.wli.sb.transports.jca.JCATransportEndpoint.send(JCATransportEndpoint.java:170)
at com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:574)
at sun.reflect.GeneratedMethodAccessor1473.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
at $Proxy132.sendMessageAsync(Unknown Source)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:603)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:538)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:566)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:434)
at com.bea.wli.sb.pipeline.PipelineContextImpl.doDispatch(PipelineContextImpl.java:670)
at com.bea.wli.sb.pipeline.PipelineContextImpl.dispatch(PipelineContextImpl.java:585)
at stages.routing.runtime.RouteRuntimeStep.processMessage(RouteRuntimeStep.java:128)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
at com.bea.wli.sb.pipeline.RouteNode.doRequest(RouteNode.java:106)
at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:67)
at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:214)
at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:96)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:593)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:591)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:590)
at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:383)
at com.bea.wli.sb.transports.local.LocalMessageContext$1.run(LocalMessageContext.java:179)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.security.Security.runAs(Security.java:61)
at com.bea.wli.sb.transports.local.LocalMessageContext.send(LocalMessageContext.java:174)
at com.bea.wli.sb.transports.local.LocalTransportProvider.sendMessageAsync(LocalTransportProvider.java:322)
at sun.reflect.GeneratedMethodAccessor1473.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
at $Proxy116.sendMessageAsync(Unknown Source)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:603)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:538)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:566)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:434)
at com.bea.wli.sb.pipeline.PipelineContextImpl.doDispatch(PipelineContextImpl.java:670)
at com.bea.wli.sb.pipeline.PipelineContextImpl.dispatch(PipelineContextImpl.java:585)
at stages.routing.runtime.RouteRuntimeStep.processMessage(RouteRuntimeStep.java:128)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
at stages.routing.runtime.RouteTableRuntimeStep.processMessage(RouteTableRuntimeStep.java:129)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
at com.bea.wli.sb.pipeline.RouteNode.doRequest(RouteNode.java:106)
at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:67)
at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:214)
at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:96)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:593)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:591)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:590)
at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:332)
at com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:79)
at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:137)
at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:135)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:140)
at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(Unknown Source)
at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
<Feb 25, 2015 6:58:23 PM GMT+05:00> <Error> <JCA_FRAMEWORK_AND_ADAPTER> <BEA-000000> <servicebus:/WSDL/IBPORTALDOMAPP/adapters/OSB/CustomerCreditCardsServiceCTLDB/CustomerCreditCardsService [ CustomerCreditCardsService_ptt::CustomerCreditCardsService(InputParameters,OutputParameters) ] - Rolling back JCA LocalTransaction>
<Feb 25, 2015 6:58:23 PM GMT+05:00> <Error> <JCATransport> <BEA-381967> <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/IBPORTALDOMAPP/adapters/OSB/CustomerCreditCardsServiceCTLDB/CustomerCreditCardsService [ CustomerCreditCardsService_ptt::CustomerCreditCardsService(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CustomerCreditCardsService' failed due to: Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
; nested exception is:
BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
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/IBPORTALDOMAPP/adapters/OSB/CustomerCreditCardsServiceCTLDB/CustomerCreditCardsService [ CustomerCreditCardsService_ptt::CustomerCreditCardsService(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CustomerCreditCardsService' failed due to: Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
; nested exception is:
BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:155)
at com.bea.wli.sb.transports.jca.JCATransportEndpoint.sendRequestResponse(JCATransportEndpoint.java:209)
at com.bea.wli.sb.transports.jca.JCATransportEndpoint.send(JCATransportEndpoint.java:170)
at com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:574)
at sun.reflect.GeneratedMethodAccessor1473.invoke(Unknown Source)
Truncated. see log file for complete stacktrace
Caused By: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/IBPORTALDOMAPP/adapters/OSB/CustomerCreditCardsServiceCTLDB/CustomerCreditCardsService [ CustomerCreditCardsService_ptt::CustomerCreditCardsService(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CustomerCreditCardsService' failed due to: Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
; nested exception is:
BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:258)
at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:150)
at com.bea.wli.sb.transports.jca.JCATransportEndpoint.sendRequestResponse(JCATransportEndpoint.java:209)
at com.bea.wli.sb.transports.jca.JCATransportEndpoint.send(JCATransportEndpoint.java:170)
at com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:574)
Truncated. see log file for complete stacktrace
Caused By: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/IBPORTALDOMAPP/adapters/OSB/CustomerCreditCardsServiceCTLDB/CustomerCreditCardsService [ CustomerCreditCardsService_ptt::CustomerCreditCardsService(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CustomerCreditCardsService' failed due to: Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
; nested exception is:
BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:603)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeOperation(WSIFOperation_JCA.java:365)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:324)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:344)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:256)
Truncated. see log file for complete stacktrace
Caused By: BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
at oracle.tip.adapter.db.sp.oracle.TypeConverter.toString(TypeConverter.java:292)
at oracle.tip.adapter.db.sp.oracle.XMLBuilder.XML(XMLBuilder.java:302)
at oracle.tip.adapter.db.sp.AbstractXMLBuilder.weakRowSet(AbstractXMLBuilder.java:218)
at oracle.tip.adapter.db.sp.AbstractXMLBuilder.DOMRowSet(AbstractXMLBuilder.java:160)
at oracle.tip.adapter.db.sp.oracle.XMLBuilder.DOM(XMLBuilder.java:191)
Truncated. see log file for complete stacktrace
>
<Feb 25, 2015 6:58:23 PM GMT+05:00> <Warning> <ALSB Logging> <BEA-000000> < [CustomerCreditCards_RN, _onErrorHandler-2229530737635136699-5d7bbea6.14955308f67.-7ccb, errStage1, ERROR] [IBPORTALDOMAPP][12431234123413241][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/IBPORTALDOMAPP/adapters/OSB/CustomerCreditCardsServiceCTLDB/CustomerCreditCardsService [ CustomerCreditCardsService_ptt::CustomerCreditCardsService(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CustomerCreditCardsService' failed due to: Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
; nested exception is:
BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
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/IBPORTALDOMAPP/adapters/OSB/CustomerCreditCardsServiceCTLDB/CustomerCreditCardsService [ CustomerCreditCardsService_ptt::CustomerCreditCardsService(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CustomerCreditCardsService' failed due to: Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
; nested exception is:
BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:155)
at com.bea.wli.sb.transports.jca.JCATransportEndpoint.sendRequestResponse(JCATransportEndpoint.java:209)
at com.bea.wli.sb.transports.jca.JCATransportEndpoint.send(JCATransportEndpoint.java:170)
at com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:574)
at sun.reflect.GeneratedMethodAccessor1473.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
at $Proxy132.sendMessageAsync(Unknown Source)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:603)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:538)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:566)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:434)
at com.bea.wli.sb.pipeline.PipelineContextImpl.doDispatch(PipelineContextImpl.java:670)
at com.bea.wli.sb.pipeline.PipelineContextImpl.dispatch(PipelineContextImpl.java:585)
at stages.routing.runtime.RouteRuntimeStep.processMessage(RouteRuntimeStep.java:128)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
at com.bea.wli.sb.pipeline.RouteNode.doRequest(RouteNode.java:106)
at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:67)
at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:214)
at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:96)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:593)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:591)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:590)
at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:383)
at com.bea.wli.sb.transports.local.LocalMessageContext$1.run(LocalMessageContext.java:179)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.security.Security.runAs(Security.java:61)
at com.bea.wli.sb.transports.local.LocalMessageContext.send(LocalMessageContext.java:174)
at com.bea.wli.sb.transports.local.LocalTransportProvider.sendMessageAsync(LocalTransportProvider.java:322)
at sun.reflect.GeneratedMethodAccessor1473.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
at $Proxy116.sendMessageAsync(Unknown Source)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:603)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:538)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:566)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:434)
at com.bea.wli.sb.pipeline.PipelineContextImpl.doDispatch(PipelineContextImpl.java:670)
at com.bea.wli.sb.pipeline.PipelineContextImpl.dispatch(PipelineContextImpl.java:585)
at stages.routing.runtime.RouteRuntimeStep.processMessage(RouteRuntimeStep.java:128)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
at stages.routing.runtime.RouteTableRuntimeStep.processMessage(RouteTableRuntimeStep.java:129)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
at com.bea.wli.sb.pipeline.RouteNode.doRequest(RouteNode.java:106)
at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:67)
at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:214)
at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:96)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:593)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:591)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:590)
at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:332)
at com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:79)
at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:137)
at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:135)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:140)
at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(Unknown Source)
at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/IBPORTALDOMAPP/adapters/OSB/CustomerCreditCardsServiceCTLDB/CustomerCreditCardsService [ CustomerCreditCardsService_ptt::CustomerCreditCardsService(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CustomerCreditCardsService' failed due to: Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
; nested exception is:
BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:258)
at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:150)
... 86 more
Caused by: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/IBPORTALDOMAPP/adapters/OSB/CustomerCreditCardsServiceCTLDB/CustomerCreditCardsService [ CustomerCreditCardsService_ptt::CustomerCreditCardsService(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CustomerCreditCardsService' failed due to: Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
; nested exception is:
BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:603)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeOperation(WSIFOperation_JCA.java:365)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:324)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:344)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:256)
Caused by: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/IBPORTALDOMAPP/adapters/OSB/CustomerCreditCardsServiceCTLDB/CustomerCreditCardsService [ CustomerCreditCardsService_ptt::CustomerCreditCardsService(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CustomerCreditCardsService' failed due to: Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
; nested exception is:
BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:603)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeOperation(WSIFOperation_JCA.java:365)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:324)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:344)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:256)
... 87 more
Caused by: BINDING.JCA-11804
Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
Use a data type with a supported JDBC type.
at oracle.tip.adapter.db.sp.oracle.TypeConverter.toString(TypeConverter.java:292)
at oracle.tip.adapter.db.sp.oracle.XMLBuilder.XML(XMLBuilder.java:302)
at oracle.tip.adapter.db.sp.AbstractXMLBuilder.weakRowSet(AbstractXMLBuilder.java:218)
at oracle.tip.adapter.db.sp.AbstractXMLBuilder.DOMRowSet(AbstractXMLBuilder.java:160)
at oracle.tip.adapter.db.sp.oracle.XMLBuilder.DOM(XMLBuilder.java:191)
at oracle.tip.adapter.db.sp.AbstractXMLBuilder.buildDOM(AbstractXMLBuilder.java:274)
at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:148)
at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1148)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:252)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:498)
... 91 more
] :: Transaction has been timed out as no response was received from host.>
<Feb 25, 2015 6:58:24 PM GMT+05:00> <Warning> <ALSB Statistics Manager> <BEA-473007> <Aggregator did not receive statistics from [osb_server2] for the aggregation performed for tick 39553080.>Maybe this can help - http://www.javamonamour.org/2011/11/osb-and-rejectedmessagehandlers-in-jca.html
-
Reg: PLS-00418: array bind type must match PL/SQL table row type error
I am trying to access a table of records through JDBC OracleCallableStatement. I am able to do it fine for all mappings except for the ones below
TYPE CAT_CD_TYPE IS TABLE OF A.B %TYPE INDEX BY BINARY_INTEGER;
TYPE ORG_CD_TYPE IS TABLE OF C.D %TYPE INDEX BY BINARY_INTEGER;
Column B is CHAR(1) and Column D is CHAR(2). I am trying to register the out parameters of Oraclecallablestatement as
cstmt.registerIndexTableOutParameter(2, 2000, OracleTypes.CHAR, 0);
cstmt.registerIndexTableOutParameter(3, 2000, OracleTypes.CHAR, 0);
All the other mappings work fine. These two fail with the error
SQLException in invokeDBPackage() : ORA-06550: line 1, column 32:
PLS-00418: array bind type must match PL/SQL table row type
ORA-06550: line 1, column 35:
PLS-00418: array bind type must match PL/SQL table row type
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
I tried other OracleTypes mappings too but no luck so far.
Any advice on this would be greatly appreciated.Hi,
I'm not sure it's reasonable to expect someone to sift through that much stuff.
Which parameter is it having a problem with?
Can you modify the following to reproduce the behavior?
Thanks
Greg
create package mypack5 as
TYPE v2array is table of emp.ename%type index by BINARY_INTEGER;
PROCEDURE test_it(thearray IN v2array, numrecs out number);
END;
CREATE or replace PACKAGE BODY MYPACK5 AS
PROCEDURE test_it(thearray IN v2array, numrecs out number)
IS
begin
numrecs := thearray.count;
END;
END;
using System;
using System.Data;
using Oracle.DataAccess.Client;
public class indexby
public static void Main()
OracleConnection con = new OracleConnection("data source=orcl;user id=scott;password=tiger;");
con.Open();
OracleCommand cmd = new OracleCommand("mypack5.test_it", con);
cmd.CommandType = CommandType.StoredProcedure;
OracleParameter Param1 = cmd.Parameters.Add("param1", OracleDbType.Varchar2);
Param1.Direction = ParameterDirection.Input;
Param1.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
Param1.Size = 3;
string[] vals = { "foo", "bar", "baz" };
Param1.Value = vals;
OracleParameter Param2 = cmd.Parameters.Add("param2", OracleDbType.Int32, DBNull.Value, ParameterDirection.Output);
cmd.ExecuteNonQuery();
Console.WriteLine("{0} records passed in", Param2.Value);
con.Close();
} -
How to set the binding type in abap web service
before generating wsdl , anybody know how to change the binding type of wsdl for web service
do u know any sap netweaver transaction coads for changing the binding .
lpconfig tansaction call parameter (logical port) for client proxi is showing like
binding type = http://schemas.xmlsoap.org/soap/http
but it is predefined in some profile can u tell me how to change this
an in my wsdl i am getting
<wsdl:port name="z_add_add_webSoapBinding" binding="tns:z_add_add_webSoapBinding">
this i cant consume from java , in SAP i can consume this web service ,
i want to make my wsdl like as shown bellow
- <wsdl:port name="periodictableSoap" binding="tns:periodictableSoap">
<soap:address location="http://www.webservicex.net/periodictable.asmx" />
</wsdl:port>
- <wsdl:port name="periodictableHttpGet" binding="tns:periodictableHttpGet">
<http:address location="http://www.webservicex.net/periodictable.asmx" />
</wsdl:port>
- <wsdl:port name="periodictableHttpPost" binding="tns:periodictableHttpPost">
<http:address location="http://www.webservicex.net/periodictable.asmx" />
here you can sea httpget and httppost in my wsdl it is not there -
PLS-00418: array bind type must match PL/SQL table row type
If a PL/SQL table is indexed by CHAR and is a parameter
in a Stored Program, we are not able to call the stored
program from the Java code.
We get the following error code.
java.sql.SQLException: ORA-06550: line 1, column 62:
PLS-00418: array bind type must match PL/SQL table row type
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
But if we change the CHAR into VARCHAR2 then it works.
We are using Oracle9i Enterprise Edition Release 9.2.0.5.0 -64bit Production ,
JServer Release 9.2.0.5.0 - Production
and JDK1.4.
Thanks
Push..Hi,
I'm not sure it's reasonable to expect someone to sift through that much stuff.
Which parameter is it having a problem with?
Can you modify the following to reproduce the behavior?
Thanks
Greg
create package mypack5 as
TYPE v2array is table of emp.ename%type index by BINARY_INTEGER;
PROCEDURE test_it(thearray IN v2array, numrecs out number);
END;
CREATE or replace PACKAGE BODY MYPACK5 AS
PROCEDURE test_it(thearray IN v2array, numrecs out number)
IS
begin
numrecs := thearray.count;
END;
END;
using System;
using System.Data;
using Oracle.DataAccess.Client;
public class indexby
public static void Main()
OracleConnection con = new OracleConnection("data source=orcl;user id=scott;password=tiger;");
con.Open();
OracleCommand cmd = new OracleCommand("mypack5.test_it", con);
cmd.CommandType = CommandType.StoredProcedure;
OracleParameter Param1 = cmd.Parameters.Add("param1", OracleDbType.Varchar2);
Param1.Direction = ParameterDirection.Input;
Param1.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
Param1.Size = 3;
string[] vals = { "foo", "bar", "baz" };
Param1.Value = vals;
OracleParameter Param2 = cmd.Parameters.Add("param2", OracleDbType.Int32, DBNull.Value, ParameterDirection.Output);
cmd.ExecuteNonQuery();
Console.WriteLine("{0} records passed in", Param2.Value);
con.Close();
} -
Alter table type from COLUMN to ROW
TABLE type can be changed from ROW to COLUMN (and vice versa) using the ALTER TABLE command .
Lars Breddemann wrote
when considering which data store to choose (which, by the way, can be changed later on as well), you have to take into account:
* will you usually need the complete row (all columns)? If so, row store may be more efficient, as reconstructing the complete row is one of the most expensive column store operations.
* will you need to join the row-store table to a column store table? If so, you should avoid using a different storage type, since using both storage engines in a statement leads to intermediate result set materialization which is another name for bad performance.
* do you want to fill the table with huge amounts of data, that should be aggregated and analysed? If this is the case, the column store is the better option.
As a rule of thumb you may just start with column-store tables and change them to row-store tables when you encounter performance issues.
In general most developers cannot anticipate all important use cases for the tables they design.
This is especially true for living and growing systems.
So, more important than choosing the 'right' storage in the beginning is to monitor the performance and to benchmark the differences when changing the storage engine.
So suppose we have a COLUMN table , but would be requiring to get data from many columns (so would be a very expensive column operation) , would it be advisable to change the table type FROM COLUMN to ROW on the fly . would this be a resource intensive operation if the table has a lot of data ?
Lets suppose , if the above can be done , but there exists a interdependency for the column table (say from another simultaneous operation) , and thus should remain as COLUMN table as such . so what would be the better option in this case .
Creating views is not an option as it seems from the SQL guide , that there was not an option to create a ROW view from a COLUMN table. ?
Edited by: Rajarshi Muhuri on Nov 27, 2011 3:25 AMDear Rajashri,
1. you cann't alter table from column to row using alter command.
but you can achieve this through Stored procedure, just Little bit HSQL coding.
I hope upcoming versions SAP Gives like following SQL statements ( following statemnt not works in HANA works in oralce )
create row table "EFASHION_TUTORIAL"."AAA" as
select
"ARTICLE_COLOR_LOOKUP_ID",
"ARTICLE_ID",
"COLOR_CODE",
"ARTICLE_LABEL",
"COLOR_LABEL",
"CATEGORY",
"SALE_PRICE",
"FAMILY_NAME",
"FAMILY_CODE"
from "EFASHION_TUTORIAL"."ARTICLE_COLOR_LOOKUP";
2. Row & column table two different purpose like OLTP & OLAP.
when you think about OLAP means modeling use Column.
when you think about OLTP means real time operations then use Row
Column table is high compress ( 5 - 20X), i don't think you want get any performance issue when read information from column table. that is actual Core engine reading parller process. ( that is Heart of HANA).
Column table purpose quite different like calculations, grouping.. most of DW environment Queires.
Row table is currently system tables in feature row tables as OLTP, it's less compress mode compress to column store.
so finally you write small program convert column to row and row to column
thanks
Rao -
Propery Binding exception when bound to data received from the web socket
Hi,
I am getting the following exception when I try to bind my properties to the data received from the MessageWebSocket. Works fine when the data is received from the normal StreamSocket.
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in System.dll
at System.StubHelpers.EventArgsMarshaler.CreateNativePCEventArgsInstance(String name)
at System.Runtime.InteropServices.WindowsRuntime.PropertyChangedEventArgsMarshaler.ConvertToNative(PropertyChangedEventArgs managedArgs)
at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
at WinStoreApp.Common.BindableBase.OnPropertyChanged(String propertyName)
at WinStoreApp.Common.BindableBase.SetProperty[T](T& storage, T value, String propertyName)
at WinStoreApp.DataModel.Model.StockItem.set_BidVol(String value)
at WinStoreApp.Core.FIDValueMapper.PopulateFIDValue(Int32 fid, String value, StockItem stockItem)
at WinStoreApp.Core.StockFeedReceiver.<ProcessData>d__20.MoveNext()
Code snippet of message received:
static async void _websocket_MessageReceived(MessageWebSocket sender, MessageWebSocketMessageReceivedEventArgs args)
try
using (var reader = args.GetDataReader())
reader.UnicodeEncoding = Windows.Storage.Streams.UnicodeEncoding.Utf8;
string message = reader.ReadString(reader.UnconsumedBufferLength);
await myObj.Message = message; // Exception here
catch (Exception ex)
Please let me know what may the problem.Hi,
According to your description, I think you can received message from server by using
MessageWebSocket class, but the data you received may not be right. I see the document in the link below:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.networking.sockets.aspx
In the document above indicates:
StreamSocket class is a stream socket to use for incoming or outgoing network communication over TCP
MessageWebSocket is a message-based WebSocket.
If the server send the data based on stream format, the
MessageWebSocket class may not received the right data.
You can use StreamWebSocket
to see whether the problem occur. And you should give us more information and upload a test project to OneDrive so that we can test it.
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey. -
I live in Chile and would like to watch movies from my MacBook to my JVC HD Television.. What cables do I need to purchase to do this?
You'll need a Mini-DVI adapter for the MacBook 4,1 and the iMac 8,1 and a cable from that to your TV. Here's the various types of Mini-DVI adapters on Amazon.com http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=min i-dvi&x=9&y=13
(Composite is the red, white and yellow RCA plugs on your TV or red, white and S-Video plugs.)
You'll also need audio cables to the TV using a 3.5mm stereo headphone jack to RCA sound plugs or a 3.5mm stereo input plug for audio with the Composite. You attach it from the headphone jack of your MacBook to the appropriate audio input plugs on your TV.
If you connect the MacBook using a Mini-DVI to HDMI adapter you will probably need to use external speakers or a 3.5mm stereo headphone jack to RCA sound plugs connected to a stereo system for audio if your TV doesn't have separate RCA input plugs or a 3.5mm stereo input plug for audio with the HDMI plug. The Mini-DVI to HDMI doesn't carry audio and there're no audio plugs on most TVs to work with HDMI since it's expecting audio with the HDMI. -
The first sender in a conversation can be irrelevant after a conversation grows long and I'm more interested in who's active more recently than whoever started the conversation/thread.
@duggabe, Not actually. That would just sort "threads/conversations" by date. The From column would continue to show the first sender for each thread/conversation.
Maybe you are looking for
-
How do i search for a specific email in mail.
I would like to know how do i search my inbox for an email that was sent more than a week ago. There is no search optin, or a "sort by" option as in mails on an i-Mac.
-
How to Supress 'Not Assgined' in the Report for a char
Hi, The BI Version i am working is 7.0. WHat are the settings i have to make in Query for the below requirment. The Characterstic Value in report should be blank if no value is assiged to it....right now it is displaying as 'NOT ASSIGNED' my requirme
-
how to protect the paragraph breaks in SF(like protect endprotect in scripts)? how to set the pagebreaks in SF?
-
Hi, I have a project full of photos and I want to put up a before and after correction web gallery. I have made my corrected pictures the pick of the stack. I then bring the stack into my web gallery, but when I de stack them I get the result I need
-
250MB expires in 30 days?
So if I sign up for the 250 data package and I do not use the entire 250 within the 30 days does it go bye bye? And I say do not renew monthly. And along with that if I sign up for the repeating subscription and I dont use all my data does it add ano