DN change for GROUPS using API

I have this code I have change the attributes of OID GROUP with:

ModPropertySet m = new ModPropertySet();
Group mygroup;
myGroup = new group (Util.IDTYPE_DN, groupName);
m.addProperty (LDIF. RECORDCHANGE_TYPE_MODDN, "distinguishedname", newDN); _
m.addProperty (LDIF. ATTRIBUTE_CHANGE_TYPE_REPLACE, 'displayname', newDisplayName);
m.addProperty (LDIF. ATTRIBUTE_CHANGE_TYPE_REPLACE, 'description', newDescription);
mygroup.setProperties (dirctx, m);


The piece above the code works fine if I exclude the line with distinguished name or DN.
Otherwise, it returns this exception:
NamingException met in ldapModify [LDAP: error code 65 could not find distinguished name in the list of mandatory or optional attributes]


Interestingly, if I put a bad newDN, such as 'Hello', (not in the form CN =...,...) it says:
NamingException encountered in ldapModify cn = Tester, cn = groups, dc = pooyaco, dc = com: [LDAP: error code 34 - DN syntax]

My question is that if I change DN using APIs like this or not? and how?

Thank you.
Michèle

Change the RDN or DN to a modRDN/modDN operation and not a direct LDAP modify.

For this, you can use the JNDI Java API, see:
http://Java.Sun.com/docs/books/tutorial/JNDI/LDAP/rename.html

ARO
Octavian

Tags: Fusion Middleware

