SQL Developer 2.1: Problem exporting and importing unit tests

Hi,
I have created several unit tests on functions that are within packages. I wanted to export these from one unit test repository into another repository on a different database. The export and import work fine, but when running the tests on the imported version, there are lots of ORA-06550 errors. When debugging this, the function name is missing in the call, i.e. it is attempting <SCHEMA>.<PACKAGE> (parameters) instead of <SCHEMA>.<PACKAGE>.<FUNCTION> (parameters).
Looking in the unit test repository itself, it appears that the OBJECT_CALL column in the UT_TEST table is null - if I populate this with the name of the function, then everything works fine. Therefore, this seems to be a bug with export and import, and it is not including this in the XML. The same problem happens whether I export a single unit test or a suite of tests. Can you please confirm whether this is a bug or whether I am doing something wrong?
Thanks,
Pierre.

Hi Pierre,
Thanks for pointing this out. Unfortunately, it is a bug on our side and you have found the (ugly) "work-around".
Bug 9236694 - 2.1: OTN: UT_TEST.OBJECT_CALL COLUMN NOT EXPORTED/IMPORTED
Brian Jeffries
SQL Developer Team

Similar Messages

  • Language Problem while exporting and importing data

    hi,
    I have Oracle version 8.1.7.0.0 installed on one server and 9.2.0.1.0 installed on new server.
    I'm copying and pasting my version info from SQL*Plus:
    SQL*Plus: Release 8.1.7.0.0 - Production on Mon Aug 22 10:46:31 2005
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    SQL>
    SQL*Plus: Release 9.2.0.1.0 - Production on Mon Aug 22 12:30:06 2005
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL>
    I created new user on my new server from enterprise manager.
    Exported user from the old server and imported in the new server.
    i.e: from Oracle8i Enterprise Edition Release 8.1.7.0.0, I did
    c:\>exp system/manager file=abc.dmp owner=abc
    Then on the new server Release 9.2.0.1.0, I did
    c:\>imp system/manager file=abc.dmp fromuser=abc touser=abc
    I'm using Arabic Language on my both servers. NLS_LANG parameter on both the servers is AMERICAN_AMERICA.WE8MSWIN1252.
    On both the servers I'm able to insert and select data in arabic.
    However, after I export the data from old server to the new server, the arabic data comes in question marks.
    If I create new table and insert arabic data on new server's user abc it is displaying well. Only the data which I exported and imported is not showing arabic.
    On both old and new servers operating system is Windows XP.
    I'm stuck with this problem. Anybody having any idea about how to solve this problem please help.
    Thank you all in advance.
    Regards

    Let me be clear here. Storing Arabic data in a WE8MSWIN1252 database is not supported by Oracle and will lead to problems. You are incorrectly using the NLS_LANG to prevent proper conversion and your data appears to be okay when you use utilties like SQL*PLUS to view your data. When you write applications that don't rely on the NLS_LANG like JDBC thin driver for instance you will realize your data is in fact invalid. To learn more about the NLS_LANG you can take a look at this FAQ: http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    To migrate your database to a proper character set you can refer to this paper:
    http://www.oracle.com/technology/tech/globalization/pdf/mwp.pdf
    But please do not ask for help in supporting your current configuration in this forum.

  • Export and import problems

    i have 2 major problems importing my application from htmldb.oracle.com to my serevr at home.
    1.
    i export my application and thems from htmldb.oracle.com.
    when i opened the sql export file i saw that all hebrew chracters was "jibrish".
    how can i export my application with hebrew fonts ?
    2. i tried to export and import xml data (my tables data).
    the export xml file showing me the hewbrew data but when i import it to my tables it gets ????????? instead of hebrew.
    i think it's the nls lang but i don't know what nls land i need and where to change it
    (database ,enviroment....)
    can someone help me with this problems ?
    thanks
    p.s
    my db is 10.1.0.3
    red hat linux as 4 on vmware 4.5
    my nls parameters:
    nls_language: american
    nls_territory: america
    nls_characterset: we8iso8859p1
    nls_nchar_charcterset: al16utf16
    thanks

    Zvika,
    I have two options that may work for you. First, define the fields that have Hebrew characters using the CHAR qualifier. Example, varchar2(30 char). That allows you to store double byte characters from other languages, and overrides the nls_length_semantics (byte default) parameter.
    Or, you could set the nls_length_semantics to default to char. It definitely uses more space when the char qualifier is used, so it's probably best to override the byte default only when necessary.
    Hope that helps!
    Also, I posted the 'Blogging Tool for HTMLDB' question with the username 'aufan89', which I had to change because my email changed.
    So my new username is now 'aufan1989'. I look forward to your email when you get your app fixed and posted onto HTMLDB Studio!
    Thanks!

  • Export and Import of Application problem

    Hi,
    I had my application developed in Windows environment. First time i had full application export and import on Solaris box. The application was successfully installed on Solaris box and i could login into application. The login process was working but all of my queries/reports were not displaying any values. All i can see is number of rows retrieved for example 1-20 etc. I repeated the export/import 3-4 times but results were same.
    On Solaris box i opened one of the reports and started playing with it. Luckily on "Reports Attribute" tab i unchecked/checked the show column checkbox. The report started working. Likewise i did for other reports. Just to verify this i repeated the Export/import of application and unchecked/checked the show column and reports started working. I repeated it at least 3 times.
    Our application is going to expand everyday and on every import we cannot repeat this step for every report.
    Please let me know what steps are missing in Import or are they any manual Post-Import steps ?
    Regards
    Hamayun

    Hi Scott,
    Today i applied the patch and now its 1.6.1.02. After applying the patch i imported application once again.
    I was able to login into application. When i executed a report the system navigated to required tab but did not show any data. Then i performed following steps:
    1.Selected Edit page(xx).
    2.Selected region in the selected page.
    3.Select Report Attributes tab from region.
    4.In Report Column Attributes section the "Show" option was Checked for all the columns which i want to display.
    5. i unchecked only ONE COLUMN and CHECKED again the same column. This was done just to apply changes to report.
    6. Clicked on Apply Changes to save the changes.
    7. Executed the application and the report started working.
    8. Likewise i repeated step 5 for all reports in the application.
    I also tried another option.
    -navigated to Reports Attribute tab and made a change just to save the changes on tab. After saving the page the report started working.
    Your help is greatly appreciated.
    Regards,
    Hamayun

  • Export and import problem

    hi i am having a test database 9i(9.2.0.1) on windows xp.i want to export a table from test database to development database which is 9i(9.2.0.6) on IBM AIX 5.2. till now i am able to export and import but suddenly i am getting 'TABLESPACE <tablespace name? doesn't exist' error.
    the following is what i am getting
    D:\>imp file=news.dmp fromuser='COUNTER' touser='IBT' tables='NEWS_MASTER'
    Import: Release 9.2.0.1.0 - Production on Sat Oct 6 17:06:00 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Username: system@dev
    Password:
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining o
    tions
    JServer Release 9.2.0.6.0 - Production
    Export file created by EXPORT:V09.02.00 via conventional path
    Warning: the objects were exported by COUNTER, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses US7ASCII character set (possible charset conversion)
    . importing COUNTER's objects into IBT
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE TABLE "NEWS_MASTER" ("NEWS_DATE" DATE NOT NULL ENABLE, "SUBJECT" VAR"
    "CHAR2(75) NOT NULL ENABLE, "DESCRIPTION" VARCHAR2(300) NOT NULL ENABLE, "PH"
    "OTO" BLOB, "REG_NO" NUMBER(5, 0), "SYSTEM_IP" VARCHAR2(15) NOT NULL ENABLE)"
    " PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREEL"
    "ISTS 1 FREELIST GROUPS 1) TABLESPACE "TESTTBS" LOGGING NOCOMPRESS LOB ("PHO"
    "TO") STORE AS (TABLESPACE "TESTTBS" ENABLE STORAGE IN ROW CHUNK 8192 PCTVE"
    "RSION 10 NOCACHE STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1))"
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'TESTTBS' does not exist
    Import terminated successfully with warnings.
    help me i want to know what happend actually?and what may be the solution?
    thanks in advance

    tablespace TESTTBS doesn't exist in the database where your are importing.
    Either create tablespace in target database or
    use show=y option while importing to get table structure and create manually in target database then import and give ignore=y.

  • Exporting and importing just table definitions

    Hi,
    I have this production database that has a huge amount of data in it. I was asked to set up a test database based on the exact same schema as the live database. When I tried to do an export (from live) and import (to test), with the parameters rows=N and compress=y, the target (test database) data file will still grow enormously, presumably because of the huge number of extents already allocated to the table in the live database. My test database of course, has a limited hard-disk space.
    Is there a way to export and import the table definitions without having the target database experiencing a huge growth in the size of the tablespace?
    Thanks,
    Chris.

    If an export with compress=n is still creating initial extents that a too large, you can still build with the import file but it will take a little work.
    run imp with indexfile=somefile.sql
    when imp is finished, edit somefile.sql by:
    1. remove all the REM statements.
    2. remove all the storage clauses (tables and indexes)
    Make sure your tablespaces have a small (say 1k) default initial extent.
    run imp again with rows=n
    All your tables and indexes will be created with the default tablespace initial extent.

  • DHCP Server does not work after Exporting and Importing Using Netsh Command

    Hello Friends :
    I had two dhcp servers in windows server 2003 server , I have upgraded one of them to windows server 2008 32 bit and again i installed a windows server 2008 R2 as an additional Domain Controller , the last scenario was like this :
    srv-1 : windows server 2003 + DHCP = working with no problem
    srv-2 : windows server 2003 + DC + DHCP = Worked without problem
    srv-3 : windows server 2008 R2 + DC = worked without any problems
    I exported the DHCP server configuration on the srv-2 using netsh dhcp server export and Imported them to srv-3 using the
    netsh dhcp server import command , the command completed successfully and i can see all of the scopes without any problems and errors , i have authorized the new server without any problem , all scopes are activated without any problem so i
    disabled the srv-2 DHCP service and unauthorized it from active directory , the problem is that the new server semms that does not lease any address to clients !!!
    1- I have authorized it
    2- I used Rogue Checker tool in client computers they see authorized server without any problems
    3- The same tool in workgroup only shows srv-1 as the DHCP server and does not see other DHCP servers
    4- Bindings are OK and DHCP servers only have one NIC installed on them
    What can i do to make sure my srv-3 DHCP server will work on the network ?
    thanks ...
    MIMO

    Are the clients on another network so you need to configure a DHCP relay agent?
    If you load up perfmon on the dhcp server and remove all counters and then add DHCP counters. Do you see any dhcprequests when you reboot your dhcp clients? This will determine if your server actually receives any dhcp requests.
    Have you check event viewer for any warnings or errors?
    And the classic one restarted the dhcp server service (or reboot)?
    Regards Per-Torben Sørensen http://pertorben.wordpress.com/

  • Shell Script For Export And Import Of Table Records

    Hello,
    We have production and test instances and for constant testing we need to copy data from production to test or development environment.
    At the moment what we do is manually doing export and import table records. At times this could be very tedious as we may need
    to do this exercise a couple of times in a day.
    Is it a good idea to do this exercise using shell script? If so how could I do this? If this is not a good idea what are the best alternatives?
    Any input is highly appreciated.
    Thanks

    Ah I see, your company prefers stupidity over efficiency. It would be possible to do it in a controlled environment, wouldn't it? Also the test database would be allowed to select only.
    So the non-allowance is just plain stupid.
    To the second question: do you use hard-coded passwords in shell scripts?
    Don't you think that poses a security risk?
    Don't you think that is a bigger risk than a database link, properly set up?
    In my book it is!
    Sybrand Bakker
    Senior Oracle DBA

  • Howto export and import SLD data to different SLD's

    Hi All,
    I have a landcape with 4 SLD's. A central SLD within Solution Manager and 3 SLD's for resp. XI dev,qas,prd.
    The central SLD is version 7.0 and the XI versions are 2.2. (model versions are the same, CR are different -> XI SAP_CR 2.18 -> Solman SAP_CR 2.0)
    The idea is that all changes in Bussiness (including new products and software components) and Technical Systems take place in the Solution Manager. After a change we make an export and import it into XI dev, qas and so on.
    However....
    When adding, for example, an exsisting product to a technical system, export it on Solman and import it into XI dev, all entries dissapear(sapms/host/clients).
    We filled Solman with a full export of XI development and that worked fine.
    Does anybody has an idea about actions to be taken?
    Thanks,
    Sjoerd Lubbers

    Hi All,
    I have a landcape with 4 SLD's. A central SLD within Solution Manager and 3 SLD's for resp. XI dev,qas,prd.
    The central SLD is version 7.0 and the XI versions are 2.2. (model versions are the same, CR are different -> XI SAP_CR 2.18 -> Solman SAP_CR 2.0)
    The idea is that all changes in Bussiness (including new products and software components) and Technical Systems take place in the Solution Manager. After a change we make an export and import it into XI dev, qas and so on.
    However....
    When adding, for example, an exsisting product to a technical system, export it on Solman and import it into XI dev, all entries dissapear(sapms/host/clients).
    We filled Solman with a full export of XI development and that worked fine.
    Does anybody has an idea about actions to be taken?
    Thanks,
    Sjoerd Lubbers

  • Client Export and Import

    Hi,
    I am having one doubt regarding Client export and import
    In my organization we are having three system landscape, but the Quality and Production server(In Process)
    Development box is ready to use, and we are having another sand server in different location for our consultant practice
    that system is not in our landscape and that is different location,i want to import that client in to my development server hear
    It is possible to export that data from that Client(scc8) copy that in my development server and Import(scc7) is possible..?
    if possible than what are the pre-requisites to do That Export and Import of client between two different systems,
    what is best procedure to do this Task.......!
    Regards'
    Mohammed.Khan

    >>once export is done successfully than can i copy those exported file in to my file server and then copy to my development >>system trans directory (cofiile,datafile) than can i import those files in my development server with *stms_import* command
    Yes, you have to
    >>than can i go for client import(scc7)
    Yes.
    >>***Configuring the TMS between that sand box and my development server***
    Not required but yes if the sandbox server is not in the landscape you have to create a Virtual System in sandbox and you have to configure the Transport, then only you would be able to create the export file
    Regards
    Subhash

  • Export and Import of Access DB tables in Apex

    Hi,
    i need help.
    I wanna export an MSACCESS DB Table into an ORACLE DB 10g2.
    but every time i get an error course my ODBC driver which isnt compatible to my tns service name.
    what could i do?
    i only want to export a table..not the whole database.
    if i want to export and import a Table over a XE Version, there are no errors and i could see the table in APEX.
    ...thx for help :)

    Hi Timo,
    If you open your table in Access, and click the "select all" (the empty grey box at the left of the header row), you can copy the entire table and paste it into Apex as though you were copying from Excel - the structure of the copied data is the same. The only thing is that you will be limited to 32,000 characters.
    Obviously, though, getting hold of, and setting up, the correct ODBC drivers is the more proper solution but the above may solve your immediate problem.
    Regards
    Andy

  • Export and import in alv grid

    Hi all,
            I am going thru a code in oops alv where when i click in any of the record in the output list then it shuld go to a transaction where it shuld dump all the field values with respect to the clicked field.
    frnds i have used EXPORT AND IMPORT memory concept to get my thing done but i m facing problem.
    please help what can be done to come up with a solution.
    if needed i will provide my codes.
    Thanks,
    satya

    Hi,
    Use the get_selected_rows or get_selected_field Methods
    Thanks,
    Muthu.

  • Export and import of Apps EUL

    I have a Apps EUL and use an Apps user id to work in Discoverer Administrator. This is what the Oracle documentation says and it has been working fine.
    Now I want to export the EUL but when I start the process I get a message that the user does not have access to all the objects and that only the accessible objects will be exported. Shouldn't the Discoverer Manager/Administrator be able to do a full export?
    To get around this problem, I have now been advised to use a database user (the EUL owner) to do the export and import with. Is this the correct way? The Oracle documentation suggest that a database user should never administrate the Apps EUL. Are exporting and importing somehow exluded form this rule?
    Thanks!

    Hi Aparna!
    The Apps EUL was created using a database user. Since then, the EUL has been administered by a Apps user that is dedicated to EUL administration.
    The documentation actually recommend that you create the Apps EUL with a database user and from there on administer the Apps EUL with the Apps user SYSADMIN. My company policy doesn't allow me to use SYSADMIN so I have a "custom" Apps user that I use to do all EUL administration. If at all possible, you should try to use SYSADMIN.
    The guides and website don't really have a step by step guidance as far as I can remember, more explanatory. I would suggest an email to Michael Armstrong-Smith of the learndiscoverer website. He has helped me alot with this particular subject!

  • Online export and import in DS6

    Hello,
    We are running Sun Java System Directory Server Enterprise Edition 6.0 on Solaris 10.
    We need to export ou=people,o=xyz.com,dc=xyz,dc=com ONLINE and export to other Server (running same version) ONLINE (without stopping the services). So i ran the below:
    ./dsconf export -h webmail.xyz.com -p 389 ou=people,o=xyz.com,dc=xyz,dc=com ppl.ldif
    prompts for "cn=Directory Manager" password and after entering it says "ou=people,o=xyz.com,dc=xyz,dc=com" does NOT exist. But it actually exists.
    We're able to export "dc=xyz,dc=com" without any problems but we need ou=people only.
    Appreciate if anyone could provide solution with exact commands to run for export and import (without stopping the DS)
    Thanks much
    Prvn

    "dsconf export" operates only on suffix DNs (i.e., usually the base of your DIT which corresponds to the LDBM backend database).
    Usage (from the dsconf manpage):
    dsconf export [-h host] [-p port] [-aQ] [-f  FLAG] ... [[-s DN] ... | [-x DN] ...] SUFFIX_DN [SUFFIX_DN...] LDIF_FILE
    Look into these options and see if they can help limit its output:
    -s DN
    --include DN
    Exports all data under specified DN.
    -x DN
    --exclude DN
    Does not import or export data contained under the specified DN.

  • Export and Import Integration Profile - Demantra

    Hi All,
    I am working on demantra workflow in export and import integration profiles through workflow.
    I want to avoid a customization to integrate the export profile data created from series A and import the data into other import profile created from series B.
    I have done the following:
    1. Create an export integration profile from series A and when launch the workflow found the below:
    1. view_name BIEO_view_name and table_name BIIO_table_name got created in transfer_query table.
    when i did
    select * from BIIO_view_name got records and when i did select * from BIIO_table_name, no data found.
    2. I want to populate data into the BIIO_table_name created from export profile. Is there any standard process to populate the data into the biio_table_name from bieo_view_name without writing the custom pl/sql.
    I need this data to populate into a import profile which got created through series B.
    I want to avoid the customization of wriring a custom pl/sql and want to know is there any seeded process of integrating the export profile from series A to import profile from Series B.
    Any help is appreciated.
    Regards,
    AK
    Edited by: Ajaykunde on Nov 28, 2009 8:53 AM

    Hi,
    Before to import your BS, did you import the Technical System?
    Before to import your Technical System, did you import the SWCV ?
    Before to import your SWCV, did you import the Product?
    if no, you have to respect a sequence for the import: from highest  to lowest level
    if answer is yes. then In your BS defined in Dev, do you have a transport Group which says "BS_dev -> BS_Qua"?
    If yes, both BS have to be defined in Qua SLD, else your transport link... has no link.
    Moreover, when you import something, normally you have a detailed error message which explain you what is missing.
    >> Question: How many business system should i maintain in SLD?
    no limit I think.
    >> Question: Should i do any config at the Transport Group?
    Only if you want that your BS_dev becomes automatically a BS_Qua after the transport.... so for me, it's yes
    regards.
    Mickael

Maybe you are looking for

  • I can't get rid of iTunes match

    Hi everyone, I have a rather strange problem with my iTunes match. After having it for about two years my subscription recently expired and I did not renew it. I don't know if I have to defend my decision, but basically what it boils down to is that

  • Can I connect an external hard drive, with a FireWire connector to AirPort Extreme?

    I am considering getting AirPort Extreme. I need to be able to connect an external hard drive with a firewire connection. Can it be done?

  • Wrong application language in Acrobat Pro 9

    after reinstalling Acrobat Pro 9, the language of the application now is English but it was Italian (my license is for the italian version). How i can change the application language from english to italian? Thanks a lot!

  • INVOICE - AMOUNT DIFF.

    Dear All,                            User had made a service P.O for which rate for a job is Rs 1500 Per Ton. After Completion of Job Service entry done in ML81N, here the TON qty entered is only 33.5 ton instead of 35 ton. Now MIRO is done by FI Use

  • 1 1 1 1 in 7.2.1

    This hasn't happened till this upgrade. A note at 1 1 1 1, in a region placed at 1 1 1 1, won't play when I start playback from (you guessed it...) 1 1 1 1 Quit Logic, rebooted and opened song, made no difference. Anyone else?