Schema Selection Extension

I've created an extension for Oracle SQL Developer that allows you to specify a default schema for a connection. It also provides a drop-down list to select the current schema for your worksheet.
I've made the jar-file and source available through javaforge.com.
http://javaforge.com/project/schemasel
As a PeopleSoft developer I've been using this extensively at work. Hope it's of use to some of you.
Regards,
Bauke Gehem
http://nl.linkedin.com/pub/bauke-gehem/8/b58/882

Hi Bauke,
You extension is something i was hopping oracle will do.
Anyway i've downloaded the extension and when i'm selecting from the dop-down list it it doesn't show be the default schema specified in the connectin name between brackets but it does select the schema.
Any idea why is not working as yours?
in your extension features list, you said the default schema can be specified in the default schema. How can it can be achieved?
Many thanks
Dani

Similar Messages

  • Setting default schema with Schema Select extension

    Has anyone tried to do this? The web site says to put the default schema name in square brackets at the end of the connection name. When I try to do that, SQL Developer says that square brackets are illegal characters for a conneciton name.
    In essence I want to have users log in with their own individual accounts, but have their schema context automatically set to a different schema.

    You'll need to contact the extension provider directly for support.
    You could achieve the same result with a trigger - and you'd have more control over when this happened, what applications, etc.
    If you want bracketed connection names, you'll need to run an older version of SQL Developer or manually edit the connections.xml file to add the brackets to the name.
    Edited by: Jeff Smith SQLDev PM on Apr 24, 2013 10:43 AM

  • Insbridge--Rate Manager--Unable to locate output schema selection.

    hi, im getting the following error while testing / executing a rating or underwriting program
    Rating Error
    Unable to locate output schema selection.
    Rating Summary
    ID Values
    Program Name Program not found!
    Parent ID 1020
    Line Of Business 3
    Program ID 1
    Program Version 1
    Rate Status
    Package Date Program Location Error
    Rate Location system8-pc
    Rate Environment rm
    From Cache False
    Running Time 0.454 seconds
    how do i solve this ?
    Edited by: user11436116 on Sep 29, 2010 2:11 AM

    Sounds like your rate request XML does not match the schema required to obtain a rate, or the information in the rate request XML does not match up to a published rating program.

  • Schema Selection

    Hi,
    I have a question on schema selection while creating a physical schema of my target data server.Actually there are two option Schema(Schema) |> here i select my target schema and other is Schema(Work Schema) |> here the confusion comes
    which schema I have to select here work repository schema or target data server schema??_
    if any one of this then what will be the different effect??
    And please clarify me the difference between  the two
    schema option(Schema(Schema) and Schema(Work Schema) ) and what are their responsibilities????
    Thanks
    Anindya
    NB:
    here is the details:-
    physical architecture-->oracle(right click and insert new data server)-->then create and configure the data server(name:target_data_server)-->right click on target_data_server and insert new physical schema-->select definition tab-->Schema(Schema) |> and Schema(Work Schema) |> here the drop down options comes

    You are going to use the 1st schema where your actual table resides. Second schema ( workschema ) will be used for temp tables ( $ tables) only....
    Hi,
    I if select my *'work repository' schema* as Second schema ( workschema ) and target server schema as staging area then where the transformation will be occurred before loading to the Target???
    If transformation occur in Staging area(i.e in target)
    Then please clarify me what type of temporary tables(based on which table?) created in Second schema ( workschema ) and Staging area(i.e in target) ???
    Actually i want to know the role/use of the temporary tables created in these schemas(work repository and target server schema ) for the above case.
    And my second question is that if I select target server schema for both the case ( Second schema ( workschema ) and StagingArea) then what is the use of the WorKRepository Schema at that time ??Is any temp temp table will be created there??
    Thanks
    Anindya

  • Schema selection changed in business components

    When you edit the business components in 903 you cannot select specific schemas only you own, none or all. In 902 it was possible to slect a schema.
    Why has this been changed? it makes it so much more difficult to find tables and view on the database.
    Regards
    Jeppe Jensen

    Hi Jeppe-
    Sorry for the slow response, we've been awfully busy around here lately. This appears to be only a problem
    with the edit wizards, i.e. the create wizards will correctly display all the user names, but when you edit the objects the
    usernames are not correctly displayed. I will log a bug against this and fix it for the 9.0.3 relesae.
    Ray

  • Why does nothing appear when I select 'extensions' in the Add-on Manager?

    Somehow, an extension/app called Coupon Saver (that I never wanted and which is truly annoying) has been installed. I uninstalled it on my laptop, but it needs to also be removed from FireFox. However, whenever I go to the 'Extensions' panel in the Add-on Manager, nothing comes up at all. It shows all the tabs on the right with 'Extensions' highlighted but beside it is nothing but a light blue screen. Why is this, and how do I fix it so I can removed the offending addition form my browser? Thank you for your time.

    Reset Firefox – easily fix most problems
    1. At the top of the Firefox window, click the Help menu and select
    Troubleshooting Information.
    2. Click the Reset Firefox button in the upper-right corner of the Troubleshooting Information page.
    3. To continue, click Reset Firefox in the confirmation window that opens.
    4. Firefox will close and be reset. When it's done, a window will list the information that was imported. Click Finish and Firefox will open.
    Please also visit this [https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems?esab=a&s=reset+firefox&r=1&as=s Reset Firefox] for more details if the above steps doent works.
    Pleease Reply back to us soon.
    Thank you!!

  • Multiple Schema select Query problem

    Hi everyone,
    when I tried to execute a select query as following,
    select A.field1, B.field2 from S1.table1 A, S2.table2 B
    in a session bean, it gives an exception as follows
    " An illegal attempt to use multiple resources that have only one-phase capability has occurred within a global transaction"
    Can anyone pls help me in this regard.
    Thanking you
    D. Suresh Kumar

    This is the query i thought of executing
    SELECT * FROM SCH2.AP_TRANSACTION_EPS A, TRANSACTION_TYPES B WHERE C_FUND_CODE = '" + fundCode + "'AND D_TRADE_DATE = to_date('" + date + "','yyyy-mm-dd') AND A.C_TRANS_CODE = B.C_TRANS_CODE " + " AND B.C_TRANS_TYPE = '" + transType + "' ";
    where "fundCode", "date","transType" are java variables.
    The error message is
    [8/1/03 12:38:49:688 IST] 491a6a5 TransactionIm E WTRN0062E: An illegal attempt to use multiple resources that have only one-phase capability has occurred within a global transaction.
    [8/1/03 12:38:49:750 IST] 491a6a5 ConnectO A CONM6014I: Received exception (IllegalStateException) in method (enlist). Issuing new exception (IllegalTransactionStateException). The original exception's stack trace was: java.lang.IllegalStateException
    Thanking you

  • HR Schema: Select salary which is earned by the most employees+how often

    hi all,
    select * from (
    SELECT salary, COUNT(salary)
    FROM employees
    group by salary order by 2 desc) where rownum < 2;
    SALARY | COUNT(SALARY)
    2500 | 6
    Is there another solution for this result (without rownum)?
    thanks

    user13428495 wrote:
    thanks a lotYour solution was way better then all others posted so far. Why? Because you only scanned the employees table one time. All others needed to scan this table two times. Therefore your query will probably execute faster if the data will become more. For small data sets you will not notice any difference.
    Other solutions that will only scan the table one time can be using the KEEP syntax or an analytic function.
    untested
    /* aggregate version */
    select max(count_sal), max(salary) keep (dense_rank first order by count_emps desc)
    from (SELECT salary, COUNT(*) as count_emps
            FROM employees
           group by salary )
    /* maybe the double group works directly without extra select */
    select max(COUNT(*)) cnt, max(salary) keep (dense_rank first order by COUNT(*) desc) salary
    FROM employees
    group by salary;
    /* analytic version with a different output*/
    select v2.* from (
       select v1.*, rank() over (order by count_emps desc)
       from (
          SELECT e.*, count(*) over (partition by e.salary) count_emps rn
          FROM employees e) v1
       order by count_emps desc) v2
    where v2.rn = 1Edited by: Sven W. on Sep 8, 2011 1:53 PM typo correction: dense_rank

  • HANA SLT Schema selections

    Hi ,
    We have  SLT server with 2 configurations setup (schema) , DEV and QA. on one of these configurations we are using transformation with an include where it is calling a source system via RFC. Normally we would point SLT Dev to ECC dev , SLT QA to ECC QA etc but in this case we wanted to point SLT Dev to another system based on the current configuration ID.
    I was trying to get that info from SY table in runtime but couldn't find a way to debug the include.
    1. Is there a way to debug include in transformation in runtime ( I tried a hard code break point with no luck).
    2. Can I find out using a case statment which configuration is being used ? this will drive the RFC to the correct source system.
    Thank you,
    Nick

    Hey Nick
    you may want to move this and the other SLT related question to the SAP LT Replication Server forum.
    - Lars

  • HANA SLT schema selection

    Hi ,
    We have  SLT server with 2 configurations setup (schema) , DEV and QA. on one of these configurations we are using transformation with an include where it is calling a source system via RFC. Normally we would point SLT Dev to ECC dev , SLT QA to ECC QA etc but in this case we wanted to point SLT Dev to another system based on the current configuration ID.
    I was trying to get that info from SY table in runtime but couldn't find a way to debug the include.
    1. Is there a way to debug include in transformation in runtime ( I tried a hard code break point with no luck).
    2. Can I find out using a case statment which configuration is being used ? this will drive the RFC to the correct source system.
    Thank you,
    Nick

    Hi,
    have a look here: http://scn.sap.com/thread/3469839
    and in more detail here: http://scn.sap.com/thread/3419110
    Best,
    Tobias

  • Filling selection extension using bdc

    Hi All,
    I'm trying to call a transaction with a big number (>8) of selection-entries.
    To do this I'm trying to fill a bdcdata table, somewhat like this:
    m_bdc:
      'SAPMM08N' '0100' 'X' 'BDC_OKCODE' '%001',
      'SAPLALDB' '3000' 'X' 'BDC_OKCODE' 'ACPT',
      'SAPLALDB' '3000' ' ' 'RSCSEL-SLOW_I(01)' '9100376753',
      'SAPLALDB' '3000' ' ' 'RSCSEL-SLOW_I(02)' '9100376754',
      'SAPLALDB' '3000' ' ' 'RSCSEL-SLOW_I(03)' '9100376755',
      'SAPLALDB' '3000' ' ' 'RSCSEL-SLOW_I(04)' '9100376756',
      'SAPLALDB' '3000' ' ' 'RSCSEL-SLOW_I(05)' '9100376757',
      'SAPLALDB' '3000' ' ' 'RSCSEL-SLOW_I(06)' '9100376758',
      'SAPLALDB' '3000' ' ' 'RSCSEL-SLOW_I(07)' '9100376759',
      'SAPLALDB' '3000' ' ' 'RSCSEL-SLOW_I(08)' '9100376714',
      'SAPLALDB' '3000' ' ' 'BDC_CURSOR' 'RSCSEL-SLOW_I(01)',
      'SAPLALDB' '3000' ' ' 'BDC_OKCODE' 'LINS',
      'SAPLALDB' '3000' ' ' 'RSCSEL-SLOW_I(09)' '9100376524',
      'SAPLALDB' '3000' ' ' 'BDC_OKCODE' 'ACPT'.
    Problem is that the SAP tries to fill the field RSCSEL-SLOW_I(09) before executing the LINS okcode. This leads to a "not ready for input" error.
    Is there a way to force the execution of the okcode LINS, before fillig other fields? Or, is there an alternative to add a selection table of more than 9 lines to transaction call (the SUBMIT alternative won't work since the called program is a modulepool...)
    Kind regards from a sunny Holland,
    B E R T
    PS. TCode is MIR6 (SAP Retail)

    During BDC the line item will work like no of lines visible...
    actual line item  | table controls lines
    10 | 1
    20 | 2
    30 | 3
    30 | 4
    50 | 5
    60 | 6
    70 | 7
    80 | 8
    here insert on page down ok-code
    90 | 1
    100 | 2
    110 | 3
    120 | 4
    130 | 5
    140 | 6
    150 | 7
    160 | 8
    here insert on page down ok-code
    170 | 1
    while coding we hv to do code for table control line.
    regds
    gv

  • Login SQL per Connection

    I would like to have tha ability to configure a SQL-String or sqlscript like the Connection-Startup-Script but per Connectionconfiguration.
    I need this to set a Contextinformation on the Session.
    I didn't find such a ConfigurationOption until now.
    Developing a SQLDeveloper Extendion such as SchemaSelect (Welcome to Oracle SQL Developer Schema Selection extension) is an Option for me but I didnt get the right starting Point. Developing in Java but with eclipse and not JDeveloper and Link to Oracle SQLDeveloper SDK dident work.
    Thanks for any Help
    Martin Berner

    Barry
    If this is the default, then this must be new behaviour in 2766. I don't recall seeing this happen in the previous version and I wouldn't think it would be something that a lot of users would actually want to see happen by default. As I mentioned before, I personally find this feature to be an annoyance.
    If I may suggest: a better option would be to provide an option in Preferences to declare which startup script to run, if any.
    Regards,
    Jerry

  • Firefox running under Linux Mint (based on Ubuntu) 12 (KDE) won't install extensions for Firefox

    Linux Mint (based on Ubuntu) 12, KDE desktop
    Firefox 10.0
    Started up Firefox right after Mint was installed. On the add-ons page video download helper was shown as a featured extension and I installed it, then rebooted when prompted. After that, Firefox would never install another extension again. Just gives download error.
    I google searched and in a forum I found a post about uninstalling and reinstalling Firefox. I tried it. First time I started it up, it installed video download helper again, but then would not install any other extension after that. I tried numerous extensions I '''KNOW''' are working in Firefox 10.0 because they are working in Firefox over on my Win 7. Everytime I get a download error, either from the addons site or from the Add-ons Manager in Firefox.
    Someone told me on the Mint forums that I needed to add a subdirectory on a certain directory, so I did that. Didn't work.
    It seems Ubuntu disables the root, or cripples it, and I guess Mint does too. You can still use sudo when doing things in Ubuntu (and Mint I would assume, since it's based on Ubuntu) but you can't get true 'superuser' access as I understand it. But, I don't think this would have any bearing on the problem, or my search of the Mint forums would have come up with all kinds of threads screaming about this.

    Problem solved - it was caused by an add-on called "PDF Download 3.0.0.2)
    To fix - in Firefox :
    Click on '''Tools''' command (top of screen)
    Select '''Extensions'''
    click on "'''disable''' button beside '''PDF Download'''
    Close Firefox and restart it.
    Clicking on any pdf file should open a new tab now and the document will appear there.

  • Query OR Stored Proc to get data from Tables from All Schemas in the d/base

    Hello Experts, (I appologize if i am not using the right way to ask questions)
    I have a database, and it has around 400 schemas in it. I have designed a query which will fetch the data from three different table's from Schema1.
    But it will be a tedious process of entering the 400 schemas names and pulling the information.
    I would like to know as to what would be the best possible way to;
    1) Look for all the schemas in the database
    2) Look for those specific tables in the schema, which has the data in the tables.
    3) If the tables are not present, than Ignore that schema and proceed further.
    4) Load the data into a table
    Any help, would appreciate it.
    Thanks!
    The query that i am using is as follows;
    -- Query to select all the Schemas from the database
    select username from all_users
    order by username;
    -- Sample Query to see if Tables exsist in the schema
    SELECT DISTINCT OWNER, OBJECT_NAME
    FROM ALL_OBJECTS
    WHERE OBJECT_TYPE = 'TABLE'
    AND OBJECT_NAME IN ('ENROLLMENT', 'PRDCT', 'L_P_L')
    AND OWNER in ('Schema_1', 'Schema_2', Schema_3', Schema_4',Schema_5', Schema_6')
    ORDER BY OWNER;
    --Query to get the data from the tables in a Schema
    select 'Schema_1@DATABASE_NAME' AS SCHEMA,
    (SELECT MAX(LOAD_DT) FROM Schema_1.LOAD_STATUS) AS MAX_LOAD,
    L_PROD_LINE.PROD_LINE,
    COUNT(DISTINCT ENROLLMENT.MEM_NBR) AS MEMBERSHIP
    FROM
    Schema_1.ENROLLMENT,
    Schema_1.PRDCT,
    Schema_1.L_P_L
    WHERE
    ENROLLMENT.PRODUCT_ID = PRDCT.PRODUCT_ID AND
    PRODUCT.PROD_LINE_ID = L_P_L.ID
    GROUP BY
    L_P_L.PROD_LINE;

    Hi,
    999355 wrote:
    Hello Experts, (I appologize if i am not using the right way to ask questions)See the froum FAQ {message:id=9360002}
    I have a database, and it has around 400 schemas in it. I have designed a query which will fetch the data from three different table's from Schema1.
    But it will be a tedious process of entering the 400 schemas names and pulling the information.
    I would like to know as to what would be the best possible way to;
    1) Look for all the schemas in the database
    2) Look for those specific tables in the schema, which has the data in the tables.
    3) If the tables are not present, than Ignore that schema and proceed further.
    4) Load the data into a table
    Any help, would appreciate it.
    Thanks!
    The query that i am using is as follows;
    -- Query to select all the Schemas from the database
    select username from all_users
    order by username;
    -- Sample Query to see if Tables exsist in the schema
    SELECT DISTINCT OWNER, OBJECT_NAME
    FROM ALL_OBJECTS
    WHERE OBJECT_TYPE = 'TABLE'
    AND OBJECT_NAME IN ('ENROLLMENT', 'PRDCT', 'L_P_L')
    AND OWNER in ('Schema_1', 'Schema_2', Schema_3', Schema_4',Schema_5', Schema_6')
    ORDER BY OWNER; Do you want to give a list of possible schemas (like the 6 above), or do you want to consider all schemas, however many and whatever they are called?
    You can get the right information for ALL_OBJECTS, but, since you known all the objects of interest are tables, ALL_TABLES will be faster and simpler.
    --Query to get the data from the tables in a Schema
    select 'Schema_1@DATABASE_NAME' AS SCHEMA,
    (SELECT MAX(LOAD_DT) FROM Schema_1.LOAD_STATUS) AS MAX_LOAD,
    L_PROD_LINE.PROD_LINE,
    COUNT(DISTINCT ENROLLMENT.MEM_NBR) AS MEMBERSHIP
    FROM
    Schema_1.ENROLLMENT,
    Schema_1.PRDCT,
    Schema_1.L_P_L
    WHERE
    ENROLLMENT.PRODUCT_ID = PRDCT.PRODUCT_ID AND
    PRODUCT.PROD_LINE_ID = L_P_L.ID
    GROUP BY
    L_P_L.PROD_LINE;I take it that the tables in question are ENROLLMENT, PRDCT and L_P_L; they won't have different names in different schemas.
    You can start this way:
    BEGIN
        FOR  c  IN  (
                          SELECT    owner
                  FROM      all_tables
                  WHERE     table_name  IN ( 'ENROLLMENT'
                                            , 'PRDCT'
                                  , 'L_P_L'
                  GROUP BY  owner
                  HAVING    COUNT (*) = 3
        LOOP
            ...  -- Now get the results for tables in the c.owner schema
        END LOOP;
    END;
    /This will find the schemas that have all 3 of those tables.
    Inside the loop, write another dynamic query. All that will change is the value of c.owner
    Sorry, I'm running out of time now. I hope this helps.

  • Extension of idoc for IBASE

    Hi all,
    my requirement is to extend the IDOC for replicating IBASE component to a non SAP system.
    So I have created a Z idoc via trx code WE30. Then I created a Z segment via trx code WE31. Once I had these I went to trx code WE30 and I selected extension in order to create an extension Z, which I included in my IDOC: ZIBASE_MQSERIES.
    The extension is called: ZIBASE_MQSERIES10.
    So I went to TRX code WE82 and I associated the following:
    Message type                           Idoc Base                           Extension
    CRMXIF_IBASE_SAVE_M         ZIBASE_MQSERIES           ZIBASE_MQSERIES10
    Unfortunately I cannot see in my IDOC structure my brand new fields.
    Should I suppose to enhance the FM for outbound replication, via user- exits?
    The fact is the brand new segment Z105_CUSTOMER_FOR_POD must be populated via BADI CRMXIF_IBASE_MAP, through the method IF_EX_CRMXIF_IBASE_MAP~CHANGE_MAPPED_DATA_OUT.
    Unfortunately navigating through the structure  CS_DATA_MAPPED of badi CRMXIF_IBASE_MAP, I cannot see my brand new segment Z105_CUSTOMER_FOR_POD, which actually contains 5 brand new fields.
    Where is the problem?
    Please help, I'll assure points as usual.
    Best regards,
    AndreA

    Just as I haven't received any answers, I declare this post closed

Maybe you are looking for

  • How do you play music from a playlist on an iPhone without using WiFi and iCloud?

    I travel in a RV and frequently park in campgrounds that do not have WiFi. I've been told I can copy iTunes playlists (selected from my copied CDs on my Mac) onto my iPhone 5S. I can then, using a mini stereo jack go from the output on the iPhone to

  • How to connect CRM 7 to Java Backend? Test?

    Hi All: How do I connect the CRM ABAP stack to an installed standalone (as per install guide) stack? I have followed the install manual but I still do not see how the connection is made! How do I test this connection to know whether it is working or

  • Docuemnt uploading not opening in cv01n

    Dear all We want to upload a document in the SAP system by using portal We have created a Z RFC and in this rfc we are calling : SCMS_XSTRING_TO_BINARY  to convert to binary BAPI_DOCUMENT_CREATE2 : when debugging , the docuemtn number is generated CV

  • Memory Profiling in Web Start

    Hi There, I have a memory leak somewhere in my program, even after running the Garbage Collector and setting everything in sight to null. Is there a way that I can run a webstart program from the command line, and have memory profiiling through -Xrun

  • Table scrolling...

    I have a user who is using the compensation workbench and they are wanting the ability to scroll vertically through the table while the headings stay stationary as you can do in Microsoft Excel. The specific page she is using is: /oracle/apps/ben/sel