How and when the realDelete method gets called for a custom adapter?

Hi,
I am a newbie in sun identity manager and is in the process of writing a custom adapter for documentum resource.
While I am successful in creating the resource,then provisioning the resource to an user(i.e creating an account of the user on documentum ) updating the user through idm I am not being able to deprovision the resource.
Actually in the trace I am not seeing the realDelete method getting called anywhere,but I am sure if it gets called it would do its designated job bcos as a standalone code it's working.
Does this mean I am not properly doing deprovisioning in sun-idm?
What method I am employing is in the assignment list of the user,i am putting the resource from assigned to unassigned side(i.e right to left side) just as in case of provisioning I have put it from left to right.
Is it the standard way of deprovisioning or am I missing something here?
Any sort of help would be highly appreciated.
Thanks
anjan

You need to read that manual with more caution. It has all info you need.
1. Table modification info stays in shared pool and flushed into dictionary by Oracle automatically. You can explicity do it by calling dbms_stats.flush_database_monitoring_info.
2. dba_tab_modifications view = How many DML are applied to target table?
dba_tab_statistics.stale_stats = Is statistics stale?
3. When you call dbms_stats.gather... familiy, Oracle flushed the stale info to disk. You gnerally don't need to care about that.
4. Statistics is considered to be stale, when the change is over 10% of current rows.
(As of 11g, this value can be customized per objects. Cool feature)
create table t_stat(id int);
insert into t_stat select rownum from all_objects where rownum <= 100;
commit;
exec dbms_stats.gather_table_stats(user, 'T_STAT');
select * from sys.dba_tab_modifications where table_name = 'T_STAT';
No row selected
select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
NO
insert into t_stat select rownum from all_objects where rownum <= 20;
select * from sys.dba_tab_modifications where table_name = 'T_STAT';
No rows selected <-- Oops
select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
NO  <-- Oops
exec dbms_stats.flush_database_monitoring_info;
select * from sys.dba_tab_modifications where table_name = 'T_STAT';
TABLE_OWNER     TABLE_NAME     PARTITION_NAME     SUBPARTITION_NAME     INSERTS     UPDATES     DELETES     TIMESTAMP     TRUNCATED     DROP_SEGMENTS
UKJA     T_STAT               20     0     0     2008-01-18 PM 11:30:19     NO     0
select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
YES

