APEXExport - use of expOriginalIds

The APEXExport class provided with the distribution in the command line utilities folder has an expOriginalIds option as described in the usage below. I think that this was introduced with version 4.x.

I'm not sure that the point of this option and why it was added. I exported an application with and without this option and the generated fXXX.sql file is identical.

Can be one of the APEX team comment on why this was added and how to use it effectively?

Thank you

Usage APEXExport -db  -user  -password  -applicationid  -workspaceid -instance -expWorkspace -expMinimal -expFiles -skipExportDate -expPubReports -expSavedReports -expIRNotif -expTranslations -expTeamdevdata -expFeedback -deploymentSystem -expFeedbackSince -expOriginalIds -debug
    -db:               Database connect url in JDBC format
    -user:             Database username
    -password:         Database password
    -applicationid:    ID for application to be exported
    -workspaceid:      Workspace ID for which all applications to be exported or the workspace to be exported
    -instance:         Export all applications
    -expWorkspace:     Export workspace identified by -workspaceid or all workspaces if -workspaceid not specified
    -expMinimal:       Only export workspace definition, users, and groups
    -expFiles:         Export all workspace files identified by -workspaceid
    -skipExportDate:   Exclude export date from application export files
    -expPubReports:    Export all user saved public interactive reports
    -expSavedReports:  Export all user saved interactive reports
    -expIRNotif:       Export all interactive report notifications
    -expTranslations:  Export the translation mappings and all text from the translation repository
    -expFeedback:      Export team development feedback for all workspaces or identified by -workspaceid to development or deployment
    -expTeamdevdata:   Export team development data for all workspaces or identified by -workspaceid
    -deploymentSystem: Deployment system for exported feedback
    -expFeedbackSince: Export team development feedback since date in the format YYYYMMDD
    -expOriginalIds:   If specified, the application export will emit ids as they were when the application was imported

Vikas,

pangs you called smart, I can reveal that I've implemented the feature).

You are right, that the IMPORT_ * columns contain relevant data. When you import an application (and copy is essentially clob + import-export), APEX still arouses a shift that he added to the component ID. We have now stored in the application and avoid export again if you use this parameter.

There were several changes to the 5.0 format export for ease of comparison, it was a single one of them. Export files are also smaller (about 60% of export 4.2) and not have these seemingly random line breaks in long code of report and the process. Finally, we want to provide a GUI for diff and merging of applications, but it will still take time. In the meantime, these changes should simplify it for customers to change control. Note that we do not support merge or make changes to the export in general files. Export files are PL/SQL code, but the API are undocumented and too bad can happen here. The only diff can be useful, however. For example, QA can see what has changed in an application and needs special tests when they the absorption of development. Developers can use the diff for code reviews. They might also want to make a copy of an application for an experience. The diff to the original later shows what has changed and what should be merged back. It is a simple tool. How you make use of it depends on you are the development and deployment process.

Kind regards
Christian

Tags: Database