Similar Questions

  • How to load an XML file for salesforce using API BULK?

    Hello

    Please let me know how to download an XML file for salesforce using API bulk?

    Thank you

    AND

    Hello

    I think it's a matter of SalesForce.com more and think that you will have better luck in looking at SOAP API Developer Guide for salesforce. Sending of a server API SOAP request is very straight forward and there are several tutorials and well documented in this topic.

    See you soon,.

    Stefan

  • See the grouping using API BC recovery products

    How can I retrieve products by the group using recovery API BC?

    Thanks for the quick response.

    It solves the problem by defining condition where 'GroupingDefault': 'true '.

  • Change the password using API web services?

    I can create and update users using Adobe Connect API web services, but how do I change the password of a user?

    I use the API "principal-update" that has a setting of password, but according to the documentation, it is only used for new users... not the users.

    So exactly how to change user password using the web services?

    Hello

    There is an API that can be used to change the password: user-update - pwd

    Format of the API :

     

    http://server_name/API/XML?action=user-update-pwd&user-ID=integer&password-old=string&pass = word string - string verify password = & session = BreezeSeesionCookieValue.


    Hope this helps!

    Thank you

    Nikhil

  • Create Source for Interface - using API

    You will need to create source for newly created using API interface.

    Tried it with code, get below error below

    During the synchronization of a new object was found through a relationship that was not marked cascade PERSIST:

    Please help on this, thanks.

    Here is my code component,


    The list of ds < DataSet > = next_intr.getDataSets ();
    < DataSet > iterator itr = ds.iterator ();
    DataSet ds_nxt1 = itr.next ();
    String ds_name = ds_nxt1.getName ();
    If (ds_name.equalsIgnoreCase (ds_nxt. GetName()))
    {
    Collection < SourceDataStore > ds_sources = ds_nxt.getSourceDataStores ();
    ds_nxt1.addSourceDataStore (ds_sources. Iterator(). Next());
    }

    http://odiexperts.com/creating-permanent-interface-based-on-model-level-2/

    http://odiexperts.com/creating-interface-for-single-source-and-target/

  • Research of interface software for FlexRIOs using API c do I need LabVIEW once I use the C API generator?

    Current versions of software:

    LabVIEW 2014 SP1

    LabVIEW FPGA 2014

    Xilinx Vivado

    Hi all

    I plan to interface my FlexRIOs to the software programmed in C, then the C API FlexRIO is excellent.

    My question is more economy of memory sake.

    I have a PC with Visual Studio, I want to add the minimum amount of software development.

    If I have a station (a separate Visual Studio PC PC) FPGA development with all LabVIEW software necessary to take the step of the use of the generator of the C API to create the necessary files of C and H, should what software I on the development PC Visual Studio in interface with the files in the generated C API?

    If all goes well, it's just (from the help)

    What you need to get started

    • Drivers for devices OR RIO August 2013 or later

    However... The help of the C API, it gives me the full list of the software including LabVIEW and LabVIEW FPGA... (below)

    What you need to get started

    In addition to a RIO device like a CompactRIO reconfigurable chassis, a Single-Board RIO device or RIO PCI or PXI hardware, you need the following software to use FPGA Interface C API.

    • LabVIEW 2009 SP1 or later (32-bit only)
    • LabVIEW FPGA Module 2009 SP1 or later (32-bit only)
    • Drivers for devices OR RIO August 2013 or later
    • Operating system supported development
      • Windows 8 or 8.1 (32-bit or 64-bit)
      • Windows 7 Professional (32-bit or 64-bit)
      • Windows Vista Business (32-bit or 64-bit version)
      • Windows XP Professional SP2
      • Windows Server 2008 R2 (64-bit version)
      • Windows Server 2003 (64-bit version)
    • Target supported OS
    • Supported C/C++ compiler

    So I have LabVIEW and LabVIEW FPGA on the development PC?

    (If all goes well no....)

    Thank you

    Hey Colonel1013,

    With the C API, you only need LabVIEW to build a bitfile and run the generator of C API tool, but LabVIEW is not required to run. That is, you need all the software listed, but it must not all be on the same machine. You can transfer the file lvbitx and the .c and .h files generated on another machine where you need only NOR-RIO and Visual Studio installed.

    Sebastian

  • Change the User Manager api for the update

    Hi all

    I'm trying to change some attributes using the UserManager change call.

    I get the exception below-

    Caused by: oracle.iam.platform.kernel.ValidationFailedException: this attribute is not supported for the change of the bulk operation.

    at oracle.iam.identity.usermgmt.impl.handlers.modify.ModifyUserValidationHandler.validate(ModifyUserValidationHandler.java:192)

    at oracle.iam.platform.kernel.impl.OrchProcessData.validate(OrchProcessData.java:246)

    at oracle.iam.platform.kernel.impl.OrchProcessData.runValidationEvents(OrchProcessData.java:190)

    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.validate(OrchestrationEngineImpl.java:728)

    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.process(OrchestrationEngineImpl.java:579)

    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:492)

    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:409)

    to s

    I am able to change using the same api string or text attributes, I get the above error only when I add an attribute of date format.

    HM.put (CommonConstants.EMPLOYEESTATUS, "T");

    HM.put (CommonConstants.EMPSTATUSDESC, CommonConstants.TERMINATED);

    HM.put (CommonConstants.TERMINATIONDATE, new Date ((new java.util.Date () .getTime ()));

    Employee status and type PEM desc are attributes of text and they have updated if I comment the termdate entry in the hash table.

    Pls let me know.

    Note: I checked to find and use in bulk for all the attributes that I spend in the hash table.

    Thanks in advance.

    ~ THE VSN

    Thank you J_IDM.

    I just followed the same same approach before, but the real problem was after I did the editable attribute, there is actually an update of the User.xml.

    Where the question.

    I took mds export and manually updated.

    ~ THE VSN

  • Change the display time for grouped objects

    Hello, I have problems to change the display time for the grouped items. I use 7 Captivate and I love how now grouped items display only as an element in the timeline because it reduces the number of lines visiblein the chronology for each object on a slide. However, now that the grouped objects is more individually appear in the timeline panel, I can't see all the adjustments for group objects together.

    If someone else has had this problem and is there a work around? My main problem is that if I need to extend or shorten the audio to the slide, and I assigned a tip action to be grouped in order to adjust the grouped object to match the audio, I must now separate adjust, regroup, then reset the advanced action by using the name of the new group. It's frustrating and tedious.

    To enlarge and view the items grouped on the timeline, you need to click the arrow next to the group name. Once you develop, you can select the individual object and adjust the timings.

    Alternatively, you can select the individual object in the Group on the slide and adjust the timing of the accordion of timing. You can do it without separate.

    Anthony

  • Hi all OneHow can you buy an IBook UK not available in Indian store a store; When you change the status of your country, your billing information and credit cards won't work; is there a solution for this using the same method of billing.

    Hello world

    How can buy you an IBook of UK not available in Indian store a store; When you change the status of your country, your billing information and credit cards won't work; is there a solution for this using the same method of billing

    There is no solution, if it is not available in your area, you can't buy it.

  • How to change the rendering used for video playback in Windows Media Center Version 6 engine

    I usually use other media players, but I would like to first of all using Windows Media Center. However for the moment video playback is not good because of the weird colors (everything is displayed in black and Red instead of normal colors). When you use other media players, I use the Haali rendering engine which gives good results for video playback.

    Can you tell me how to change the rendering used by Windows Media Center?

    Also, I noticed the same weird color effect in Windows Media Player 11.

    Hi Woobee,

    1. What is the brand and model of the computer?

    2. what graphics card use on the computer?

    If you are using an Nvidia graphics card on the computer, in the Nvidia Desktop Manager, you will find an option for saturation to ensure it is set to 100%.

    And if you are any other graphics card on the computer and search for a similar option for saturation.

    If the previous step fails in Windows media player, so be sure that the hue and Saturation are defined by default.

    1. click on the arrow on the tabplaying , point to enhancements, and then clickcolor picker.

    2. do one of the following:

    1. to return to the default color, click thereset link.

    Also, make sure that the video settings are set by default.

    1. start the playback of a file.

    2. click on the arrow on the tabplaying , point to improvements, and then clickvideo settings.

    3. click onreset.

    Check also in Windows Media Center if the

    1. on theStart screen, go to tasks, click settings, clickgeneral, then Visual and sound effects.

    2. undercolors ensure that Windows media center standard is enabled.

    Turn off Visual and sound effects in Windows Media Center

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-off-Visual-and-sound-effects-in-Windows-Media-Center

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • BlackBerry smartphones ' you have used all your available device pin changes for your My World account.

    I recently replaced my BB Tour Sprint with Sprint, and when you try to reinstall my apps world bought for BB looks like this: "you have used all your available device pin changes for your My World account.» I'm getting this error when I try to use my BB Tour with the NEW PIN {led by privacy}, the email account used is {under the direction of privacy} a way to solve this issue? I had a few exchanges with Sprint, because Tour trackball problems. I enjoy using App World, however I can't buy something again or recover my previous purchases with this error. My previous PIN is 30BE5BD9 (I got to the list because the BB tech support link listed my new PIN invalid - as well as my old pin code). Please notify.

    PS: Crackberry App World made a PIN exchange a simple question - simply plug your new PIN and you can easily recover your purchased applications. RIM's App World support really dropped the ball on this one - there are a lot of tricks of BB exchanged and this App World problem really needs to be rectified. There were already several messages on this forum about it, and the owners are not able to submit their complaint to the BB technical support because the link would not accept their new PIN! Shame on you RIM.

    Hello!

    There is actually a fix for all your questions, but the first that needs to be fixed is the answer to bad PIN code on the RIM support site. However, this hotfix cannot be displayed publicly. Therefore, please check your private Messages on this site for a PM from me with these instructions.

    BTW - if you think also that your message has been changed by the mods to delete any personal information (pines, e-mail addresses, etc.). .. as a public forum, it is generally not a good idea to post them here. In addition, these forums are a user to channel... support not a portal user-to-RIM...

    See you soon!

  • Script for the use of rich text change

    I use the script below to add instructions for the use of Textfields. I would like to do the same thing with textfields in the rich text format, but this script no longer works when I put in the field to accept rich text. Can you tell me how to change the script, so it does not work in a ttext field that allows the user to enter rich text?

    MeetingMinutes. #subform [2]. Attendees::Initialize - (JavaScript, client)

    this.execEvent ("exit");
    This.format.Picture.Value = "null {'}" + this.assist.toolTip.value + ""} "";


    MeetingMinutes. #subform [2]. Attendees::Enter - (JavaScript, client)

    this.fontColor = "0,0,0";
    This.font.posture = "normal";


    MeetingMinutes. #subform [2]. Attendees::exit - (JavaScript, client)

    If (this.isNull)
    {
    this.fontColor = "153,153,153";
    This.font.posture = "italic";
    }


    MeetingMinutes. #subform [2]. Attendees::prePrint - (JavaScript, client)

    This.format.Picture.Value = "";


    MeetingMinutes. #subform [2]. Attendees::postPrint - (JavaScript, client)

    This.format.Picture.Value = "null {'}" + this.assist.toolTip.value + ""} "";

    Thank you

    -Don

    Hi Don,

    Similar to your script above, but try this in the event enter:

    if (this.rawValue === this.assist.toolTip.value) {
              this.rawValue = "";
    }
    

    and then exit on the event:

    if (this.rawValue === null) {
              this.rawValue = this.assist.toolTip.value;
    }
    

    ALTER depending on the initialize event and formatting, etc.

    Niall

  • Change keyboard shortcuts, use simple characters that are normally reserved for tool Control Panel

    I have a script that I use now that I want to replace the bar cropping tool,

    Can I deselect C for the use of the current culture in keyboard shortcuts. When I then go to menus keyboard shortcuts of applications, I am looking to replace the scripts files > "croptool.jsx" and select "C" and it won't let me not use it as it takes a combination of keys.

    Then I exported the keys and then open in Text edit.

    It seems straight forward, so I added the line up above the vanishing point.

    < command type='Dynamics' name='Script_CROPTOOL'>

    < Shortcut >C< / shortcut >

    < / order >

    < command type='Dynamics' name=' Vanishing Point '>

    < Shortcut >Cmd + Opt + V< / shortcut >

    < / order >

    Then when I load it. He worked in part. In this C now appears in the menu. So anyone know if I can get this working correctly? A little more code can be used to allow simple letters in the wok in "application menus.

    Matt

    Screen Shot 2016-06-01 at 11.46.12.png

    Under file > Scripts > Script event handler you can bind an Action or Script to an event.

    Select the tool crop could benefit, although I have not yet tested.

  • Made a change in Group Policy: how to disable: "this operation has been cancelled due to restrictions in effect on this computer" notification?

    "This operation has been cancelled due to restrictions in effect on this computer"

    There seems to be a lot of people who get this notification.  Too bad Microsoft chose not to tell us why its happening!

    Is it possible to disable this notification?  I've made a few changes in group policy limit some startup programs.  Now, I suppose that this appears when the program tries to start.  Really irritating.  Maybe there's something in group policy to restrict the notification?  Then there will be another notification telling me that this notification applies?  Laughing out loud!

    Hello

    I suggest you to ask your question in the Forum Pro Windows XP IT for assistance. We have a dedicated team to help you with such questions.

    Hope the information is useful.

  • The execution plan changes for the same query.

    Hi all

    This issue was raised before also, but still not able to find the real cause of this.

    Thread1:
    Re: Research of fragmentation of the table in Oracle 8.1.6.3.0

    Thread2:
    CBC latch and buffer busy await you on the same table.

    It comes, sometimes hammers server 100% CPU utilization with free latch and buffer busy wait events.

    We found a single query consumes high CPU usage that is run by different sessions.

    This query have two types of execution plans, where one is accurate and is not (its primary key hit index index no appropriate means present on the table)

    Because its primary key index hit repeatedly at various sessions, some sessions are powerful db file sequential read and a few sessions waiting buffer busy waits for event. Also during this time a few sessions waiting for latch free event.

    My doubt is how to sql even with different literal values execution plan changes and causes a prob.
    select count(*),event from v$session_wait group by event;
      COUNT(*) EVENT
    ---------- ----------------------------------------------------------------
           165 SQL*Net message from client
             1 SQL*Net message to client
             3 buffer busy waits
             2 db file parallel read
            18 db file sequential read
            10 latch free
             5 log file sync
             1 pmon timer
             6 rdbms ipc message
             1 smon timer
    
    SQL> select sid from v$session_wait where event='db file sequential read';
           SID
    ----------
            26
            58
            82
           107
           116
           223
           212
           203
           192
           173
           161
           157
           150
           147
           254
           238
           229
           112
           101
            81
            68
    
    SQL> select spid, sid, s.serial#, p.program from v$session s, v$process p where paddr=addr and sid=&SID;
    Enter value for sid: 161
    old   1: select spid, sid, s.serial#, p.program from v$session s, v$process p where paddr=addr and sid=&SID
    new   1: select spid, sid, s.serial#, p.program from v$session s, v$process p where paddr=addr and sid=161
    
    SPID             SID    SERIAL# PROGRAM
    --------- ---------- ---------- ------------------------------------------------
    4231             161      49569 oracle@tfrdb3 (TNS V1-V3)
    
    
    SQL> select sql_text
    from v$process a,
         v$session b,  2    3
         v$sql c
    where a.addr = b.paddr and
         b.sql_hash_value = c.hash_value and
        a.spid = &PID;  4    5    6    7
    Enter value for pid: 4231
    old   7:     a.spid = &PID
    new   7:     a.spid = 4231
    
    SQL_TEXT
    --------------------------------------------------------------------------------
    SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09292AMR
    10B41FE' AND TYPE IN (11, 28, 25, 18, 60, 13) AND (LOG_SEQ>'234225222' OR TYPE =
     18 AND LOG_SEQ='234225222') ORDER BY TIME_STAMP ASC
    
    SQL> set autotrace traceonly exp
    SQL> SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM amrwf1.LOG WHERE ID = '09292AMR10B41FE' AND TYPE IN (11, 28, 25, 18, 60, 13) AND (LOG_SEQ>'234225222' OR TYPE =18 AND LOG_SEQ='234225222') ORDER BY TIME_STAMP ASC;
    
    Execution Plan
    ----------------------------------------------------------
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=11 Card=2 Bytes=126)
       1    0   SORT (ORDER BY) (Cost=11 Card=2 Bytes=126)
       2    1     CONCATENATION
       3    2       TABLE ACCESS (BY INDEX ROWID) OF 'LOG' (Cost=4 Card=1
              Bytes=63)
    
       4    3         INDEX (UNIQUE SCAN) OF 'PK_LOG_LOG_SEQ' (UNIQUE) (Co
              st=3 Card=1)
    
       5    2       TABLE ACCESS (BY INDEX ROWID) OF 'LOG' (Cost=4 Card=1
              Bytes=63)
    
       6    5         INDEX (RANGE SCAN) OF 'PK_LOG_LOG_SEQ' (UNIQUE) (Cos
              t=3 Card=1)
    
    
    SQL> select spid, sid, s.serial#, p.program from v$session s, v$process p where paddr=addr and sid=&SID;
    Enter value for sid: 147
    old   1: select spid, sid, s.serial#, p.program from v$session s, v$process p where paddr=addr and sid=&SID
    new   1: select spid, sid, s.serial#, p.program from v$session s, v$process p where paddr=addr and sid=147
    
    SPID             SID    SERIAL# PROGRAM
    --------- ---------- ---------- ------------------------------------------------
    6255             147      38306 oracle@tfrdb3 (TNS V1-V3)
    
    SQL> select sql_text
    from v$process a,
         v$session b,
         v$sql c  2    3
    where a.addr = b.paddr and
         b.sql_hash_value = c.hash_value and
        a.spid = &PID;  4    5    6    7
    Enter value for pid: 6255
    old   7:     a.spid = &PID
    new   7:     a.spid = 6255
    
    SQL_TEXT
    --------------------------------------------------------------------------------
    SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09273AMR
    62B4894' AND TYPE IN (11, 28, 25, 18, 60, 13) AND (LOG_SEQ>'223324996' OR TYPE =
     18 AND LOG_SEQ='223324996') ORDER BY TIME_STAMP ASC
    
    
    SQL> set autotrace traceonly exp
    SQL> SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM amrwf1.LOG WHERE ID = '09273AMR62B4894' AND TYPE IN (11, 28, 25, 18, 60, 13) AND (LOG_SEQ>'223324996' OR TYPE =18 AND LOG_SEQ='223324996') ORDER BY TIME_STAMP ASC;
    
    Execution Plan
    ----------------------------------------------------------
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=1538 Card=736 Bytes=
              46368)
    
       1    0   SORT (ORDER BY) (Cost=1538 Card=736 Bytes=46368)
       2    1     TABLE ACCESS (BY INDEX ROWID) OF 'LOG' (Cost=1527 Card=7
              36 Bytes=46368)
    
       3    2       INDEX (RANGE SCAN) OF 'LOG_ID' (NON-UNIQUE) (Cost=32 C
              ard=736)
    
    
    
    SQL> select spid, sid, s.serial#, p.program from v$session s, v$process p where paddr=addr and sid=&SID;
    Enter value for sid: 82
    old   1: select spid, sid, s.serial#, p.program from v$session s, v$process p where paddr=addr and sid=&SID
    new   1: select spid, sid, s.serial#, p.program from v$session s, v$process p where paddr=addr and sid=82
    
    SPID             SID    SERIAL# PROGRAM
    --------- ---------- ---------- ------------------------------------------------
    6172              82      45378 oracle@tfrdb3 (TNS V1-V3)
    
    
    SQL> select sql_text
    from v$process a,
         v$session b,
         v$sql c
    where a.addr = b.paddr and
         b.sql_hash_value = c.hash_value and  2
      3      a.spid = &PID;  4    5    6    7
    Enter value for pid: 6172
    old   7:     a.spid = &PID
    new   7:     a.spid = 6172
    
    SQL_TEXT
    --------------------------------------------------------------------------------
    INSERT INTO LOG (ID,TIME_STAMP,TYPE,ERROR,INSTANCE,RULE_NUM,RULE_TYPE,PRIORITY,F
    LAGS,NAME,BATCH,O_RESOURCE,QUEUE,NEW_QUEUE,SERVER,FORM,WORKSET) VALUES (:V001,:V
    002,11,0,0,3,1,0,1,:V003,:V004,:V005,:V006,:V007,:V008,:V009,:V010)
    
    INSERT INTO LOG (ID,TIME_STAMP,TYPE,ERROR,INSTANCE,RULE_NUM,RULE_TYPE,PRIORITY,F
    LAGS,NAME,BATCH,O_RESOURCE,QUEUE,NEW_QUEUE,SERVER,FORM,WORKSET) VALUES (:V001,:V
    002,11,0,0,3,1,0,1,:V003,:V004,:V005,:V006,:V007,:V008,:V009,:V010)
    
    INSERT INTO LOG (ID,TIME_STAMP,TYPE,ERROR,INSTANCE,RULE_NUM,RULE_TYPE,PRIORITY,F
    LAGS,NAME,BATCH,O_RESOURCE,QUEUE,NEW_QUEUE,SERVER,FORM,WORKSET) VALUES (:V001,:V
    002,11,0,0,3,1,0,1,:V003,:V004,:V005,:V006,:V007,:V008,:V009,:V010)
    
    SQL_TEXT
    --------------------------------------------------------------------------------
    
    INSERT INTO LOG (ID,TIME_STAMP,TYPE,ERROR,INSTANCE,RULE_NUM,RULE_TYPE,PRIORITY,F
    LAGS,NAME,BATCH,O_RESOURCE,QUEUE,NEW_QUEUE,SERVER,FORM,WORKSET) VALUES (:V001,:V
    002,11,0,0,3,1,0,1,:V003,:V004,:V005,:V006,:V007,:V008,:V009,:V010)
    
    INSERT INTO LOG (ID,TIME_STAMP,TYPE,ERROR,INSTANCE,RULE_NUM,RULE_TYPE,PRIORITY,F
    LAGS,NAME,BATCH,O_RESOURCE,QUEUE,NEW_QUEUE,SERVER,FORM,WORKSET) VALUES (:V001,:V
    002,11,0,0,3,1,0,1,:V003,:V004,:V005,:V006,:V007,:V008,:V009,:V010)
    
    INSERT INTO LOG (ID,TIME_STAMP,TYPE,ERROR,INSTANCE,RULE_NUM,RULE_TYPE,PRIORITY,F
    LAGS,NAME,BATCH,O_RESOURCE,QUEUE,NEW_QUEUE,SERVER,FORM,WORKSET) VALUES (:V001,:V
    
    SQL_TEXT
    --------------------------------------------------------------------------------
    002,11,0,0,3,1,0,1,:V003,:V004,:V005,:V006,:V007,:V008,:V009,:V010)
    
    INSERT INTO LOG (ID,TIME_STAMP,TYPE,ERROR,INSTANCE,RULE_NUM,RULE_TYPE,PRIORITY,F
    LAGS,NAME,BATCH,O_RESOURCE,QUEUE,NEW_QUEUE,SERVER,FORM,WORKSET) VALUES (:V001,:V
    002,11,0,0,3,1,0,1,:V003,:V004,:V005,:V006,:V007,:V008,:V009,:V010)
    How to avoid this... why its different execution plan using (I mean bad index PK)

    Is it possible to avoid this?

    If any details please check out some of my previous post on this specific URL (above)

    -Yasser

    My doubt is how to sql even with different literal values execution plan changes and causes a prob.

    Different literal values cause analysis difficult.
    Hard analysis includes the re-evaluation of the best path.
    Literal value is included in the assessment of the selectivity for the scan interval (log_seq >...)

    See
    http://www.centrexcc.com/A%20Look%20under%20The%20Hood%20Of%20CBO%20-%20The%2010053%20Event.ppt.PDF
    http://www.centrexcc.com/fallacies%20Of%20The%20Cost%20Based%20Optimizer.PDF
    more the book of Jonathan Lewis which other threads, I believe that you already have.

    You must lower your CPU.
    Previous discussions, if the situation is still the same, it sounded like hard analysis particularly with this SELECTION against the NEWSPAPER plays an important role in that.

    How to avoid this... why its different execution plan using (I mean bad index PK)

    The points raised in the previous discussion remain valid.
    -Do you have access to this SQL to change?
    for example using bind variable or trick it if necessary due to problems caused by data as discussed in the previous thread.
    - Or you could it repoint the view to a view and a hint?
    -If a particular user makes this sql, could affect you cursor_sharing just for this user. If not, you should consider implementing pan-Canadian database.

    Oracle 8.1.6 still?

