OWB PRO out there : is it possible SQL to execute OMB*PLUS from Database ?

Hi,
With 11g out : is there any expert who sucessfully integrate pl/sql routine to call OMB. Here's the point : You have an APEX application and you design your stuff and at one point you wish you just have to press a button and generate a first draft of your design in the OWB repository, and then developpers can have a frame to start designing from your perspective.
Also, imagine you have an APEX form to approve the testing of a design or process flow or both, and when you press the i approve button, you get call an OMB*Plus routine that do all the export->import reconcile and deploy thing!
I don't think i'm alone to need this kind of stuff. So since OWB is Java, and Oracle database speek Java : is it possible to think of a quick solution ?
Thank you all.
Message was edited by:
bpaquet

Hi bpaquet,
As you know OMB+ is TCL extension, and as i know OMB is not integrated into RDBMS.
I think, there can be several solutions.
1. Execute shell scripts from db using dbms_pipe package.
2. Execute shell scripts using some java external procedure.
3. Create some OS scheduled job (crontab), which will check some values in DB and execute OMB scripts.
Regards

Similar Messages

  • I'm sure there is an easy answer out there somewhere - How do I import an address book from Windows Live to my Mac?

    I'm sure there is an easy answer out there somewhere - Can anybody tell me how do I import an address book from Windows Live to my Mac?
    Thanks

    http://www.freeemailtutorials.com/windowsLiveMail/addressBooksAndContacts/export Contacts.htm
    Explains how to make a vCard from Windows Live.  Apple's Addressbook supports this format.

  • Returning sql statement instead of values from database

    hi am reading value from database but my problem is am get sql statement values instead of values in database
    my code is
    java:337)

    There is no doubt: you get what you want:
        return s_getValue;
    bye
    TPD

  • One SQL Statement executed abnormally in Oracle10g Database

    One programmer sent the following SQL to me, and ask why no result was returned. I knew that the SQL Statement was not good in writting and designing.
    So, first we don't focus on it. we only focus on why no result was returned.
    SELECT 'other Accts', 'Other Accts', TO_NUMBER(''),TO_DATE('2010-10-9', 'yyyy-MM-dd')
    FROM dual
    WHERE *0 = (SELECT COUNT(*)*
    FROM (SELECT 'other Accts', 'Other Accts',SUM(a.qty_invoiced), a.sell_week_date
    FROM sales_in_oracle_data a
    WHERE NOT EXISTS
    (SELECT pa.partner_number
    FROM partner pa
    WHERE pa.partner_number = a.customer_number)
    AND a.sell_week_date >=TO_DATE('2010-10-9', 'yyyy-MM-dd')
    AND a.sell_week_date <=TO_DATE('2011-1-1', 'yyyy-MM-dd')
    AND a.qty_invoiced >= 0
    AND EXISTS
    (SELECT pp.product_id
    FROM product_pn pp, product p
    WHERE pp.magellan_pn = a.material
    AND pp.product_id = p.product_id )
    GROUP BY a.sell_week_date
    the SQL sub Statement:
    SELECT COUNT(*)*
    FROM (SELECT 'other Accts', 'Other Accts',SUM(a.qty_invoiced), a.sell_week_date
    FROM sales_in_oracle_data a
    WHERE NOT EXISTS
    (SELECT pa.partner_number
    FROM partner pa
    WHERE pa.partner_number = a.customer_number)
    AND a.sell_week_date >=TO_DATE('2010-10-9', 'yyyy-MM-dd')
    AND a.sell_week_date <=TO_DATE('2011-1-1', 'yyyy-MM-dd')
    AND a.qty_invoiced >= 0
    AND EXISTS
    (SELECT pp.product_id
    FROM product_pn pp, product p
    WHERE pp.magellan_pn = a.material
    AND pp.product_id = p.product_id )
    GROUP BY a.sell_week_date
    it returned 0 truely. But the entire SQL didn't return any data.
    why can it execute like above description?  I guess that it maybe go against oracle basic rule.
    Any one give me some suggestion?
    Edited by: [email protected] on 2010/7/19 下午 6:09

    I managed to track down a 10.2.0.4 instance and can confirm that this statement does not return the correct results.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select *
      2  from   dual
      3  where  0 = (select count(*)
      4              from  (select dummy, sum(1)
      5                     from   dual
      6                     where  dummy = 'z'
      7                     group  by dummy
      8                    )
      9             );
    no rows selected
    SQL> explain plan for
      2  select *
      3  from   dual
      4  where  0 = (select count(*)
      5              from  (select dummy, sum(1)
      6                     from   dual
      7                     where  dummy = 'z'
      8                     group  by dummy
      9                    )
    10             );
    Explained.
    | Id  | Operation           | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT    |      |     1 |     2 |     4   (0)| 00:00:01 |
    |*  1 |  FILTER             |      |       |       |            |          |
    |   2 |   TABLE ACCESS FULL | DUAL |     1 |     2 |     2   (0)| 00:00:01 |
    |   3 |   SORT AGGREGATE    |      |     1 |     2 |            |          |
    |*  4 |    TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter( NOT EXISTS (SELECT /*+ */ 0 FROM "SYS"."DUAL" "DUAL"
                  WHERE "DUMMY"='z'))
       4 - filter("DUMMY"='z')
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    SQL> select *
      2  from   dual
      3  where  0 = (select count(*)
      4              from  (select dummy, sum(1)
      5                     from   dual
      6                     where  dummy = 'z'
      7                     group  by dummy
      8                    )
      9             );
    D
    X
    SQL> explain plan for
      2  select *
      3  from   dual
      4  where  0 = (select count(*)
      5              from  (select dummy, sum(1)
      6                     from   dual
      7                     where  dummy = 'z'
      8                     group  by dummy
      9                    )
    10             );
    Explained.
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     1 |     2 |     6   (0)| 00:00:01 |
    |*  1 |  FILTER            |      |       |       |            |          |
    |   2 |   TABLE ACCESS FULL| DUAL |     1 |     2 |     3   (0)| 00:00:01 |
    |*  3 |   TABLE ACCESS FULL| DUAL |     1 |     2 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter( NOT EXISTS (SELECT 0 FROM "SYS"."DUAL" "DUAL" WHERE
                  "DUMMY"='z'))
       3 - filter("DUMMY"='z')
    17 rows selected.Notice that the explain plan is a bit different compared to the 11.2.0.1 release. My guess is that the optimizer is doing something weird.

  • Executing SQL command in OMB PLUS

    How can we execute sqlplus commands in OMB PLus command prompt ?

    I don't know if there are any special OMB built in commands, but since it is a superset of TCL, you could use:
    exec sqlplus ...

  • Power Point pros out there?? I need your help.

    I was sent a power point of a "family feud" type game. (where you click on a box and when you do the box you click on slides away, revealing the answer.) I can see the power point that she made, and see the animation path, but for some reason when I click on the box, it doesn't go down that path. The box doesn't do anything. (However in edit mode I can see the answer under the box, but when I'm actually presenting the game, the box doesn't slide out)
    Am I doing something wrong? Is there an option I need to turn on, or somewhere different I need to click? I"m trying to use this tomorrow, so I'm trying to get it up and running asap. Any ideas what is wrong? (If you need me to email you the file, let me know and I'll do it)
    thanks

    Are you trying to open PPT with Keynote or with PowerPoint for Mac? In my experience Keynote can not execute all animations.

  • 2 questions for all the iTunes PROS out there

    I currently have the latest itunes software. I have recently formatted my pc, and need to add all my songs back into the itunes library. I have over 7000 songs all in the general folder
    "Music". I do to File->Add folder to library->Then select that folder. It works for a bit scanning though files asks me to convert some, then it just crashes..... It would take me soooo long to do this folder by folder, does any1 know what is going on?
    Since i have formatted my pc, when i plug my ipod in it says that it has been synced up to another itunes would i like to delete it all, any way around this? Or maybe can i somehow sync my ipod to my itunes, thus fixing the problem in my first question?
    Thx soo much for any help
    Myles

    "Since i have formatted my pc, when i plug my ipod in it says that it has been synced up to another itunes would i like to delete it all, any way around this?"
    When your iPod is set to update automatically you just need take care when connecting back to your computer and an empty iTunes. When you get the message that your iPod is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all songs from your iPod. Your iPod should appear in the iTunes source list from where you can change the update setting to manual and continue to use your iPod without the risk of accidentally erasing it. Check the "manually manage music and videos" box in Summary then press the Apply button: Managing content manually on iPod
    You can also use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows with iTunes 7 installed hold down the Control and Alt keys (or Shift + Ctrl keys in older versions). This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer: iTunes 7 Keyboard Shortcuts for Windows
    "Or maybe can i somehow sync my ipod to my itunes, thus fixing the problem in my first question?"
    If you have any iTMS purchases the transfer of purchased content from the iPod to authorised computers has been introduced with iTunes 7. A paragraph on it has been added to this article: Transfer iTunes Store purchases using iPod
    The transfer of non iTMS content such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there is a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows. The procedure is a bit involved but if you're interested it's posted in this thread: MacMuse - iPod to iTunes
    If you prefer something more automated then there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. This is just a selection, you'll find that they have varying degrees of functionality and some will transfer movies, videos and photos as well. Have a look at the web pages and documentation, they are generally quite straightforward. You can also read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    YamiPod Mac and Windows Versions
    iGadget Windows Only
    iPod Access Mac and Windows Versions
    PodUtil Mac and Windows Versions
    iPodCopy Mac and Windows Versions
    PodPlayer Windows Only
    CopyPod Windows Only
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync again.

  • Is there a way to mass export/save the reports from database to server

    Hi Everyone,
    Hope all is well,
    We use Discoverer to report off of an ODS. We are moving from ODS 3.1 to ODS 8.
    Is there a way to mass download the reports into ODS 8.
    My idea at this time, would be to individually save as the query to a folder on server.
    Then open another Discoverer instance, sign to ODS 8, open the query from server and do save as to database.
    This would take time ....
    Please advise with your thoughts and ideas, tx, sandra

    hi sandra,
    This question can be answered by Michael,he is expertise in sungard banner.
    By,
    Kranthi.

  • Publish SQL as a WEB Service from Database (10.2) using OC4J (without JDev)

    Hi,
    I have been successfull in Publishing Web Service using SQL (DML) using :
    1. Oracle Express Db 10.2
    2. OC4J 10.1.3
    Any Help Will be appreciated........ :)
    NOTE: Oracle Documentation on Application Server SUCKS (Too Many Errors prints and Wrong Information in the Web Servises area including JAR file paths)
    I can only use One parameter in the QUERY and a Second Parameter gives an Error.
    java -jar ${ORACLE_HOME}/webservices/lib/wsa.jar -sqlAssemble -appName query -dataSource jdbc/OracleCoreDS -sqlstatement "updtProdTyp=update PRODUCT_TYPES SET NAME = :{newname VARCHAR} where NAME = :{oldname VARCHAR}" -dbConnection jdbc:oracle:thin:@localhost:1521:XE -dbUser store/store
    INFO: [WSADBPlugin] endpoint setInterface: oracle.generated.SqlStmts, setImplementation: oracle.generated.SqlStmtsUser
    INFO: java oracle.jpub.Doit -user=store/store -url=jdbc:oracle:thin:@localhost:1521:XE -dir=./src/server -codegen=jdbc -style=oracle/j2ee/ws/tools/wsa/db/webservices-common -style=oracle/j2ee/ws/tools/wsa/db/webservices10 -style=oracle/j2ee/ws/tools/wsa/db/webservices10literal -outarguments=return -datasource=jdbc/OracleCoreDS -sqlstatement.updtProdTyp=update PRODUCT_TYPES SET NAME = :{newname VARCHAR} where NAME = :{oldname VARCHAR} -sqlstatement.class=SqlStmts -package=oracle.generated -plsqlfile=SqlStmts_plsql_wrapper.sql,SqlStmts_plsql_dropper.sql -plsqlpackage=SqlStmts_plsql_wrapper -connscope=method -sqlj -d=./war/WEB-INF/classes -C-g
    INFO: SqlStmtsBase
    /usr/lib/oracle/xe/app/OC4J/D_My_Apps/src/server/oracle/generated/SqlStmtsUser.java:8: oracle.generated.SqlStmtsUser is not abstract and does not override abstract method updtProdTypiSS(java.lang.String[],java.lang.String[]) in oracle.generated.SqlStmts
    public class SqlStmtsUser extends SqlStmtsBase implements SqlStmts, java.rmi.Remote
    ^
    /usr/lib/oracle/xe/app/OC4J/D_My_Apps/src/server/oracle/generated/SqlStmtsUser.java:22: cannot find symbol
    symbol : method _getProdTypBeans(java.lang.String,java.sql.Connection)
    location: class oracle.generated.SqlStmtsBase
    __jRt_0 = super._getProdTypBeans(__jRt_2, __onnScopeMethod);
    /usr/lib/oracle/xe/app/OC4J/D_My_Apps/src/server/oracle/generated/SqlStmtsUser.java:85: cannot find symbol
    symbol : method _getProdTyp(java.lang.String,java.sql.Connection)
    location: class oracle.generated.SqlStmtsBase
    __jRt_0 = super._getProdTyp(__jRt_8, __onnScopeMethod);
    ^
    /usr/lib/oracle/xe/app/OC4J/D_My_Apps/src/server/oracle/generated/SqlStmtsUser.java:128: _updtProdTyp(java.lang.String,java.lang.String,java.sql.Connection) in oracle.generated.SqlStmtsBase cannot be applied to (java.lang.String,java.sql.Connection)
    __jRt_0 = super._updtProdTyp(__jRt_10, __onnScopeMethod);
    ^
    /usr/lib/oracle/xe/app/OC4J/D_My_Apps/src/server/oracle/generated/SqlStmtsUser.java:145: cannot find symbol
    symbol : method _updtProdTypiS(java.lang.String[],java.sql.Connection)
    location: class oracle.generated.SqlStmtsBase
    __jRt_0 = super._updtProdTypiS(__jRt_12, __onnScopeMethod);
    ^
    6 errors
    INFO: NEW DBWS runtimeProperties set databaseJndiName: jdbc/OracleCoreDS
    INFO: User classpath is :/usr/lib/oracle/xe/app/OC4J/D_My_Apps/./war/WEB-INF/classes
    INFO: Checking for JSR-181 Annotations capabilities in current JVM...
    INFO: Found JSR-181 Annotations capabilities. Checking for JSR-181 Annotations Processor...
    INFO: Found JSR-181 Annotations processor. JSR-181 Annotations (if any) will be processed
    INFO: No JSR-181 annotations found in specified class oracle.generated.SqlStmtsUser
    FINE: ValueTypeModeler.log [creating model: query]
    FINE: ValueTypeModeler.log [creating port: oracle.generated.SqlStmts]
    FINE: MethodModeler.log [creating operation: updtProdTyp]
    FINE: MethodModeler.log [creating operation: updtProdTypiSS]
    WARNING: Problem validating implementation class. Access modifier problem detected for the implementation class oracle.generated.SqlStmtsUser: int updtProdTyp( java.lang.String, java.lang.String ) is defined with access modifiers that make it an unsuitable implementation of the interface method: The method cannot be 'abstract'.
    Thu Mar 30 14:17:34
    Thanks
    ====================================

    I don't have the problem with the second arugument, using essentially the same command as yours. Could you make sure you clean up the following subdirectories and retry:
    ear query.ear src war
    My guess is that the leftover subdirectories in your previous run are playing game with you. You can simplify leftover management by specifying -output setting.

  • Hello everybody out there, which way can I get the screensaver from Lion get back on Mountain Lion??

    Hello everybody out there.
    Which way can I get the screensaver from Lion get back on Mountain Lion??
    Thanks
    malibu0978

    Thanks very much I have contacted them via this. Just hope they respond quickly- rather annoing! Greatly appreciated though

  • Is it possible to trigger a bpel process from a database object.

    Hi,
    We want to schedule a bpel process to run daily .So we want to trigger it from a database job.
    Is it possible to call a bpel process from database..?
    Or
    Is there any way to schedule a bpel process from bpel server it self.
    Thank you
    Gayaz

    If you know about DBMS_JOBs then I would say the easiest way to invoke a BPEL process is via the AQ adapter. You just need to populate an AQ and a way you go. The good thing about this is that if SOA SUite is down when the schedule is run you don't need to retry, it will be picked up when it comes online again.
    cheers
    James

  • I can't open my imovie '9 projects on my new lap top which uses imovie 11'.. previous lap top was mac book osx 10.5.8.. new one is mac book pro 10.6.6.. any help out there! i'm pretty useless at this stuff, might be really simple???

    which uses imovie 11'.. previous lap top was mac book osx 10.5.8.. new one is mac book pro 10.6.6.. any help out there! i'm pretty useless at this stuff, might be really simple???

    Thanks for nothing, as usual, Apple.
    I had to redo the whole project from scratch on Windows Movie Maker.
    Now I know which brand to trust on my next purchase.

  • Does anyone know how well the Intel Iris Pro installed on new 15" MacBook Pros performs using Photoshop and Lightroom. I have seen some differing opinions out there, and I would rather not shell out the extra cash for the Nvidia if I don't have to. I most

    Does anyone know how well the Intel Iris Pro installed on new 15" MacBook Pros performs using Photoshop and Lightroom?  I have seen some differing opinions out there, and I would rather not shell out the extra cash for the Nvidia if I don't have to. I mostly do photo editing for business and personal use. I have not used the 3D function in Photoshop, but I would like to know that I could.

    You could download a trial and see how well it works before committing to a subscription. You get 30 days to decide.
    Photo editor | Download free Adobe Photoshop CC trial
    Photo editor app | Download free Adobe Photoshop Lightroom 5 trial
    Gene

  • Just want the information to be out there - my My Mac Book Pro has been stolen! Serial no W8*******ATN, model no A1278. Is there anything I could do to traci it or at least block it ??

    Just want the information to be out there - my Mac Book Pro has been stolen! Serial no W8****ATN, model A1278 what could I do to track it or at least block it?
    <Personal Information Edited by Host>

    You can use iCloud to lock it if you had that set up. Otherwise, the only thing to do is report the theft to the police. You may want to contact your homeowner's insurance to see if it would be worth filing a claim with them also.
    ~Lyssa

  • What other pro video software is out there for Apple?

    Since I can't install FCS2 on my new MBP running Lion, what else is out there in professional video editing that I can install on Lion?  Any suggestions?  I've looked at Final Cut Pro X, but everyone is complaining about it....

    Avid Media Composer 5.5.3 works on Lion.  $995 for anyone who has a previous version of FCP (normally $2500).
    Adobe Premiere Pro CS 5.5.  Also $995 for owners of FCP.
    Both on sale for a SHORT time (been on sale all month), so get them while you can.  The one most like FCP is Premiere Pro.  Avid is mainly for broadcast TV and film. 

Maybe you are looking for

  • Problem in jdbc with Apache

    i wanne make my ResultSet Scrool when i make it causes Apache server to fail but when i use the same code in console application it gave me my result well when i make resultset in my jsp code forward only it run but not gave me valid date i see that

  • House Bank address & swift code

    Hi All We have configured the house bank in development system and moved to QA 300, but Bank address & swift code is not moved to QA300.  Remaining House bank, Bank country and Bank Key are moved successfully. what was the reason swift code & Bank ad

  • OCI  is not intialized properly

    I install EIS on the same HP-UX server as Oracle DB 8.0.6 installed. I configure the oracle environment parameters in .profile of the user "arbor" that installed EIS. I configure the oracle Net Service Name -"ora82" and I can connect to oracle using

  • TCrpe compoent is slow on Vista system

    Post Author: judhra CA Forum: General Hi all, We are using Delphi 2007 and TCrpe Componet to preview crystal report. On vista system report preview takes more time to execute. When we compare on Vista system and Xp system, in vista system, report pre

  • Premiere/Media Encoder can't render/export after 10.9.3 update.  Any Answers?

    My computer ran the OSX 10.9.3 update a couple nights ago, and suddenly Premiere/Media Encoder can not export.  It just freezes up the computer until I cold crash it.  Same if I try to render a timeline in Premiere.  This issue just started yesterday