Creating Abstract datatypes from Create Type As Object

hi.
I am define new type abstract datatypes as
create type cust_address_ty as object
(STREET VARCHAR2(25),
CITY VARCHAR2(25),
COUNTRY VARCHAR2(25));
then insert data into new created table
when we run sql select command for * from
following error occured.
SQL> select * from fml.cust;
select * from fml.cust
ERROR at line 1:
ORA-01024: invalid datatype in OCI call
what should i do for this.
please help
thanks
Ali

try to update your sqlnet version.
regards
daniel

Similar Messages

  • How to Create Abstract WSDL from Concrete WSD

    Hello Everyone,
    I want to create abstract wsdl from concrete wsdl and place that abstract wsdl in the MDS Location. Now, In the composite i would be configuring the reference section where for ui:wsdlLocation value, i need to give the path of abstract wsdl in mds location. binding.ws location would be the actual concrete wsdl...So basically, all iwant to achieve is lets say CompositeA is calling CompositeB. I want to create abstract WSDL for CompositeB and keep that Abstract WSDL in MDS location, and use that ABstract WSDL which is in MDS location while configuring the Web Service Adapter in Composite A.
    can anyone help me on this ,
    Thanks in advance

    Here is my concrete WSDL...
    <wsdl:definitions name="BPELProcess3" targetNamespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3">
    <wsdl:documentation>
    <abstractWSDL>http://192.168.1.106:8001/soa-infra/services/Enterprise/simpleResponse!1.0/BPELProcess3.wsdl</abstractWSDL>
    </wsdl:documentation>
    <plnk:partnerLinkType name="BPELProcess3">
    <plnk:role name="BPELProcess3Provider">
    <plnk:portType name="client:BPELProcess3"/>
    </plnk:role>
    </plnk:partnerLinkType>
    <wsdl:types>
    <schema>
    <import namespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3" schemaLocation="http://192.168.1.106:8001/soa-infra/services/Enterprise/simpleResponse/bpelprocess3_client_ep?XSD=xsd/BPELProcess3.xsd"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="BPELProcess3RequestMessage">
    <wsdl:part name="payload" element="client:process"/>
    </wsdl:message>
    <wsdl:message name="BPELProcess3ResponseMessage">
    <wsdl:part name="payload" element="client:processResponse"/>
    </wsdl:message>
    <wsdl:portType name="BPELProcess3">
    <wsdl:operation name="process">
    <wsdl:input message="client:BPELProcess3RequestMessage"/>
    <wsdl:output message="client:BPELProcess3ResponseMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="BPELProcess3Binding" type="client:BPELProcess3">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="process">
    <soap:operation style="document" soapAction="process"/>
    <wsdl:input>
    <soap:body use="literal" namespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" namespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="bpelprocess3_client_ep">
    <wsdl:port name="BPELProcess3_pt" binding="client:BPELProcess3Binding">
    <soap:address location="http://192.168.1.106:8001/soa-infra/services/Enterprise/simpleResponse/bpelprocess3_client_ep"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    So in order to create the abstract wsdl, i just need to remove the bindings tab from this one ? please let me on this,
    Thanks.

  • Log warning "Link from unexpected type of object" ("Possible path leak, unable to purge elements of base")

    Hey,
    I'm getting the following warning after closing my LabVIEW application (see also LabVIEW code snippet attached).
    Can you help me figure out if this may be relevant?
    I don't experience anything unexpected, also no leaking of memory.
    Thanks,
    Peter
    #Date: Mo, 11. Nov 2013 15:14:42
    #OSName: Windows 7 Enterprise Service Pack 1
    #OSVers: 6.1
    #OSBuild: 7601
    #AppName: LabVIEW
    #Version: 12.0 32-bit
    #AppKind: FDS
    #AppModDate: 06/26/2012 19:23 GMT
    #LabVIEW Base Address: 0x00400000
    Processing 1230000708 link to [LinkIdentity "ProcessTaskWrapper.lvclass:" [ Mein Computer]
    <DEBUG_OUTPUT>
    11.11.2013 15:15:35.726
    DWarn 0xC1CF3BB8: Link from unexpected type of object {HeapClass=BDHP,UID=5401,DPId=23,o=0x0de33558} in VI [VI "ProcessPool.lvclass:configure.vi" (0x11646770)]
    e:\builds\penguin\labview\branches\2012\dev\source\linker\HeapLinker.cpp(2852) : DWarn 0xC1CF3BB8: Link from unexpected type of object {HeapClass=BDHP,UID=5401,DPId=23,o=0x0de33558} in VI [VI "ProcessPool.lvclass:configure.vi" (0x11646770)]
    minidump id: 236443a2-84d3-403e-a24a-fb72dd7ff65d
    $Id: //labview/branches/2012/dev/source/linker/HeapLinker.cpp#12 $
    </DEBUG_OUTPUT>
    0x0069DDF3 - LabVIEW <unknown> + 0
    0x10016460 - mgcore_SH_12_0 <unknown> + 0
    0x013E32A5 - LabVIEW <unknown> + 0
    0x00EBECFC - LabVIEW <unknown> + 0
    0x01060FD1 - LabVIEW <unknown> + 0
    0x0106112D - LabVIEW <unknown> + 0
    0x0106A5C9 - LabVIEW <unknown> + 0
    0x0106B6D1 - LabVIEW <unknown> + 0
    0x005C28D3 - LabVIEW <unknown> + 0
    0x005C03FC - LabVIEW <unknown> + 0
    0x005C1BCB - LabVIEW <unknown> + 0
    0x005C20AE - LabVIEW <unknown> + 0
    0x006495BC - LabVIEW <unknown> + 0
    0x009ECF0E - LabVIEW <unknown> + 0
    0x01CC57D4 - LabVIEW <unknown> + 0
    0x01CC5964 - LabVIEW <unknown> + 0
    0x006513E3 - LabVIEW <unknown> + 0
    0x00657C9D - LabVIEW <unknown> + 0
    0x00B87A67 - LabVIEW <unknown> + 0
    0x00B8C606 - LabVIEW <unknown> + 0
    0x00B8DA6D - LabVIEW <unknown> + 0
    0x014A90C2 - LabVIEW <unknown> + 0
    0x014ABA3C - LabVIEW <unknown> + 0
    0x014ADA42 - LabVIEW <unknown> + 0
    0x01B4BE87 - LabVIEW <unknown> + 0
    0x01BF99C5 - LabVIEW <unknown> + 0
    0x01B5DBFC - LabVIEW <unknown> + 0
    0x761D62FA - USER32 <unknown> + 0
    0x761D6D3A - USER32 <unknown> + 0
    0x761D77C4 - USER32 <unknown> + 0
    0x761D788A - USER32 <unknown> + 0
    0x01BF9C4D - LabVIEW <unknown> + 0
    0x01BFA0C7 - LabVIEW <unknown> + 0
    0x042F14D6 - QtManager452_2012 <unknown> + 0
    0x670E7261 - NIQtCore_2012 <unknown> + 0
    0x00000000 - <unknown> <unknown> + 0
    Possible path leak, unable to purge elements of base #0
    Attachments:
    2013-11-11_153125.jpg ‏48 KB

    Hello Peter,
    as you can imagine, it is difficult for us to interpret an error message without a certain amount of information.
    Even more, when you cannot reproduce it yourself every time.
    And, on a side note, we as Application Engineers do not know how exactly the compiler works.
    This could be something for the developers, but: to escalate an issue to the developers, there are some requirements.
    - we have to know exactly when and how the error occurs, i.e. the exact steps which have to be done, so you can force the error to show up
    - exact OS, LabVIEW version, all NI Software which is installed
    - what is the application
    - what has been done as troubleshooting actions, can the issue be avoided somehow
    - we would need your VI or project, or at least a minimal version of them, which can produce the error message
    - one of us should be able to reproduce the procedure and get the same error
    I am sorry, but at this point, it seems like I cannot do much for you in this topic.
    Have a nice day,
    Best regards
    PS: one more question:
    is this even a message from LabVIEW? For me, it seems like a Windows crash report - which we can not fully support.
    Christopher W.
    Intern Application Engineering | NI Certified LabVIEW Associate Developer (CLAD) | NI Germany

  • Create Abstract List from Node contains repeat of last node element

    My custom controller is giving me fits.
    I have a structure (Empl_Pernr) in my model that needs to be part of the input before calling a second BAPI.  The source of this input is the output of another BAPI - thus a structure.  The structure that is input is found in wdContext.node<NODENAME> contains 5 distinct entries.  When I run the following code the abstract list created is 5 long but only contains the LAST element in the node I was "unloading".
    AbstractList emplList = new Zhr_Empl_Pernr.Zhr_Empl_Pernr_List();
    Zhr_Empl_Pernr emplItem = new Zhr_Empl_Pernr();
    for(int i = 0; i < wdContext.node<NODENAME>().size(); i++)
    emplItem.setLastName(wdContext.node<NODENAME>().getOrg_OutElementAt(i).getLastName());
    emplItem.setPersNo(wdContext.node<NODENAME>().getOrg_OutElementAt(i).getPersNo());
    emplList.add(i,emplItem);
    inputMangHours.setEmpl_Pernr(emplList);
    INPUT
    Last name  PersNo
    Last1      02600174
    Last2      02600176
    Last3      02600265
    Last4      02600266
    Last5      02600268
    OUTPUT
    Last name  PersNo
    Last5      02600268
    Last5      02600268
    Last5      02600268
    Last5      02600268
    Last5      02600268
    What did I miss?

    Diane,
    You are not creating the object inside the loop. You are just changing the same object again and again. Because of object references its updating all previous entries. Simple to say you are adding same element 5 times.
    Change the code this way...
    AbstractList emplList = new Zhr_Empl_Pernr.Zhr_Empl_Pernr_List();
    Zhr_Empl_Pernr = null;
    for(int i = 0; i < wdContext.node<NODENAME>().size(); i++)
    emplItem = new Zhr_Empl_Pernr();
    emplItem.setLastName(wdContext.node<NODENAME>().getOrg_OutElementAt(i).getLastName());
    emplItem.setPersNo(wdContext.node<NODENAME>().getOrg_OutElementAt(i).getPersNo());
    emplList.add(i,emplItem);
    Regards
    Abhilash

  • Best practice to create order extract from CRM to Business Objects

    Is there a "best practice" to extract orders created/changed on a daily basis to Business Objects.  We have considered trying to use the standard CRM BI extractors, but we are not sure this is possible without actually running a SAP BI system.  Is there a way to extract data already captured in the BDOCs. 
    Any assistance would be appreciated.

    Is there a "best practice" to extract orders created/changed on a daily basis to Business Objects.  We have considered trying to use the standard CRM BI extractors, but we are not sure this is possible without actually running a SAP BI system.  Is there a way to extract data already captured in the BDOCs. 
    Any assistance would be appreciated.

  • ORA-00904: invalid column name in select query by using abstract datatype

    Hi,
    I had created abstract datatype as PERSON_TY and ADDRESS_TY ,
    after inserting the record . i'm tryng to select the column but i got the error , even i refferd all those thing. they are given that same please look this finde me a result.
    SQL> DESC PERSON_TY
    Name Null? Type
    NAME VARCHAR2(25)
    ADDRESS ADDRESS_TY
    SQL> DESC ADDRESS_TY
    Name Null? Type
    STREET VARCHAR2(30)
    CITY VARCHAR2(25)
    STATE CHAR(2)
    COUNTRY VARCHAR2(15)
    SQL> SELECT * FROM EMPLOYE
    2 ;
    EMP_CODE
    PERSON(NAME, ADDRESS(STREET, CITY, STATE, COUNTRY))
    10
    PERSON_TY('VENKAT', ADDRESS_TY('112: BLUE MOUNT', 'CHENNAI', 'TN', 'INDIA'))
    20
    PERSON_TY('SRINI', ADDRESS_TY('144: GREEN GARDEN', 'THAMBARAM', 'TN', 'INDIA'))
    SQL> SELECT PERSON.NAME FROM EMPLOYE
    2 ;
    SELECT PERSON.NAME FROM EMPLOYE
    ERROR at line 1:
    ORA-00904: invalid column name
    regards
    venki

    SELECT PERSON.NAME FROM EMPLOYEIf you look in the documentation, you will see that we need to alias the table in order to make this work:
    select e.person.name from employees e
    /Cheers, APC
    Blog : http://radiofreetooting.blogspot.com

  • How to create multiple TYPES of objects from one menu?

    Q: How can I create a single class to create objects of multiple 'object classes' in a way that is not a huge switch statement?
    Explaination:
    Let's say that I have an application that I am building, that manages five hundred object types. A properly-built object subclassing tree is created, and I want to be able to create objects of any 'leaf node' of this subclassing tree using a single 'objectCreate()' method in a 'factory object'. The purpos of this method will be to create an instance of the correct object, pass a handle to a few collections for properly sorting and storing these objects in groups.
    Usually, one could create a switch in this function, testing for the type of object that the user wants to create from the menu. But in the case of having hundreds of possible object choices, this becomes harder and harder code to maintain (let alone performance).
    Any suggestions?

    But if my menu has:
    1. German Shepard
    2. Doberman Pinscher
    3. Malamut
    4. Persian Long-hair
    5. Siamese
    6. Tabby
    And my object class tree goes:
                                  [ Animal ]
                 [ Cat ]                              [ Dog ]
      [ various breeds ]                         [ various breeds ]How do I code the menu class to respond to the input, so that it runs the correct [breed] object's constructor?
    The line:
    Animal choice = new xxxxxxxx();
    I can't use a variable to replace 'xxxxxxxx' in run-time, but having a ton of choices in code sounds/looks unreasonable.
    if (choice == "Doberman Pinscher")
    Animal choice = new doberman();
    else if (choice == "Tabby")
    Animal choice = new tabby();
    Do you see what I am trying to avoid? I am not experienced enough to instantly realize how to avoid the latter, and instead, do a single instantiation command for the correct constructor.

  • Create view from user type

    I need to create an "empty" view which would select from an user type. Is it possible?
    I have:
    create or replace TYPE my_type as object
    my_col varchar2(13)
    create or replace type my_type_array as table of my_type;
    And I need something like:
    create view my_view as select my_col from my_type_array where 1=2
    I'm not selecting anything I just need an view to read names and types of my_type_array fields. Is it possible?

    If you just want to see the name and datatypes of your types attributes, just:
    SQL> select attr_name
      2  from DBA_TYPE_ATTRS
      3  where type_name = 'MY_TYPE';
    ATTR_NAME
    MY_COL
    1 row selected.

  • Assign meter that already created from PM to rental object

    Dear Expert,
    Please kindly advice on how to assign the meter that already created (already has the measuring point ) into pooled space or rental object.
    When I use REBDRO --> Meter Tab
    the transaction allows only creation of new measuring point , Field Measuring Point is disable and allow to assign internally from the system
    Best regards,
    Tima

    Hi Tima,
                I dont think it is possible to assign the measuring point already created to RE Objects. As, if we go to transaction IK01 we select the Measuring point object as "IME" and then select the object type and ID. If we use any other measuring point object we dont have the option to enter the Rental object type and rental object ID to create the measuring point. So any measuring point created with any other Measuring point object cant be attached to the rental objects.
    Even if we directly create measuring point from rental object, the object is created with "IME" Measuring point object.
    Regards,
    Deepak M

  • How to create a new 'id and type rect' in _edge.js from your stage in javascript

    how to create a new 'id and type rect' in _edge.js from your stage in javaScript

    _edge.js is an object file their is any way to create ?
    if i run this script "alert(Stage);" in creationComplete
    i will get
    i have little idea on object example
    var obj = {car: "honda city"};
    obj.bikes = {model: "suzuki"};
    alert(obj.bikes.model);
    Anyway thank u vivekuma for ur kind reply!

  • How to create a new user without any sample objects from any other user?

    Question as the title.
    I had the example dababase installed when I installed the Oracle database.
    Every time, when I create a new user, there will be some example objects coming
    with the new user.
    How can I remove these objects from the new user?
    Or, how can I create a new user without the example objects?
    Thanks in advance.

    I think the easiest way for you would be to use OEM.
    Just locate each object that you want to remove and right click->remove. Don't bother doing this for any indexes as these will be removed when you drop the corresponding tables.
    If you want to try command line through sqlplus then identify the objects you want to remove by selecting from the user_objects view while logged in as this user. This will give you the name and type of object. Then issue the relevant drop command.
    It's probably worth making sure you have a valid backup first, just in case things go wrong!

  • Create Type as Object not working in linux oracle 11g

    Pleae refer to the following simple create type as object statement.
    CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER)
    It is working in oracle 11g and windows server 2008 environment.
    But it is not working in oracle 11g with linux environment.
    I am executing this statement as dynamic sql as follows
    CREATE OR REPLACE PROCEDURE TEMP_SP
    AS
    BEGIN
    DECLARE vcType VARCHAR2(30);
    BEGIN
    SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
    WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
    COMMIT;
    RETURN;
    END;
    END;
    exec TEMP_SP
    please let me know what i am missing ?

    And error is:ORA-00600: internal error code, arguments: [kothc_uc_md5:lxerr], [], [], [], [], [], [], [], [], [], [], []
    ORA-06512: at "ATIPAGENT.TEMP_SP", line 10
    ORA-01403: no data found
    ORA-06512: at line 1
    ..Query:exec TEMP_SP...Previous Query:CREATE OR REPLACE PROCEDURE TEMP_SP AS BEGIN DECLARE vcType VARCHAR2(30); BEGIN
    SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
    WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE'; EXCEPTION WHEN NO_DATA_FOUND THEN
    EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
    COMMIT;
    RETURN;
    END;
    END;

  • "Create Simple document" from other objects

    Scenario: Creating a document using option "Create Simple document" from other objects
    I have created a document type and defined the object link for Functional Location with option "create simple document"
    When clicking on create icon on the additional data tab on IL02 screen, The system asks for the document type and then the file to be uploaded.
    The document type that i have defined has the Description filed as mandatory field and hence i am not able to create the document.
    However, for the Document type when i set the description field as not mandatory the system creates DIR. But this DIR has no description.
    Please let me know if there is a BADI, using which i could set the Functional location name as the description OR if there is some enhancement by which the user is asked to enter the description when creating the document.
    Warm Regards,
    Vivek Mohankumar

    Hi Vivek,
    After my tests I would like to inform you that this is                  
    the standard system behavior as the document description field is       
    maintained as mandatory in transaction DC10. Please note that for the   
    simple creation of documents this should not be set as a mandatory      
    field.                                                                               
    The creation mode can be defined in transaction DC10 for each object    
    under 'Define object links'.                                                                               
    Please note that the value "1" for the creation of documents is used    
    to enable a user to simple attache a word file to an object             
    without going to the transaction CV01n. Therefore the system behaviour  
    is different then creating a document by CV01n and attaching a          
    file to it. With simple creation mode there should not be any           
    mandatory fields as the user cannot enter anything during the creation  
    process.                                                                               
    However, you can change the behaviour how the document is created by    
    MM02 transaction if you change the customizing in transaction DC10      
    like this:                                                                               
    If you maintain the value "2" for creation of documents, the user is    
    put to transaction CV01n and then the description can be entered. So    
    maybe this would solve the issue.  
    Regarding a useful BADI I can only recommned you to test BADI DOCUMENT_OBJ1,
    DOCUMENT_OBJ2 or DOCUMENT_MAIN01 for fill the description field.
    I hope this information could be useful for you and help to avoid the   
    mentioned error message.                                                                               
    Best regards,
    Christoph

  • Generics to let user choose what type of object to create

    How can I do that? I mean, using JOptionPane I can get user input in a way like:
    String str = JOptionPane.showInputDialog("Enter a type of object you want to create");
    And assuming that I have generic class Box<T>, how can I assign the type that I got from user to T?
    As far as I know T doesn't exist at run time (thanks to erasure), but is there any way to do something similar to what I described?
    Thank you.

    You can do this with reflection.
    String clsName = "java.util.Date";
    Object obj = Class.forName(clsName).newInstance();
    System.out.println(obj);

  • I have error while testing the system created from a sap business objects template in SAP portal

    I have error while testing the system created from a sap business objects template in SAP portal. Error text:
    com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection. Connection Failed: A nested exception occurred. Could not initialize physical connection. Connection Failed: A nested exception occurred. Could not create JCO connection. 'mshost' missing
    I configure integration SAP portal and SAP BW system. All system requirements are complied.
    Environment
    SAP Business Objects 4.0
    SAP BW 7.31
    1.     I configure SSSO between SAP BW and SAP Business Objects Enterprise 4.0
    2.     Next I setting integration SAP PORTAL with SAP BW system
    3.     I download certificate from portal. Select Certificates and key (http://sapserver:port/nwa) – See scren_
    4.     In next window selected Ticketkeystore and Saplogonticketpair-cert( near part window form)
    5. Select Export entry button and binary format file certificate for download. Press download.
    6.     Save certificate file in local PC folder
    In next step need export certificate file to SAP system. Sequence of step:
    1.       Run STRUSTSS02 transaction .
    2.       Chose certificate ->import.
    3.       Select downloaded certificate file
    4.       Select Add to certificate list button and Add to ACL button
    5.       Inter System ID and Client(000)
    6.       In next I download iview sap business objects template into sap portal: System administration->transport->Import. And select and download sap business Objects iview template in .epa format into sap portal.
    7.       Result – downloaded iview.
    8.       In next step I create system from template. System administration->system landscape.
    9. In next step I input parameters for my system in Connector category, Sap business objects and user management categories: See screen _2
    10.   When I created the system and test the connection error occurred: See screen_3
    This issue is important enough. I would be grateful for opinions and ideas. Thanks in advance.

    Did you find a solution?

Maybe you are looking for