Maybe you are looking for

  • Satellite L305D - Touchpad does not work after installing Windows 7

    I had recently installed Windows7 32 Bit there is almost a week on my Toshiba Satellite L305D-S5934, and now the tablet to the PC no longer works. I was reduced to using an optical mouse on my computer. I've updated all my drivers and firmware etc on

  • Wireless-G Access Point WAP54G &amp; Thompson SpeedTouch ST585

    For the life of me, I can't get this device to work. I am trying to create a point of access to a device not pc a FTA Receiver. The FTA Receiver needs access to the internet and works very well with an ethernet cable. I had hoped to use the WAP54G as

  • My Internet Explorer browsing history

    I experienced various problems with my computer now that I have other people who use it. I'm afraid that they are visiting different things on facebook and other Web sites. I wanted to know if there is a way I could see absolutely everything is displ

  • White screen after that the virus KLPD, same save modus starts

    Hi, yesterday while surfing the internet has become my white screen, it was the virus KLPD. I found on the internet that I had to download the kaspersky rescue disk and run it on my pc so I could scan my pc on the virus and after that my pc should be

  • Weird problem of GPU in 2015.5

    I upgraded to the latest version of Photoshop, eager to try some of the new features and discovered that he did not see my GPU. Then I restarted Photoshop to check and looked in preferences, Performance and saw that Photoshop has been correctly detec