Online ? - Users request Vs DB Table ?

Hey guys,
I'm trying to do a lilttle script that allow me to see "who's online" on my web application. I would like to see who have been logged in for the last 2 hours, let's say.
So my problem is about getting this last login/visit date. I thought there had to be something to do with request (HttpServletRequest interface) and/or Hibernate sessions, but after searching for 3 hours I've only found how to get back the data for the current user, and anyway, it doesn't work really well at all....saying me my last visit/session creation was like 1 second ago....
So, I would like to know if you have any idea how I could implement this script.
I thought about creating a table in my DB containing the last action timestamp with the id of the member, but it doesn't sound to me as the "cleanest" solution, there is surely a way to check that using the sessions and request. It would mean to had a sql request to every page... If request/sessions already do something that look like that, it's dumb to repeat it....
I've also looked at Jboss cache but didn't find any interesting thing.
Have you guys any idea about how I could fix my problem ? Any ideas ?
I'm using hibernate and jboss (and struts but we don't really care here...).
I will look to every interesting/intelligent suggestion =P
Thanx =}

DB table would be the way to go. Write a class that implements an HttpSessionListener and update that table on sessionCreated and sessionDestroyed events. So, every time a new HttpSession gets created (user login) insert a new row with the login timestamp of the user. When session expires (by either explicitely calling invalidate on a session or when it expires on its own, update table with a logout timestamp.) Once you have that data in place you can then run some reports to see who, when and for how long were logged in and were using your application. This will have some time lag, especially if the user decides not to logout but simply close the browser so your logout timestamp will be off by the amount of time set for session expiration. But, for the most part you can control it using JavaScript events, say call some piece of JavaScript on unload of the browser window, which in turn will call your Java code to invalidate user's session. Otherwise, you can simply rely on your session expiration time. You can set it to expire as soon as possible (to avoid long time lags but keep it alive for as long as requred by your specs). I hope this helps ...