Similar Questions

  • APEXExport - comments request not exported

    APEX 5.0.2

    We used the old Java HTMLDBExport class supplied with version 3 or 4 for several years and he always included developer comments that we enter the export file in the report generator.

    This happened in very practical when you of the differences between the versions in our SCM tool.

    With the utilities/APEXExport at APEX 5.0, I see that it does not export the comments. I don't see all the lines in the wwv_flow_api.create_app_comments export file

    Am I missing something? Why this has been subscribed?

    Vikas,

    We will add it to the list.

    Joel

  • Export of apex (oracle.apex.APEXExport) on Oracle 12 c and ORA-28040

    Customer running of Java oracle.apex.APEXExport (from Apex v4.2.5) against a 12.1.0.2 RAC - and JDBC connection failure made with a ORA-28040: no authentication protocol for. (works without problem against all our 11g RAC)

    Oracle MOS see Notes section Configuration of SQL * Net of parameters (SQLNET.) ALLOWED_LOGON_VERSION_CLIENT and SQLNET. ALLOWED_LOGON_VERSION_SERVER) to an earlier version (example 8) on the client and the server, bouncing the listener, etc.

    Googling turned up the solution to the CLASSPATH to include the ojdbc6.jar (as the first jar jdbc in the path) - and only using one more late JDBC driver/pot solves the problem.

    Played a bit with both options, but not luck. Always get the error ORA-28040 .

    Ideas, comments and suggestions will be appreciated on how to address this issue.

    Well, problem solved. With the CLASSPATH workaround works fine - if done correctly.

    Find an odbc6.jar on the platform, for example

    find $ORACLE_HOME-name ojdbc6.jar

    Set the classpath the jar of real and then in the utilities directory in your file Apex (i.e., the location where you have unpacked your download Apex). For example

    export CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/jdbc/lib/ojdbc6.jar:/software/apex/utilities

    Now run export Apex by following the instructions, for example

    Java oracle.apex.APEXExport - db :: -user -password -instance

  • ApexExport 06550 PLS-00306: wrong number or types of arguments

    My work of ApexExort was running great until about a month and I can't pinpoint the problem.  If I run it in production, I get the following error.  However if I run it on my localhost even exact script works very well.

    Exception in thread "main" java.sql.SQLException: ORA-06550: line 2, column 12:

    PLS-00306: wrong number or types of arguments in the call to 'EXPORT_APPLICATION_TO_CLOB '.

    ORA-06550: line 2, column 5:

    Set ORACLE_HOME=C:\Oracle\product\11.2.0\dbhome_1

    set CLASSPATH = % CLASSPATH statement; \;%O RACLE_HOME%\jdbc\lib\ojdbc5.jar;%apexExportJavaDir%

    set PATH = % PATH %; \;%O RACLE_HOME%\Bin

    JAVAHOME value = C:\Program Files\Java\jdk1.8.0_45

    Set startRunLocation = \\mgasan2\hdrive\ATS_Working\Scott_Working\PROD_SCRIPTS\APEX_APP_BKUP

    CD C:\apex_4.2\utilities

    All applications to export REM

    Java oracle.apex.APEXExport - db %oracleHost%:%oraclePort%/%OracleServiceName%-utilisateur % oracleUser %-% oracleSystemPass %-forum password




    < gphmh >

    Thanks for your suggestion of Kiran, but I understood what my problem was.  The APEX version in our database is older: 4.1.1.00.23 and I have been using a version 4.2 utilities apex when I should have used the C:\apex_4.1.1_en\apex\utilities

    CD C:\apex_4.2\utilities

    C:\apex_4.1.1_en\apex\utilities


    For the record, here's what worked for me...


    Set apexExportJavaDir=C:\apex_4.1.1_en\apex\utilities

    Set apexHtmlFileName = apex_info.html

    BackupLocation = c:\PROD_SCRIPTS\APEX_APP_BKUP\OUTPUT\TEST set

    Set ORACLE_HOME=C:\Oracle\product\11.2.0\dbhome_1

    set CLASSPATH = % CLASSPATH statement; \;%O RACLE_HOME%\jdbc\lib\ojdbc5.jar;%apexExportJavaDir%

    set PATH = % PATH %; \; C:\Program Files (x 86) \Java\jre7\bin

    Set startRunLocation = c:\PROD_SCRIPTS\APEX_APP_BKUP

    FIXED % apexExportJavaDir %

    Java oracle.apex.APEXExport - db %oracleHost%:1521/%OracleServiceName%-utilisateur % oracleUser %-% oracleSystemPass %-forum password

  • Can't find the APEXExport utility!

    I installed Oracle 11 g XE Apex, and there I have all the features of the app and use it.

    However I can't find the location of the ApexExport utility!

    Anyone know how I can get that?

    Thank you

    Mehr

    Hi Mehr,

    When you are on the page of the main generator of the application, it is in the list on the right. (V4.2.3)

    If you mean the command line utility, so it should be under the Oracle's Home Directory. I don't have a practical 11xe installation, but find a directory under house relating to the apex, probably oracle apex and then look for a directory utilities\oracle\apex, and you should find APEXExport.class.

    Concerning

    André

  • ApexExport problem

    Hello

    I have the following environment.

    Windows 7 Ultimate SP1
    Oracle XE 11.2
    Apex 4.1
    JDK 6u31-windows-x64.exe (installed to C:\Program Files\Java\jdk1.6.0_31\...)

    The user Variable CLASSPATH is. \ ; C:\oraclexe\app\oracle\product\11.2.0\server\jdbc\lib\ojdbc5.jar
    JAVA_HOME Variable user = C:\program files\java\jdk1.6.0_31\jre\bin
    ORACLE_HOME Variable user = C:\oraclexe\app\oracle\product\11.2.0\server
    System PATH Variable = C:\oraclexe\app\oracle\product\11.2.0\server\bin; % SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\; C:\Program Files (x 86) \ATI Technologies\ATI. ACE\Core-Static; C:\Program Files (x 86) \Common Files\Roxio Shared\DLLShared\; C:\Program Files (x 86) \Common Files\Roxio Shared\DLLShared\; C:\Program Files (x 86) \Common Files\Roxio Shared\11.0\DLLShared\; C:\Program Files (x 86) \Pinnacle\Shared Files\; C:\Program Files (x 86) \Pinnacle\Shared Files\Filter\; C:\Program Files (x 86) \QuickTime\QTSystem\

    In the C:\apex\utilities directory, I give the command:
    Java oracle.apex.APEXExport - db localhost:1521:XE - SUSANNA-password skippy123 user - expWorkspace

    I get the error:
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apex/APEXExpress
    Caused by: java.lang.ClassNotFoundException: oracle.apex.APEXExpress
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
    at java.security.AccessController.doProvileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    The main class is not found: oracle.apex.APEXExpress. Program ends.

    Published by: PhilMan2 on March 2, 2012 19:50

    Hello

    looking at error still once, not so sure classes12.jar will help you.

    You can try just this command:

    Java oracle.apex.APEXExport

    P. S.
    Are you sure, that you use above the command, because it looks like this, you are using:

    Java oracle.apex.APEXExpress

    (APEXExpress instead of APEXExport)

    Kind regards
    Aljaz

    Published by: Aljaz on 4.3.2012 22:37

  • Location of the file created by the APEXExport utility

    Greetings,

    I did experiments with the APEXExport utility in a Unix environment. I work for export and it creates the SQL export file in the current working directory. What I want to do, it's the SQL file that is created in one directory other than the current one.

    The directory where the export utility is here:
    /u01/apex402/apex/utilities
    With this as my current directory I have run this command, and all works well.
    java oracle/apex/APEXExport -db candy.us.oracle.com:1521:ORCL -user scott -password tiger -applicationid 31500
    If I move to another directory and run a command like this, it does not work.
    java /u01/apex402/apex/utilities/oracle/apex/APEXExport -db candy.us.oracle.com:1521:ORCL -user scott -password tiger -applicationid 31500
    Any help would be greatly appreciated.

    Thank you

    Larry

    Hello Larry,.

    the problem is the namespace Java. To find the class, it must be in the appropriate directory. You can move or copy the oracle to any other location directory and use the same call here. I did something different, as I don't like to copy things: I created a jar file and added to my classpath. To do this on your machine, run the following commands

    cd /u01/apex402/apex/utilities
    jar cf APEXExport.jar oracle/
    export CLASSPATH=$CLASSPATH:/u01/apex402/apex/utilities/APEXExport.jar
    

    Of course, you can move or copy APEXExport.jar to a different directory, for example / usr/local/lib + and include this directory in your CLASSPATH.
    From this moment, you can call

    java oracle.apex.APEXExport -db candy.us.oracle.com:1521:ORCL -user scott -password tiger -applicationid 31500
    

    of any directory.

    -Udo

  • Problem with the command line APEXEXPORT after upgrading to 3.2

    Hello

    After the upgrade to 3.1.2 to 3.2 Apex (upgrade went well), I get the following error message when you try to do an export of command-line applications:

    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/apex/APEXExport (unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0 (Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    in java.net.URLClassLoader.access$ 100 (URLClassLoader.java:55)
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

    Any ideas? It worked perfectly fine before the upgrade... I use Oracle 10.2.0.4 database JDBC jar files.

    Thank you
    Matthias Hoys

    Hello

    Machines virtual Java is backward compatible, so you can use the JDBC 1.4 with JVM 1.5 or later without problem, no need to download new classes.

    And Yes, I think that it is best to go directly to JDK1.6... Here I have 1.6 and use the tool to export Apex with the 10g JDBC classes without problems.

    Luis

  • Export workspaces using API

    Hi all

    I knew my hard drive crash. I managed to save all my data, but you will need to do a fresh install to get back to a fully functional database again.
    I can't start express application more, but I still have the flows_XXXX schema.

    I guess I'll be able to export workspaces I had using packages (API) in this scheme. I read the manual (RTFM :-)) but I couldn't find a topic describing this, someone has done this before?)

    Or do I just install my new database, install Application Express (same version I was using now) and replace the pattern with this scheme. import (export of this data base), in the new database?

    Thanks for your advice,

    Kris

    Kris,

    Take a look at the APEXexport utility - what is included when you download Oracle APEX.

    This thread is a little dated, but mention of how to use it: export/import a * lot * of Applications

    If this does not work, you should be able to install an own instance of Oracle, install the APEX and then discuss your schema FLOWS_030100.

    Thank you

    -Scott-

    http://spendolini.blogspot.com/
    http://sumnertech.com/

  • Using the markup with iPad Pro

    I open a pdf file in apple mail and used the markup and saved. It is not in the project and seems gone. Help?

    Check your iBooks app.

  • I have a lg 4 k tv (40 "40UH630V TV LG ULTRA HD 4 K) with HDMI 2. 0 and if I buy apple tv 4 can be used with HDMI 2. 0 port or do I HDMI 3 port to use this? Please help me

    I have a lg 4 k tv (40 "40UH630V TV LG ULTRA HD 4 K) with HDMI 2. 0 and if I buy apple tv 4 can be used with HDMI 2. 0 port or do I HDMI 3 port to use this? Please help me

    You can use it with your TV.

  • Why is apple tv (4th Gen) using subnet different comcast

    I need to figure out if there is anything special/different regaurding how ATV (4th Gen) made the resolution DNS when wired to a Comcast cable modem only (no wifi and no router)?  I notice that my ATV selects a different subnet when ATV is set automatically resolve IP and DNS.  Example of my Dell PC Tower and Sony laptop automatically use a subnet of 255.255.255.0, but ATV uses the example below:

    67.166.208.26

    255.255.252.0

    router 67.166.208.1

    ATV works great just need to know why to solve network problems not related to my home office network and at home?

    Hello. You say there is no router, but I guess that the Comcast modem is also a router and DHCP server. Are you using IPv6? You use a static IP address?

  • Verification request uses the wrong place

    I can't connect my mac to iCloud after changing my password.  Request for verification on the phone uses the wrong place.  It is safe to accept access?

    What do you mean by 'place' in 'request for verification on the phone uses the wrong place?

    You use two factor authorization?

  • Why are the 'minor' photos in the new iMac with K5 of the retina (using photoshop)?

    In English

    Hello.

    I met a 'problem' with the new iMac (retina 5K, 27 ", at the end of 2015).

    When I edit pictures in Photoshop, I can't get the images blown up big enough and the fillings of slide show they do not rule out even at a size of 72 dpi and with dimensions of 3000 x 2000.

    What don't I understand?

    Help would be so nice, thank you in advance.

    By Bjarne.

    PA Dansk

    Hej.

    JEG er pa stodt and 'problem' med den nyeste iMac (retina 5K, 27 ', ultimo 2015).

    NAR jeg redigerer billeder I Photoshop kan jeg ikke fa billederne blaest stort nok op og ved diasshow fylder ikke skaermen ud ved en str pa 72 dpi library pa med og selv 3000 x 2000.

    Hvad er det jeg ikke forstar?

    Tants city limit his BRA, pa forhand tak.

    By Bjarne.

    What version of the operating system and Photos do you use? Exactly how do you get pictures of Photos in Photoshop?

    LN

  • Photos shared on iOS devices use data?

    I have created a number of shared albums in the Photos on my Mac and iOS devices.

    When other people visit then shared albums, what data are used to access?

    I invited a person to see a shared album which had mobile data off on their iOS device and no wifi. However, they were able to access a shared album which surprised me because I assume they would have need of mobile data or wifi.

    Shared albums are stored locally on the iOS devices. Photos downloads smaller and optimized versions pictures of an iPhone. iCloud, sharing photos - Apple Support

    Once shared, pictures taken with your standard devices, iOS devices or cameras have up to 2048 pixels on the long edge. Panoramic photos can be up to 5400 pixels wide.

Maybe you are looking for

  • New Macbook Pro retina striped out of box

    I bought my new retina Pro Macbook at Best Buy and the next day after using it for only 3 hours and go to sleep, I noticed that the screen was broken when the Sun hit my screen. I don't know what it is. Help, please

  • How to import images from aperture?

    Hello is it possible to import images from Aperture in Photos? I would like to have a single foto libery for my photos. Today I have a Liberty for the opening and the other for the photos. Would be great I someone knows how to do. Thank you Ralf

  • 6 seconds after the slowness problem 9.2 update

    Can anyone help please? I just update 6s 9.2 and when * started! Phone is just useless... response time is more than 3 seconds, Ive had problems to react quickly on anything. Unable to find the answers. I don't know what's wrong. Reset, hard reset di

  • HP Pavilion 13-b221no: fn key does not work in Windows 8

    Hello! I just got a new laptop. The fn key does not work? I have Hp Pavilion 13-b221no and Windows 8. Help? I'm sorry to ask this same question frequently asked in the forums, but the answers and solutions have not worked on this... Thank you very mu

  • Windows Defender error 126: the specified module could not be found

    How to fix Windows Defender on Windows 7? For some time now, Windows Defender no longer works. I can't install new updates of definition and the service cannot be started. If I try to manually start the Windows Defender service, there is an error mes