Similar Messages

  • How and when the database release a row lock?

    Dear experts,
    We are using the following statement to obtain a row lock in a table in the database(ORACLE of course),
    SELECT * FROM {TABLE_NAME} WHERE ID = 1 for update
    and if we succeed grabbing the row lock we will continue to issue a update statement every 30 seconds to preserve the lock as far as possible.
    here is the update statement to preserve the lock,
    UPDATE {TABLE_NAME} SET time = ? WHERE ID = 1.
    As you see more longer we keep holding the row lock , more update statements are submitted in the pending transaction.
    In normal case our application can grab the exclusive row lock and works for a long time,however sometimes a connection reset exception is thrown
    and our application will close the connection(I assume the pending transaction will be rolled back by the database) and exit the JVM.
    Since other applications will keep trying to grab the same row lock to become the master role,
    we expect one of them can succeed but they are all failed because the database has not released the row lock as expected.
    Can someone explain more details about how and when the row lock can get released in our use case?
    Thanks,
    SuoNayi
    Edited by: SuoNayi on 2013-5-30 上午8:12

    Hm. Is this part of an XA transaction by any chance? I know that Oracle maintains separate bookkeeping for such transactions which can cause rows to stay 'locked' even when the regular DBA views will indicate there is no user currently locking the record at all. I have no idea about the actual details and what you need to do to clean up such a situation, that is something a DBA should know and do.
    If not... well this is more of a question for people who know the DBMS, which makes it a target for the Oracle DBMS forums. Java developers don't tend to have DBA-level knowledge of the database, you should ask the question where you have more chance of people with expertise answering stuff:
    General Database Discussions

  • How to identify the bill-to-site location for a customer

    Hi All,
    How to identify the bill-to-site location for a customer.
    I want to determine the language output of the AR invoice report based on the bill-to site address.
    If the bill-to site is located in Sweden, the document should be in Swedish. If the bill-to site is located outside of Sweden, the document should be in English.
    I have defined a query but not able to identify from which column I can identify the bill-site-location.
    select --a_bill.org_id,party_name,account_number,a_bill.CUST_ACCT_SITE_ID
    from
    apps.hz_parties party
    ,apps.hz_party_sites party_site
    ,apps.hz_cust_accounts b
    ,apps.hz_cust_acct_sites_All a_bill,
    apps.hz_locations loc,
    apps.hz_cust_site_uses_all u_bill,
    apps.ra_customer_trx_all trx
    where party.party_id=party_site.party_id
    AND a_bill.party_site_id = party_site.party_site_id
    AND b.party_id = party.party_id
    AND loc.location_id = party_site.location_id
    AND u_bill.cust_acct_site_id = a_bill.cust_acct_site_id
    AND trx.bill_to_customer_id = b.cust_account_id
    AND trx.bill_to_site_use_id = u_bill.site_use_id
    Thanks,
    Joohi

    Hi ,
    Check this apps.hz_cust_site_uses_all here site_use_code will be there , you can find Bill_To Ship_to , from there you can find the site_use_id and location Id
    Thanks
    Shagul

  • How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    Dear Friends,
    I am absolutely agree with your answer .
    But my question is,
    Lets say.....
    One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
    So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
    Hope you all understood my requirement .
    Thanks & Regards,
    Aditya

  • How and when the table will go STALE ?

    Hi,
    I want to check how and when a table will be marked as STALE.
    I have done following steps
    ---- Created a table --------------------
    SQL> create table t1 (id number, name varchar2(100)) ;
    Table created.
    ---- Inserted decent amount of data --------------
    SQL> declare v1 number; begin for i in 1..25 loop
    2 insert into t1 select object_id, object_name from all_objects ; commit; end loop;
    3 end;
    4 /
    PL/SQL procedure successfully completed.
    SQL> select table_name, status, num_rows, last_analyzed, monitoring from user_tables where table_name='T1';
    TABLE_NAME STATUS NUM_ROWS LAST_ANAL MON
    T1 VALID YES
    ---- Gather stats -----------------
    SQL> exec dbms_stats.gather_table_stats( user, 'T1', METHOD_OPT => 'FOR ALL COLUMNS SIZE 1');
    PL/SQL procedure successfully completed.
    SQL> select table_name, status, num_rows, last_analyzed, monitoring from user_tables where table_name='T1';
    TABLE_NAME STATUS NUM_ROWS LAST_ANAL MON
    T1 VALID 115544 18-JAN-08 YES
    ---- Insert more data ---------------------------
    SQL> declare v1 number; begin for i in 1..25 loop
    2 insert into t1 select object_id, object_name from all_objects ; commit; end loop;
    3 end;
    4 /
    PL/SQL procedure successfully completed.
    Now, after I have analyzed the table and get the stats in, I loaded good amount of data. So, in theory, this table should be marked as STALE.
    Where can I check if this table has been marked STALE? when ?
    Please guide.
    Thanks

    You need to read that manual with more caution. It has all info you need.
    1. Table modification info stays in shared pool and flushed into dictionary by Oracle automatically. You can explicity do it by calling dbms_stats.flush_database_monitoring_info.
    2. dba_tab_modifications view = How many DML are applied to target table?
    dba_tab_statistics.stale_stats = Is statistics stale?
    3. When you call dbms_stats.gather... familiy, Oracle flushed the stale info to disk. You gnerally don't need to care about that.
    4. Statistics is considered to be stale, when the change is over 10% of current rows.
    (As of 11g, this value can be customized per objects. Cool feature)
    create table t_stat(id int);
    insert into t_stat select rownum from all_objects where rownum <= 100;
    commit;
    exec dbms_stats.gather_table_stats(user, 'T_STAT');
    select * from sys.dba_tab_modifications where table_name = 'T_STAT';
    No row selected
    select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
    NO
    insert into t_stat select rownum from all_objects where rownum <= 20;
    select * from sys.dba_tab_modifications where table_name = 'T_STAT';
    No rows selected <-- Oops
    select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
    NO  <-- Oops
    exec dbms_stats.flush_database_monitoring_info;
    select * from sys.dba_tab_modifications where table_name = 'T_STAT';
    TABLE_OWNER     TABLE_NAME     PARTITION_NAME     SUBPARTITION_NAME     INSERTS     UPDATES     DELETES     TIMESTAMP     TRUNCATED     DROP_SEGMENTS
    UKJA     T_STAT               20     0     0     2008-01-18 PM 11:30:19     NO     0
    select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
    YES

  • What are all the subjobs that get called for when a load is scheduled.

    Can any one please tell me - "when I schedule a load to my Infocube or ODS or other data target, what are all the sub jobs/requests that get called for? Like if I go and see in Tcode SM37, I see several jobs running. Any input is greatly rewarded. Thankyou!!!!

    Hi,
    Adding to what is mentioned above, if its scheduled if its a BW datamart load scheduled in background you can see that in  SM37 job log (give BIrequest name) (In source system if load is from R/3) and it should give you the details about the request.
    SM66 > Get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. (In source system if load is from R/3 or in BW if its a datamart load). See if its accessing/updating some tables or is not doing anything at all.
    Also try SM50/SM51 to find that job.
    Try RSMO from the Infopackage monitor.
    Thanks,
    JItuK

  • My Mac book pro gets to the screen with the apple logo with a spinning loading symbol and an actual loading bar underneath it and when the loading bar gets to about 1/2 - 3/4 the computer shuts down how do I fix this?

    Need it fixed asap

    Unfortunately for that it's usually not a quick fix, unless it's a stuck firmware update.
    Hold the power button down to force a hardware shutdown and boot again, if it appears again then it's a bigger problem.
    The bigger problem is that the fsck drive repair at boot can't fix the problem with the drive.
    You will need to consider your off machine backup situtation if you have one or not and how recently backed up are those files.
    If you have no backups or desperatly need to get files off and willing to possibly spend some money to do so (a powered external drive + even $100 recovery software), then it depends upon your computer skill level. If not very good then your seeking the services of a local PC/Mac tech, Apple doesn't do data recovery.
    Once you have a copy of your files off the machine, then your looking at a erase and reinstall of OS X, programs and files from backup.
    If you have a recently updated TimeMachine you can restore from that.
    If you have a bootable clone, then it's easy. Just hold option/alt key and boot from it, grab your files, erase the drive and reverse clone your problems away.
    Gray, Blue or White screen at boot, w/spinner/progress bar

  • How and when to load cross-domain.xml for web services.

    I'm accessing some 3rd party web services and so I need them to have a cross-domain.xml file, which they have done.
    In order to access their web services, am I correct that I need to load the cross-domain.xml file they put on their web server, and if so, is my code to do so below correct, which I put in my creationComplete handler function?
    Note, of course the IP address in my code is not 0.0.0.0.
    Do I need all these lines, and am I doing this correctly?
    Currently I am getting a SecurityErrorEvent.
    Security.allowDomain("0.0.0.0");
    Security.loadPolicyFile("http://0.0.0.0/crossdomain.xml");
    var request:URLRequest = new URLRequest("http://0.0.0.0/crossdomain.xml");
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, policyLoaded);
    loader.addEventListener(IOErrorEvent.IO_ERROR, policyIOError);
    loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, policySecurityError);
    loader.load(request);

    Okay, I found that when I put the crossdomain.xml file at the root of my web site file area my hosting company provides, I do not specifically need to load the crossdomain.xml file.
    But if I want finer control over who has access to what, and I put the crossdomain.xml file in the same directory as my Flex app SWF file, what lines of the following code (or additional lines I don't know about) should I put in my app creationComplete handler function to load the crossdomain.xml file?
    Note, of course the IP address in my code is not 0.0.0.0.
    Do I need all these lines, and am I doing this correctly?
    Security.allowDomain("0.0.0.0");
    Security.loadPolicyFile("http://0.0.0.0/myAppFolder/crossdomain.xml");
    var request:URLRequest = new URLRequest("http://0.0.0.0/myAppFolder/crossdomain.xml");
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, policyLoaded);
    loader.addEventListener(IOErrorEvent.IO_ERROR, policyIOError);
    loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, policySecurityError);
    loader.load(request);

  • HT201209 my account at itunes shows a credit of 50.00 but am unable to redeem as i entered the code and threw the card away it calls for code

    I entered a 50.00 gift card in itunes page and it showed a credit balance of 50.00 but when I went to redeem it asked for code which  I had already thrown away

    Kathy,  Try the suggestions in this document: iTunes Store: Invalid, inactive, or illegible codes

  • How and when do applications get stored on iCloud? I play a game called injustice and it saves to iCloud but seems to do it randomly. I often lose the most recent game and it backs up to an old one. Can i do it manually? is there a way to check?

    when do games get saved? Can i do it manually? I often lose most recent game if i restore it from iCloud

    You'd need to ask the developer. How and when individual apps use iCloud is up to the developer of that particular app,

  • I have iphone 6 plus. When i am connecting it to my Hyundai Grand i10 using Bluetooth and trying to call someone, unable to get the ringing sound. Sound comes only when the person receives a call.

    I have iphone 6 plus (IOS 8.0.2). When i am connecting it to my Hyundai Grand i10 using Bluetooth and trying to call someone, unable to get the ringing sound. Sound comes only when the person receives a call.

    Hello Mogulman46,
    So what that means is when you have Do Not Disturb turned on, you may have an alert depending on the setting and how you are using your iPhone. So if it is set to Always, then that means that no matter what, your iPhone will not be notified. If it set to Only while the iPhone is locked, then that means that you will not get notification when your iPhone is locked but you will get notifications if your iPhone is being used. Also keep in mind the settings All Calls From can be set to certain contacts like Favorites, Everyone or no one. If you are using Do Not Disturb and you do not need it, then turn it off. 
    Use Do Not Disturb on your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht5463
    Regards,
    -Norm G. 

  • How and When Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized

    How and When  Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized. Do the actual trigger lines get measured or does the attribute get initialized to a default value when the vxi resource manager is executed?

    Hey whl6868,
    According to page 157 (or 3-135) of the manual (http://www.ni.com/pdf/manuals/370132c.pdf), there is no default value for VI_ATTR_VXI_TRIG_STATUS.  If Resman is returning valid values for it, then it must be actually reading the lines.  Else, I would only expect it to return valid values when you actually call the function yourself.
    Regards,
    David R
    Applications Engineer
    National Instruments

  • My iTunes was working fine, all my CDs would import fully and quickly. Now they are importing slowly and when the CDs get to the last track they don't import and the CD drive just keeps spinning without doing anything! How can I fix this?

    My iTunes was working fine, all my CDs would import fully and quickly. Now they are importing slowly and when the CDs get to the last track they don't import and the CD drive just keeps spinning without doing anything! How can I fix this?
    I don't want to have to restart or reinstall my iTunes again as I'll have to redo all my playlists etc

    Likely that CD then. Check visually for damage, blemishes, etc., not that there's anything you can really do about those other than return the CD.
    The drive sits there and spins because it is trying to re-read the CD.  iTunes has error correction which is contributing to all this re-reading, I believe, and you may be able to disable that in preferences if you aren't picky about the result.
    You can also try other rippers such as Max or XLD.  I know those have configurable error correction.  I like XLD but it is slightly tricky to use until you find that for some reason the author has put all settings under preferences, not just the set once and forget ones.

  • I got the iPhone 4S and I use google calendar and when the Sprint salesperson set up my phone only 2 months of my calendar went on my phone. How do I get my whole calendar to sync on my phone?

    I got the iPhone 4s and i use google calendar and when the Sprint sales person set up my phone, only 2 months showed up on my iPhone. How do I sync all of google calendar to my iPhone!

    Settings/Mail,Contacts,Calendar - there's a setting for how far back to sync calendars.

  • The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:  "Extensions may not function properly because it does not meet the dependency conditio

    The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:
    "Extensions may not function properly because it does not meet the dependency condition."
    OR
    Extension Status is not consistent with extension set configuration."
    The reason I opened the Extension Manager in the first place was to check to see if I had installed a third party extension.  And I was presented with these warning symbols.  I haven't added anything, I haven't done anything that would cause this.
    Does anyone know how to fix this???
    I am running OSX 10.9.5; Indesign CS6 version 8.0.2 And Adobe Extension Manager version  6.0.8.28.
    Thanks in advance!
    Nina

    Many InDesign pre-installed extensions (Those extensions you have immediately after InDesign installation) define dependency rules in their mxi files. Dependency means that one extension works well only if one or more other extensions are installed and enabled. If this condition is not met, the yellow triangle warning will be shown.
    You can select an extension with warning, click "Advanced" tag page in the lower right panel. You will see "This extension has dependency on: <extension name> ...". Check whether every extensions listed here are available and enabled. If not, enable them. Repeat these steps for all the extensions which have warning.

Maybe you are looking for

  • No audio!! HELP!

    I need to include a .avi Movie in a Final cut project but quicktime cannot read the audio track. It's a .avi DivX movie and my properties tell me that the audio format is msgq (whatever that means). Can someone tell me how to get the audio from my mo

  • Close document without exiting program

    In Dreamweaver 6, before I got a new computer, I could close a document window and the program would go back to a blank New Document screen. Now the entire program closes, and I can't find how to close a document without exiting the program. Does any

  • AAE doesn't support parameterized mapping ?

    Hi, is the AAE doesn't support parameterized mapping ? if yes any workaround for this limitation ? because i want to use JDBC lookup in my mapping ? Currently, i am using PI 7.1 EHP1 SP3. Thank You and Best Regards Fernand

  • ABAP BSP

    How to implement BAPI_TRIP_GET_FORM_HTML in BSP and execute it. out put should show as layout. I need to pass the parametes from PRWW Transaction. Please help me in this regard.

  • DE:  A Real Step Backwards

    This software is a real step backwards from Adobe Reader 7 - when it comes to ebooks. I've never seen an upgrade go so backwards. I guess adobe is hoping to quickly get out of this particular business. With ebooks in Reader 7, I could: *underline tex