Similar Messages

  • Report Job was cancelled upon user request???

    Hi,
    My reports take more than 10 minutes to complete, most times I get
    "Report Job was cancelled upon user request".
    error, how to fix this problem? Is there any time limit inside the report I can set.
    Thanks

    hi ,
    There is no limit on the report run time. The most probable reason why you are getting the 'Report cancelled upon user request' message is the users might have hit the "cancel Report" button which is displayed when it is running in 'SYNCHRONOUS MODE'. do not hit that button as it will terminate the report. to increase the speed of returning the results by the report, try improving the sql that you use in the report, or if you have DBA rights try adding in INDEXES on the columns of the tables used by the report.
    Hope this helps
    Manoj

  • Oracle Reports Server CGI - Report Job was cancelled upon user request.

    I am running reports on the web through Forms using Run_Report_Object built in. I am using Oracle 9iAS Enterprise Edition Release 1(1.2.2.2.2), Forms 6i Patch 9 (6.0.8.18.3) and Reports 6i Patch 9 (6.0.8.18) using CGI implementation. Most reports are running fine, but I have one that produces 125 pages and we are getting the following messages in the browser:
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Report Job was cancelled upon user request.
    However if you look at the Reports Server Queue Status thru the browser it shows that the report did finish, but it took 16 minutes. But the user gets the above message in their browser window.
    Is there a way to get the first page of the report to display, while the rest of the report finishes, so the browser window doesn't timeout and display the above error?
    Any help would be greatly appreciated.

    hi ,
    There is no limit on the report run time. The most probable reason why you are getting the 'Report cancelled upon user request' message is the users might have hit the "cancel Report" button which is displayed when it is running in 'SYNCHRONOUS MODE'. do not hit that button as it will terminate the report. to increase the speed of returning the results by the report, try improving the sql that you use in the report, or if you have DBA rights try adding in INDEXES on the columns of the tables used by the report.
    Hope this helps
    Manoj

  • Is it possible to make in : Join by phone to online meeting request that the number is shown as hiperlink in outlook??

    is it possible to make in : Join by phone tin online meeting request that the number is shown as hiperlink in outlook 2010??
    when i send the invitation for example to gmail user I can see it on my phone. but if I would like to call directly from the outlook request I have to copy and paste the number , it is not hiperlinked....
    help
    any suggestions???

    Mine works with the tel URL syntax already in there.
    A couple of thoughts, if that's not working for you you could make your own hyperlink to look something like this:
    <a href=tel:+556666888888>Join Via Phone</a>
    I've seen callto: work as well.
    Which you might be able to append into the default meeting invite:
    http://technet.microsoft.com/en-us/library/gg398638.aspx
    The other thought is to check out Matt's select dial:
    http://gallery.technet.microsoft.com/office/Lync-Copy-Dial-Just-Select-3c426244 which would allow you to highlight any number and hit a hotkey to call.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • ORA-01013: User requested cancel of current operation (#1013)

    Hi Guys,
    I have an application and in particular an append query that inserts rows into a linked table. I keep on getting this error, (although the code works fine in enterprise manager, and code-imports ok).
    I did not cancel the query but it seems to think it has. The insert/append query starts and prompts me for the username and password, this works fine, it just stops half way or beggining etc...
    This is the error:
    ORA-01013: User requested cancel of current operation (#1013)
    And this is the error on Help file:
    ODBC – call failed. (Error 3146)
    Using an ODBC connection, you tried to perform an operation on data in an ODBC data source. This error may occur when the ODBC data source is on a network drive and you are not connected to the network. Make sure the network is available, and then try the operation again.
    Cheers
    Champinco

    Does "linked table" imply that you're using Access as a front-end for Oracle? I know that Access sets a query timeout value when it works with ODBC connections and this error generally occurs when you have a query that exceeds that timeout. I don't know whether Access lets you adjust that timeout, but assuming you're using the Oracle ODBC driver, you should be able to disable query timeout in the DSN configuration.
    Justin

  • Hi, i am getting oracle error ora-01013 user requested cancel of current operation.

    I know this is timeout error however my select query simply returns count from 2-3 tables.. any help would be appritiated, please help me.

    Hi Ramin,
    Thanks for reply. Below is the query i am running,
    SELECT COUNT(TRN.TRANSACTIONID)
    FROM TRANSACTIONDATA TRN,
    CONTENTDATA CND,
    ACTIVITY AC,
    ACTIVINVOL AVL,
    PARTY PR
      WHERE TRN.T_ID=CND.T_ID
    AND CND.CD=AC.CD
    AND AC.AD=AVL.AD,
    AND AVL.PRD=PR.PRD
    AND PR.SPRI=42345
    AND TRN.LUT > '16-JUN-2013'
    AND UPPER(TRN.T_ID) LIKE 'ONE AND DONE COM%' ;
    WHICH OCCURS ERROR ora-01013 user requested cancel of current operation.
    THANKS
    DESHMUKH

  • A new Enterprise Architecture online user group

    A new Enterprise Architecture online user group- and the first one as such- has come to life.
    The aim of our new user group would be the promotion of collaboration between enterprise architects around the world in order to help them do their work more easily and professionally by capitulating on shared experience and knowledge while creating an EA culture.
    The group activities and services will consist of:
    The EA Hot Line: a consulting service provided through free voice over IP tools (namely Skype) for acute issues and problems, delivered by and to our group members.
    A web cast once a month dealing with one of the many EA topics.
    Architecture Patterns DB: a database containing architecture patterns and a wiki to collaborate on them.
    Discussion forums dealing with EA issues.
    Wikis to create shared knowledge on requested topics.
    Providing a stage for articles on EA topics of all levels.
    You are all welcome to pay us a visit and join our user group at http://www.theeagroup.net/ea/Default.aspx
    Looking forward to see you,
    The EA Group

    Hi Mike,
    I just saw your post. Sorry for the confusing behavior. This is not something that we've seen occur or had reported in the past - very strange.
    My initial thought is that it may have something to do with the "Reply by email" functionality of discussions on Community Groups and the format of you title "Reminder: <original title>" However, I see that you also made some changes to the title beyond adding "Reminder:", so I'm not sure that theory holds up.
    Either way, we'll need to dig into this a bit further to figure out the source of the issue and correct it moving forwards. Thanks for reporting this and please let me know if you see unusual behavior along these lines again.
    Thanks!
    Matt
    Matt
    Product Owner - NI Community
    National Instruments

  • Error: USer request cancel of current operatin

    Hi,
    My database is in 10.2.0 and OS is Windows 2003. We are having some inhouse MIS reports. One report was running earlier without any error. But past few days I am getting the following error:
    Can any one help me.
    Microsoft OLE DB Provider for ODBC Drivers error '80040e31'
    [Oracle][ODBC][Ora]ORA-01013: user requested cancel of current operation
    /mis/procedures.asp, line 291
    thankyou
    satyanag

    ORA-01013 user requested cancel of current operation
    Cause: The user interrupted an Oracle operation by entering CTRL-C, Control-C, or another canceling operation. This forces the current operation to end. This is an informational message only.
    Action: Continue with the next operation.
    So it means that you need to check back with the application. If its coming from the MIS than check back what's happening in the file that is given in the error.
    Aman....

  • PPP LCP Send Termination Request [User request] - ...

    Had this problem now for a very long time, and recently came back in touch with it after I was forced to use my HH5 as my TPLINK ADSL router got bricked. 
    The problem only persists when using any BT issues router whether it be a HH3-5. 
    The event log is filled with firewall packet loss and blocked entries which I understand that is the firewall doing it's job which is fine. The line that keeps popping up is the one in the title of this thread (PPP LCP Send Termination Request [User request]) this pops up every time the connection drops.

    this was raised before  https://community.bt.com/t5/BT-Infinity-Speed-Connection/PPP-LCP-Send-Termination-Request-User-reque...
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Can we control user request w.r.t Memory and CPU utilization in Oracle 10g

    Dear All,
    We are having Production with Oracle 10.2.0.4 (5 Node RAC, 32Gb RAM each) running on RHEL5.2 with 12000 Users. We have some schema say FIN, HRMS, SALES, REPORT and many dedicated users for those schemas. We need to control the user request against these schema with respect to Memory (or CPU utilization)
    Suppose users using FIN schema can use Maximum 40 % of Total Memory, HRMS schema can use Max 20%, SALES can use Max 20% and REPORT can use Max 20%.
    Is it possible to create any Service in Server side to handle this type of scenareo or any existing service which can be customised to fullfil this?
    Please suggest me.......
    Thanks,
    Tusar
    Edited by: gohappy on Jan 27, 2011 5:59 AM
    Edited by: gohappy on Jan 27, 2011 6:00 AM

    JDBC 'applications' quite often don't use persistent connections, and often do not exit gracefully by calling 'exit' or 'disconnect'.
    This means the session will continue to exist.
    It also means, if you don't establish any form of connection pooling and/or dead connection detection, you can throw whatever amount of memory in the server, and you will continue to report
    'Now problems is coming'. Apart from crippled English, the general lesson any DBA should know is how these 'applications' operate, and, contrary to some, you can never ever fight problems caused by applications,
    by throwing memory and cpu at the problem.
    When I read your text, I also assume the application is not using PrepareStatement calls and not using bindvariables, this is why your 'application' is burning the CPU.
    Find those 'application developers', sue them, or better still : Beat them with a whip, and have them fix their 'crapplication'.
    Paraphrasing William Jefferson Clinton: It's the application, stupid!
    Sybrand Bakker
    Senior Oracle DBA

  • Need help to change user email id in table ADR6

    Hi,
    i want to update user email id in table adr6. i hv written following code but not working to change email in table adr6.
          DATA lo_nd_email TYPE REF TO if_wd_context_node.
          DATA lo_el_email TYPE REF TO if_wd_context_element.
          DATA ls_email TYPE wd_this->element_email.
          DATA lv_mail_id LIKE ls_email-mail_id.
        navigate from <CONTEXT> to <EMAIL> via lead selection
          lo_nd_email = wd_context->get_child_node( name = wd_this->wdctx_email ).
        get element via lead selection
          lo_el_email = lo_nd_email->get_element(  ).
        get single attribute
          lo_el_email->get_attribute(
            EXPORTING
              name =  `MAIL_ID`
            IMPORTING
              value = lv_mail_id ).
          DATA:lv_bname TYPE BAPIBNAME-BAPIBNAME.
          DATA:lt_return TYPE TABLE OF bapiret2.
          DATA:PER_NO TYPE AD_PERSNUM,
               ADDR_NO TYPE ADRC-ADDRNUMBER."AD_ADDRNUM.
          DATA:SEARCH TYPE REF TO IF_WD_CONTEXT_NODE.
          SEARCH = WD_CONTEXT->GET_CHILD_NODE( 'USER' ).
          SEARCH->GET_ATTRIBUTE( EXPORTING NAME = 'BNAME'
               IMPORTING VALUE =  lv_bname ).
          DATA:wa_address TYPE bapiaddr3.
          DATA : CONS_NO TYPE AD_CONSNUM.
        IF lv_mail_id IS INITIAL.
              get message manager
              DATA lo_api_controller TYPE REF TO if_wd_controller.
              DATA lo_message_manager TYPE REF TO if_wd_message_manager.
              lo_api_controller ?= wd_this->wd_get_api( ).
              CALL METHOD lo_api_controller->get_message_manager
                RECEIVING
                  message_manager = lo_message_manager.
              report message
              CALL METHOD lo_message_manager->report_error_message
                EXPORTING
                  message_text  = 'Please Enter Email Id'.
        ENDIF.
       DATA:l_addr type addr_keynr.
       DATA:C_YES(1).
            CLEAR:C_YES.
            C_YES = 'X'.
       TYPES: ty_comm_smtp TYPE  adsmtp ,             
            ty_returncode TYPE SZAD_FIELD-RETURNCODE,
            ty_error TYPE ADDR_ERROR,
            adsuse TYPE ADSUSE.
        DATA:EMAIL_ID TYPE AD_SMTPADR,
             lt_comm_smtp TYPE STANDARD TABLE OF ty_comm_smtp,    """"Data Object
             lv_returncode TYPE STANDARD TABLE OF ty_returncode,
             error_table TYPE STANDARD TABLE OF ty_error,
             lt_adsuse  TYPE STANDARD TABLE OF adsuse.
        data:ls_comm_smtp like LINE OF lt_comm_smtp,
             ls_returncode like LINE OF lv_returncode .
        CALL FUNCTION  'SUSR_USER_ADDRESSKEY_GET'
          EXPORTING  BNAME    = lv_bname
          IMPORTING  PERSNUMBER    = l_addr-persnumber
                     ADDRNUMBER    = l_addr-addrnumber
               EXCEPTIONS ADDRESS_NOT_FOUND = 1
                          OTHERS            = 2.
      IF SY-SUBRC = 0.
        REFRESH: lt_comm_smtp.
          CALL FUNCTION 'ADDR_PERS_COMP_COMM_GET'
               EXPORTING
                    address_handle    = ''
                    address_number    = l_addr-addrnumber
                    person_handle     = ''
                    person_number     = l_addr-persnumber
                    DATE_FROM         = '00010101'
                  LANGUAGE          = SY-LANGU
                    table_type        = 'ADSMTP'
                    iv_current_state  = space                       "*981i
               IMPORTING
                    returncode        = ls_returncode
               TABLES
                    comm_table        = lt_comm_smtp
                    error_table       = error_table
                    et_usage          = lt_adsuse                   "*981i
               EXCEPTIONS
                    parameter_error   = 1
                    address_not_exist = 2
                    person_not_exist  = 3
                    internal_error    = 4
                    OTHERS            = 99.
          IF sy-subrc <> 0.
            IF sy-subrc = 1 OR sy-subrc = 2 OR sy-subrc = 3.
             raise_message 'AM' 'A' 885 'ADDR_PERS_COMP_COMM_GET' space
             space space internal_error.
            ELSE.
             same_message_dia_a internal_error.
            ENDIF.
          ENDIF.
      ENDIF.
        CLEAR:ls_comm_smtp, email_id.
        READ TABLE lt_comm_smtp INTO ls_comm_smtp INDEX 1.
        EMAIL_ID = ls_comm_smtp-smtp_addr.    """""""OLD EMAIL ID which we get from ADDR_PERS_COMP_COMM_GET
        CONS_NO = ls_comm_smtp-CONSNUMBER.
        CLEAR:ls_comm_smtp.
        ls_comm_smtp-CONSNUMBER = CONS_NO.
        ls_comm_smtp-FLGDEFAULT = 'X'.
        ls_comm_smtp-HOME_FLAG = 'X'.
        ls_comm_smtp-UPDATEFLAG = 'U'.
        ls_comm_smtp-smtp_addr = lv_mail_id.
        TRANSLATE email_id TO UPPER CASE.
        ls_comm_smtp-smtp_srch = email_id.
        REFRESH :lt_comm_smtp.
         append ls_comm_smtp to lt_comm_smtp.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'ADDR_PERS_COMP_COMM_MAINTAIN'
             EXPORTING
                  address_handle    = ' '
                  address_number    = l_addr-addrnumber
                  person_handle     = ' '
                  person_number     = l_addr-persnumber
                  table_type        = 'ADSMTP'
                  iv_time_dependence = C_YES                   "*981i
            IMPORTING
                 returncode        =  ls_returncode
            TABLES
                 comm_table        =  lt_comm_smtp
                 error_table       =  error_table
            EXCEPTIONS
                 parameter_error   = 1
                 address_not_exist = 2
                 person_not_exist  = 3
                 internal_error    = 4
                 OTHERS            = 99.
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
      ENDIF.
      IF sy-subrc = 0.
          COMMIT WORK.
      ENDIF.
    i hv also tried second approch available on sdn CALL FUNCTION 'ADDR_COMM_MAINTAIN'. but in this fm person number we can't pass.
    please help me

    Hi Abhilesh,
    You can use the following FM's to update the Email ID. There are many posts ADDR* FM using for updating Email ID.  Please have a look if you have a doubt.
    DATA: iadsmtp TYPE adsmtp    OCCURS 0 WITH HEADER LINE.
    "Retrieving Address Details
    CALL FUNCTION 'ADDR_COMM_GET'
          EXPORTING
            address_number =  addrnr
            table_type     = 'ADSMTP'
          TABLES
            comm_table     = iadsmtp
          EXCEPTIONS
            OTHERS         = 0.
    READ TABLE iadsmtp index 1.
    if sy-subrc is initial.
    iadsmtp-SMTP_ADDR = 'new mail ID'.  " Here pass your New Email ID
    Modify iadsmtp.
    Endif.
      CALL FUNCTION 'ADDR_COMM_MAINTAIN'
          EXPORTING
            address_number           = addrnr
            table_type               = 'ADSMTP'
            substitute_all_comm_data = 'X'
          TABLES
            comm_table               = iadsmtp
          EXCEPTIONS
            OTHERS                   = 0.
    Then call FM 'ADDR_SINGLE_SAVE'  to do the Commit.

  • One work process can only process one user request at a time?

    Hi,
       How to configure the how many work processes for 80 concurrent users login daily.One work process can only process one user request at a time? Does this mean a login user has a dedicated work process servicing him. Or many login users interleave a work process's service? ,clarify the same.
    Thanku

    There are different types of work processes and the number needed depends on the number of transactions that will take place in the system. We are running 80 concurrent users with 15 dialog work processes. Please see the link below for an explanation:
    http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2e8a358411d1829f0000e829fbfe/content.htm

  • Error occuring when submitting Active Users request in R12 on Solaris 5.10

    Hi,
    For a cloned environment, while submitting the active Users request it is completing with error. Below is the log file. Please help
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    There was an error trying to initialize the HPI library.
    Please check your installation, HotSpot does not work correctly
    when installed in the JDK 1.2 Solaris Production Release, or
    with any JDK 1.1.x release.
    Error occurred during initialization of VM
    Signal chaining not allowed for VM interrupt signal, try -XX:+UseAltSigs.
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 720610.
    Review your concurrent request log and/or report output file for more detailed information.
    Thanks,
    Anand

    Hi Anand;
    Please check below metalink note:
    There Was An Error Trying To Initialize The Hpi Library When Running Any Concurrent Reports [ID 836237.1]
    Regard
    Helios

  • Hi guys,Explain how to find whether the user request is dialog or bc ...

    how to find whether the user request is dialog or bc or some other wp and where we can see that ?

    Hello Damodar,
    You can find out that in SM50.
    However one piece of advice. I have noticed that you are raising lots of questions about very basic questions. Either you new to SAP or dont know anything about SAP Basis and want to get in this area. Or else you are preparing for some interview. In either of these cases expecting solutions given at SDN are not going to be of much help. Better read yorself in SAP Help as most people do. SDN should not be overly used for such purposes. Basic questions are welcome but you want to learn SAP through SDN !!!
    Regards.
    Ruchit.

  • How to import your MS Active Directory users in an Oracle table

    Hello,
    I first tried to get a Heterogenous Connection to my MS Active Directory to get information on my Active Directory users.
    This doesn't work so I used an alternative solution:
    How to import your MS Active Directory users in an Oracle table
    - a Visual Basic script for export from Active Directory
    - a table in my database
    - a SQL*Loader Control-file
    - a command-file to start the SQL*Loader
    Now I can schedule the vsb-script and the command-file to get my information in an Oracle table. This works fine for me.
    Just to share my scripts:
    I made a Visual Basic script to make an export from my Active Directory to a CSV-file.
    'Export_ActiveDir_users.vbs                              26-10-2006
    'Script to export info from MS Active Directory to a CSV-file
    '     Accountname, employeeid, Name, Function, Department etc.
    '       Richard de Boer - Wetterskip Fryslan, the Nethterlands
    '     samaccountname          Logon Name / Account     
    '     employeeid          Employee ID
    '     name               name     
    '     displayname          Display Name / Full Name     
    '     sn               Last Name     
    '     description          Description / Function
    '     department          Department / Organisation     
    '     physicaldeliveryofficename Office Location     Wetterskip Fryslan
    '     streetaddress          Street Address          Harlingerstraatweg 113
    '     l               City / Location          Leeuwarden
    '     mail               E-mail adress     
    '     wwwhomepage          Web Page Address
    '     distinguishedName     Full unique name with cn, ou's, dc's
    'Global variables
        Dim oContainer
        Dim OutPutFile
        Dim FileSystem
    'Initialize global variables
        Set FileSystem = WScript.CreateObject("Scripting.FileSystemObject")
        Set OutPutFile = FileSystem.CreateTextFile("ActiveDir_users.csv", True)
        Set oContainer=GetObject("LDAP://OU=WFgebruikers,DC=Wetterskip,DC=Fryslan,DC=Local")
    'Enumerate Container
        EnumerateUsers oContainer
    'Clean up
        OutPutFile.Close
        Set FileSystem = Nothing
        Set oContainer = Nothing
        WScript.Echo "Finished"
        WScript.Quit(0)
    Sub EnumerateUsers(oCont)
        Dim oUser
        For Each oUser In oCont
            Select Case LCase(oUser.Class)
                   Case "user"
                        If Not IsEmpty(oUser.distinguishedName) Then
                            OutPutFile.WriteLine _
                   oUser.samaccountname      & ";" & _
                   oUser.employeeid     & ";" & _
                   oUser.Get ("name")      & ";" & _
                   oUser.displayname      & ";" & _
                   oUser.sn           & ";" & _
                   oUser.description      & ";" & _
                   oUser.department      & ";" & _
                   oUser.physicaldeliveryofficename & ";" & _
                   oUser.streetaddress      & ";" & _
                   oUser.l           & ";" & _
                   oUser.mail           & ";" & _
                   oUser.wwwhomepage      & ";" & _
                   oUser.distinguishedName     & ";"
                        End If
                   Case "organizationalunit", "container"
                        EnumerateUsers oUser
            End Select
        Next
    End SubThis give's output like this:
    rdeboer;2988;Richard de Boer;Richard de Boer;de Boer;Database Administrator;Informatie- en Communicatie Technologie;;Harlingerstraatweg 113;Leeuwarden;[email protected];;CN=Richard de Boer,OU=Informatie- en Communicatie Technologie,OU=Afdelingen,OU=WFGebruikers,DC=wetterskip,DC=fryslan,DC=local;
    tbronkhorst;201;Tjitske Bronkhorst;Tjitske Bronkhorst;Bronkhorst;Configuratiebeheerder;Informatie- en Communicatie Technologie;;Harlingerstraatweg 113;Leeuwarden;[email protected];;CN=Tjitske Bronkhorst,OU=Informatie- en Communicatie Technologie,OU=Afdelingen,OU=WFGebruikers,DC=wetterskip,DC=fryslan,DC=local;I made a table in my Oracle database:
    CREATE TABLE     PG4WF.ACTD_USERS     
         samaccountname          VARCHAR2(64)
    ,     employeeid          VARCHAR2(16)
    ,     name               VARCHAR2(64)
    ,     displayname          VARCHAR2(64)
    ,     sn               VARCHAR2(64)
    ,     description          VARCHAR2(100)
    ,     department          VARCHAR2(64)
    ,     physicaldeliveryofficename     VARCHAR2(64)
    ,     streetaddress          VARCHAR2(128)
    ,     l               VARCHAR2(64)
    ,     mail               VARCHAR2(100)
    ,     wwwhomepage          VARCHAR2(128)
    ,     distinguishedName     VARCHAR2(256)
    )I made SQL*Loader Control-file:
    LOAD DATA
    INFILE           'ActiveDir_users.csv'
    BADFILE      'ActiveDir_users.bad'
    DISCARDFILE      'ActiveDir_users.dsc'
    TRUNCATE
    INTO TABLE PG4WF.ACTD_USERS
    FIELDS TERMINATED BY ';'
    (     samaccountname
    ,     employeeid
    ,     name
    ,     displayname
    ,     sn
    ,     description
    ,     department
    ,     physicaldeliveryofficename
    ,     streetaddress
    ,     l
    ,     mail
    ,     wwwhomepage
    ,     distinguishedName
    )I made a cmd-file to start SQL*Loader
    : Import the Active Directory users in Oracle by SQL*Loader
    D:\Oracle\ora92\bin\sqlldr userid=pg4wf/<password>@<database> control=sqlldr_ActiveDir_users.ctl log=sqlldr_ActiveDir_users.logI used this for a good list of active directory fields:
    http://www.kouti.com/tables/userattributes.htm
    Greetings,
    Richard de Boer

    I have a table with about 50,000 records in my Oracle database and there is a date column which shows the date that each record get inserted to the table, for example 04-Aug-13.
    Is there any way that I can find out what time each record has been inserted?
    For example: 04-Aug-13 4:20:00 PM. (For my existing records not future ones)
    First you need to clarify what you mean by 'the date that each record get inserted'.  A row is not permanent and visible to other sessions until it has been COMMITTED and that commit may happen seconds, minutes, hours or even days AFTER a user actually creates the row and puts a date in your 'date column'.
    Second - your date column, and ALL date columns, includes a time component. So just query your date column for the time.
    The only way that time value will be incorrect is if you did something silly like TRUNC(myDate) when you inserted the value. That would use a time component of 00:00:00 and destroy the actual time.

Maybe you are looking for