Calendar modification timestamps

If multiple people have access to a shared calendar, is there any way to
see who created a specific appointment? Also, is there a way to see
who has modified an appointment? I've tried looking at numerous
columns which sound appropriate like author, creator, etc, but none
contain the information I'm looking for.
Along those same lines, I see that there is a 'created' field which
contains the creation timestamp, and a 'modified' field which also
contains the creation timestamp and doesn't change even if the
appointment has been modified. Is there a column that I can view that
shows the timestamp of when the last time the appointment was modified?
I am needing this information for a legal request. Even if the
Groupwise client cannot provide this information, is it possible that
it's stored in the database and could be queried in some other way, like
soap for example?
-Mike

Looks like I didn't wait long enough for the modified field to show a
time change so that's all good, but any help determining WHO modified an
appointment would be really great.
-Mike
On 6/28/2013 9:46 AM, Mike wrote:
> If multiple people have access to a shared calendar, is there any way to
> see who created a specific appointment? Also, is there a way to see
> who has modified an appointment? I've tried looking at numerous
> columns which sound appropriate like author, creator, etc, but none
> contain the information I'm looking for.
>
> Along those same lines, I see that there is a 'created' field which
> contains the creation timestamp, and a 'modified' field which also
> contains the creation timestamp and doesn't change even if the
> appointment has been modified. Is there a column that I can view that
> shows the timestamp of when the last time the appointment was modified?
>
> I am needing this information for a legal request. Even if the
> Groupwise client cannot provide this information, is it possible that
> it's stored in the database and could be queried in some other way, like
> soap for example?
>
> -Mike

Similar Messages

  • DRAG & DROP IN SQL CALENDAR USING TIMESTAMP COLUMN

    Hi there,
    I'm having a difficulty with the drag & drop process in my sql calendar. The defalult code has been mentioned before as:
    declare
    l_date_value varchar2(32767) := apex_application.g_x01;
    l_primary_key_value varchar2(32767) := apex_application.g_x02;
    begin
    update EMP set HIREDATE = to_date(l_date_value,'YYYYMMDD HH24MISS')
    where ROWID = l_primary_key_value;
    end;
    My sql calendar query though, has not a simple date column, but a TIMESTAMP column used in the Date value attribute.The APPOINTMENTID is my primary key column of APPOINTMENTS table as you can see and of course the APP_TIMESTAMP column as my Date Column (which in my database schema is created by the "merging" of my APP_DATE & APP_TIME columns ):
    SELECT APPOINTMENTID,DECODE(APP_STATUS,'0','#005C09','1','#EF5800','2','#000099','3','purple')COLOR,
    (TO_CHAR(APP_TIMESTAMP,'HH24:MI')||' / '||(SELECT LAST_NAME||' '||FIRST_NAME
    FROM PATIENTS C
    WHERE C.PAT_ID = A.PAT_ID)||' / '||UPPER(APP_DESCR)||' / '||APP_TEL_NO) APP_ROW,
    APP_TIMESTAMP
    FROM APPOINTMENTS A, PATIENTS C
    WHERE C.PAT_ID(+) = A.PAT_ID
    So far, in my on demand process i have written the code shown below and the result is just the dragging functionality:
    declare
    l_date_value varchar2(32767) := apex_application.g_x01;
    l_primary_key_value varchar2(32767) := apex_application.g_x02;
    begin
    update APPOINTMENTS
    set APP_TIMESTAMP = to_date(l_date_value,'DD/MM/RRRR HH24MI')
    where APPOINTMENTID = l_primary_key_value;
    end;
    Any suggestion is welcome,
    Thanks

    Hi,
    I just found a solution. I implemented for each column an own event-handler. Therefore I can assign the excercise to the right column.
    Has anybody else a better solution?
    Best regards
    Max

  • How to get modification timestamp of user in GAL

    Hi,
    Sorry for bothering you but I have one more question.
    In general I have performance issue. I am downloading users from GAL with all details and it takes about 3h. GAL has about 17000 users. I didn't found any solution to make it faster.
    But in next sync I would like to get data only for modified users but I don't know how to do it efficiently.
    Now I will describe more details.
    <pseudocode>
    Foreach( var addressEntry in Application.Session.AddressLists[…].AddressEntries)
    Var eu = addressEntry.GetExchangeUser()
    Var props = addressEntry.PropertyAccessor.GetProperties(…)
    LocalDb.SaveContact(addressentry, eu, props)
    The most time expensive part is :
    addressEntry.PropertyAccessor.GetProperties(…)
    ,it takes 2,5h. I would like in next “Download Process” download only modified entires but I don’t know how to get the timestamp efficiently. The timestamp is available using this:
    addressEntry.PropertyAccessor.GetProperty(“http://schemas.microsoft.com/mapi/proptag/0x30080040“)
    , but this is as slow as
    addressEntry.PropertyAccessor.GetProperties(…)
    , so there is no sense to check the timestamp and if it is old ask for properties.
    Can I get the timestamp information in other way, more efficiently?

    Mots address book providers (GAL included) are not very good with restrictions.
    GAL address book provider does not really do anything that you cannot do through the Active Directory interfaces. You should be able to run AD queries that use the "last modified  time" attribute.
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • Date picker calendar modification

    Is it possible to limit number of years presented in the select list of datepicker calendar? If yes, is it an option for dynamic shift, for example show +/- 10 years from current year? Version 2.0.
    Thanks.

    Hi Marina,
    This is not possible in HTML DB / Application Express.
    Joel

  • Ntfs-g3 doesn't preserve modification timestamp at copy

    I have a data partition mounted using ntfs-g3 like this (from my /etc/fstab):
    /dev/sda8 /media/data ntfs-3g defaults,umask=002,fmask=113,gid=100 0 0
    Here is the mount point:
    drwxrwxr-x 1 root users 4096 Aug 2 04:03 data
    All my users are in the "users" group by the way.  The odd thing is that when anyone in the "users" group tries to copy files to this partition, the date/time stamp is NOW rather than what was on the dir/files.
    Example:
    $ cp -a ./Desktop /media/data/
    cp: preserving times for `/media/data/Desktop/templog-31-Dec-09-11_04_02.csv~': Operation not permitted
    cp: preserving times for `/media/data/Desktop/screenshot2.png': Operation not permitted
    cp: preserving times for `/media/data/Desktop/conky-d.desktop': Operation not permitted
    I googled around for this but have yet to locate a solution, just the usual conflicting opinions/data.  Anyone?
    Example1: http://www.tuxera.com/forum/viewtopic.php?f=2&t=230
    I have the result of the investigation. FUSE is right. Things worked
    as they should. The operation indeed mustn't be permitted in such cases
    according to the POSIX standard.
    Namely utimes(2) doesn't permit changing the time stamps because the
    effective uid of the cp process doesn't equal the uid of the file
    __AND__ the new time stamps are not the current time, __EVEN_IF__
    the user has write permission to the file. This is how POSIX wants.
    I'll document this issue, thanks again.
    Example2: https://forums.gentoo.org/viewtopic-t-8 … art-0.html
    re-emerge and exclude the acl use flag. I'm not sure why or what acl does but by turning off that use flag I solved the problem I was having which was identical to yours with rsync.
    ...the thread goes on to say that this bug was fixed in ntfs-3g "latest" release and we are using > the version mentioned in the thread.
    Thanks all!

    chris@chrispc ~ $ date
    Wed Aug 4 02:29:58 CEST 2010
    chris@chrispc ~ $ cp thumbnailers.xml /media/data/ -av
    `thumbnailers.xml' -> `/media/data/thumbnailers.xml'
    chris@chrispc ~ $ ll /media/data/ | grep thum
    -rw-r--r-- 1 chris users 55K Jul 27 00:10 thumbnailers.xml
    chris@chrispc ~ $ ll /media/ | grep data
    drwxr-xr-x 8 chris users 4.0K Aug 4 02:29 data
    So is this what you're trying to do?
    All I can say is: seems to work on my ntfs-3g 2010.5.22-1
    If I understand your fstab correctly, you're setting fmask to 113...maybe rwx is needed to set the date after creation, maybe you could try a using 003
    Last edited by DIDI2002 (2010-08-04 00:45:38)

  • Calendar, Timestamp, TimeZone and DateFormat

    I need to persist date and time with a time zone information into database. In the application, I use the Calendar to represent the data and converse it to java.sql.Timestamp when I need to store the date into DB, use its reversed process to retrieve the data. The following process works for my need in some degree.
    1. create a Calendar instance
    2. convert it to Timestamp to match the DB field type and save into DB
    3. retrieve the field from DB and convert back to Calendar (from Timestamp)
    4. process the data with DateFormat for a given TimeZone GMT
    My problem with the above approach is that it yields an incorrect data when a date time in DB is already in time zone GMT stored by another system process.
    What is a good approach in the regard?
    Thanks for your information in advance.

    Isn't Timestamp always "in UTC"? If you want to remember a TimeZone, would you need to store that separately?
    Then again, I have this vague recollection there's a database type that combines timestamp and timezone, but does your DBMS have it?

  • Issue with Calendar prompt presentation variable

    Requirement: (OBIEE 11g)
    A dashboard should have two prompts - one calendar prompt and one text field prompt giving number of days. There is a timestamp column (SHIP DATE) in the analysis. There should be a between limit in this timestamp field. Logic to be implemented is - Calendar Prompt DateTime <= SHIP DATE < (Calendar Prompt DateTime + No. of days from text field).
    Solution Tried:-
    Using the dashboard prompt, two prompts and two corresponding presentation variables were created. First presentation variable is for calendar prompt timestamp (Date1) and other one is for no. of days (Num_Days) text field prompt.
    Then in the analysis, two filters were created on the Ship Date. First filter is set as 'Is Prompted' and it takes the values '<=' from calendar prompt in dashboard.
    For the other filter, I converted it to SQL and wrote the following:-
    "Time"."Ship date" <= (timestamp '@{variables.Date1}['YYYY-mm-DD HH:MM:SS']{2013-01-01  00:00:00}')  + @{variables.Num_Days}{30}
    The analysis runs fine for the above filters, but when run from the dashboard, it throws up an error.
    Error getting drill information: SELECT "Time"."SHIP DATE" saw_0, "Base Facts"."QUANTITY" saw_1 FROM "SHIPPING DATA" WHERE ("Time"."SHIP DATE" <= (timestamp '''2013-00-01 00:10:SS''') + 30) AND ("Time"."SHIP DATE" >= timestamp '2013-10-01 00:00:00').
    From the above it seems that error is coming because I am unable to set properly the calendar prompt presentation variable in a format which can be read by the analysis. Since analysis is running fine from the default value of Date1, I was thinking of somehow converting the calendar prompt presentation variable in the similar prompt.
    Any pointers to the correct approach?
    Thanks
    Kundan

    I found a workaround to my above issue for now but I would like to know the proper approach from experienced folks.
    My workaround is as follows:-
    I created an additional column in the analysis -> TIMESTAMPADD(SQL_TSI_DAY,- @{variables.Num_Days}{30}, "Time"."Ship date"). Then I applied a filter on this new field. The filter is set as < variable expression Date1 (coming from presentation variable). Since I am not converting this filter to SQL, OBIEE server seems to be taking care of timestamp format conversion.
    I think I need to study the logs and the config XMLs to see how date format is being stored to get a better solution.
    Regards
    Kundan

  • E6 Belle Exchange Calendar problem

    Few days ago I got my new Nokia E6 phone with Belle preinstalled (which replaced my old E72). I have configured my Exchange 2010 account for e-mails and calendar. All seemed working fine (like in E72) but then I noticed one nasty problem in Outlook calendar.
    Steps to repeat the problem:
    In Outlook calendar create a meeting and add some attendees.
    In E6 sync Exchange account. The meeting now appears in the phone calendar.
    Here comes the problem. If I try to modify the meeting in Outlook, I get the following message “You are changing details for a meeting on your calendar and you are not the meeting organizer”!
    How can that be? I was the one creating the meeting. Also in Outlook meeting card I still see my name as organizer. This seems like synchronization bug.
    Note: This happens only to meetings with other attendees added.
    Has anybody seen this problem?

    Fantomet, thank you very much for suggestion. I set my sync interval to 15 minutes and it helped. By the way, I had to restart my phone to have this solution really work.  
    However, I found one more problem. If user tries to modify calendar entry on phone, after sync problem appears again. So that means – calendar modifications only in Outlook.  
    I absolutely agree, this bug is critical and has to be fixed ASAP. 
    P.S. I’m a big fan of Nokia. The E6 is my 4th Nokia in a row and I love it. BUT such bugs are unacceptable for a mainstream product. I hope Nokia will improve their customer satisfaction so less people will be forced to consider alternatives.

  • Deleted iCloud calendar events keep reappearing

    The other day I was trying to subscribe to a shared calendar (schedule for a baseball team). Instead of subscribing I ended up importing the ICS file into my main iCloud calendar. (This happened on the iPad) Unfortunately this means 160+ events, basically one a day from May-September.
    I determined that deleting was quickest using iCal on my Mac. But after deleting the events in iCal, the changes did not propogate to my iPad or iPhone calendars.
    So I tried on the iPad. I even did a test by deleting one event, and watching it automatically delete on the iPhone. I should point out here that up to now I have not had any problems with iCloud calendar syncing. So then I proceeded to delete all the events on iPad. But still the events persisted on my iPhone!
    Just now I deleted one month of the events from my iPhone. I went to the next month, deleted a few more, and when I went back to look at the first month (July), the events had re-appeared.
    OKAY HAHA GUYS VERY FUNNY THE JOKE IS ON ME?
    I've logged into icloud.com and I see the events are still present there. If I double-click the event, it gives me the message "coudln't load event details". This only happens for these events, not all my events. And the delete buttons is greyed out! Not sure how to get these events out of my iCloud calendar now.
    It makes me wonder if iCloud has some logic built in to roll back changes, if too many calendar modifications happen in a short period of time, as a way to prevent unintentional mass-deletion?

    I'm having a similar issue trying to delete entire calendars.  They keep re-appearing after I delete them!  Happens in Calendars on Mountain Lion and in iCloud website (normal and beta)

  • How to catch  Timestamp in bean

    hi
    in servlet I can use
    HttpSession userSession = req.getSession(true);
    HttpSession session=req.getSession();
    Timestamp accessed = new
    Timestamp(session.getLastAccessedTime());
    how can I got then in bean
    Thank you

    hi , thank you for the kindness reply,
    I guess is something else wrong so I post my codepublic boolean validate() {
             boolean allOk=true; 
             if (stuNumber.equals("")|| stuNumber.length() !=10) {
                 errors.put("stuNumber","Please enter a valid student Number");
                 stuNumber="";
                 allOk=false;
               } else {
                   try {
                       int x = Integer.parseInt(stuNumber);
                     } catch (NumberFormatException e) {
                       errors.put("stuNumber","Please enter a valid student Number");
                       stuNumber="";
                       allOk=false;
               }//else
             //add into database
             try {
                  //use getInstance() method to get object of java Calendar class
                   //Calendar cal = Calendar.getInstance();             
                   Timestamp myTimestamp = new Timestamp(new Calendar().getTimeInMillis());
                    db =connectionPool.getConnection();
                     Statement s = db.createStatement(); 
                     rs = s.executeQuery("SELECT*  FROM survey where stuNumber='"+stuNumber+"'");           
                 connectionPool.returnConnection(db);
                 int count =0;//how many rows we can find.
                while (rs.next()){
                    count++;
                connectionPool.returnConnection(db);
                if(count<1){                       
                    db.setAutoCommit(false);
                  String  sql="insert into survey(name, stuNumber, gender,facultyName,degree, year, quesOne, quesTwo, quesThree, quesFour, quesFive, quesSix,quesSeven, quesEight, quesNine,quesTen,quesEleven, quesTwelve, quesThirteen, quesFourteen,quesFifteen, quesSixteen, quesSeventeen, quesEighteen, quesNineteen, quesTwenty, quesTwentyOne,userIp,accessTime)";
                                       sql+="value(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
                        ps = db.prepareStatement(sql);
                         ps.setString(1, name);
                          ps.setString(2, stuNumber);
                          ps.setString(3, gender);
                          ps.setString(4, facultyName);
                          ps.setString(5, degree);
                          ps.setString(6, year);
                          ps.setString(7, quesOne);
                          ps.setString(8, quesTwo);
                          ps.setString(9, quesThree);
                          ps.setString(10, quesFour);
                          ps.setString(11, quesFive);
                          ps.setString(12, quesSix);
                          ps.setString(13, quesSeven);
                          ps.setString(14, quesEight);
                          ps.setString(15, quesNine);
                          ps.setString(16, quesTen);
                          ps.setString(17, quesEleven);
                          ps.setString(18, quesTwelve);
                          ps.setString(19, quesThirteen);
                          ps.setString(20, quesFourteen);
                          ps.setString(21, quesFifteen);
                          ps.setString(22, quesSixteen);
                          ps.setString(23, quesSeventeen);
                          ps.setString(24, quesEighteen);
                          ps.setString(25, quesNineteen);
                          ps.setString(26, quesTwenty);
                          ps.setString(27, quesTwentyOne);
                          ps.setString(28,userIp);
                          ps.setTimestamp(29,timeStampDat);
                          ps.executeUpdate();                   
                   db.commit();
                db.setAutoCommit(true);   
                connectionPool.returnConnection(db);
               }//end try
               catch (Exception e) {
                 System.out.println("Error populating myBean: " + e.toString());
             return allOk;        
    }

  • Recovering directory timestamps when extracting tar archives

    I created a backup using tar, and now I try to extract it, but the problem is that some of the directories do not get the correct timestamps.
    As an example, consider the following directory structure:
       dir0/
           file1
           dir1/
               file2
               .DS_Store
               dir2/
                   file3
    This can be created (in Terminal) by:
        mkdir dir0
        cd dir0
        touch file1
        mkdir dir1
        cd dir1
        touch file2
        mkdir dir2
        cd dir2
        touch file3
        cd ../../..
    and then you just navigate to dir0/dir1 in Finder (but not to dir2), which creates the .DS_Store files in both dir0 and dir1. Finally, we delete the .DS_Store in dir0:
        rm dir0/.DS_Store
    Now i created the archive (on Mountain Lion, bsdtar 2.8.3, but I have the same issue when I try gnutar 1.17):
        tar -cvf bkup.tar dir0/
    Then I extract the archive in a different location, say:
        mkdir different_location
        cd different_location
        tar -xvf ../bkup.tar
    The problem: the (modification) timestamp of dir1 is set to the time I extracted the archive, rather then to the creation time of the original dir1 (but dir0 and dir2 have the correct timestamps of the creation time).
    How can I ensure that all extracted directories have the modification timestamps set to the same as the original directories?
    The problem seems to be related to the .DS_Store file that is in dir1/ but is not in dir0/ and dir2/. I do want to save the .DS_Store files in my original archive. Perhaps this also has something to do with the fact that .DS_Store files have extended attributes (unlike the other files in these directories);
    that is, perhaps tar adds the extended attributes after it sets the timestamps of the extracted files, and that step resets the modification times?
    So I tried to disable the extended attributes with:
        export COPYFILE_DISABLE=true
    but that did not work.
    any idea how to recover the original timestamps?

    There's a write-up on tar and how it tries to maintain the directory modification times here.
    Do you need to use tar, or could zip and unzip (for instance) be used here?   And depending on what you're up to with the backups, using a scratch disk and time machine works, as can using rsync; if it's not working for you here, might there be an alternative to tar?

  • Aperture AppleScript object timestamps?

    Is there any way to access a modification timestamp of a Folder/Album/Project/Image through AppleScript? I only see the name and the ID in the Dictionary.
    erik

    OK, I misunderstood what you were asking for.
    Aperture stores the modification date (I assumed you were talking about the capture date) for Versions & Albums (probalby Projects as well) in it's SQLite3 database, and also in a whole series of XML files down inside the Library package, but there's no straightforward way to get those modification dates via AppleScript unless you're a pretty advanced scripter - even reading in the XML files is likely to require knowing some SQLite commands to find out where the XML files are.
    Ian

  • Query Updation recovery in Oracle

    Is there any way I can track changes made to the database timewise.
    I modified a column value from front end by mistake. It actually toggles the column value in the table from 'Y' to 'N' or vice versa upon clicking it. Im not sure how many times I toggled.
    I do see the value in the database with a modification timestamp which is captured in the same table with my userid.
    I want to revert back the particular column value with original data. Is the updation values done in oracle database stored somewhere timewise?
    Please let me know.

    Thanks for the reply!!!
    I tried DBLogminer in my test database by following the below url
    http://www.oracle.com/technology/oramag/oracle/05-jul/o45dba.html
    and Im able to see the past transactions...
    I believe as per help docs the moment I end the session the turning on DBLogminer goes off...
    What overhead it has on the database when turned on... Since we are kind of loading huge files from hard disk , is it a problem if we try to load very huge files...
    will it leave a trace somewhere else that this kind of activity heppenned....
    Please confirm...
    PS: In my case the actual Oracle Server is in some other box...Still can I do the Logminer activity from a remote connection !!!

  • How to delete the data folder of a removed account?

    Greetings,
    While preparing the backup of my profile folder, I have realized that there are several folders in my IMAP profile subfolder ( C:\Users\…\Thunderbird\Profiles\2mr7tdtg.default\ImapMail ) that exist in that folder and I don't understand what they do there. The "several folders" that I'm talking about are named after IMAP servers that I've used in the past.
    I believe, judging from the last modification timestamps of a few of them, that these folders match old accounts that I have deleted and, for some accounts, recreated for various reasons. I have 23 folders in the ImapMail folder while only having 5 current accounts in Thunderbird.
    Needless to say, those extra folders take up much space on my disk. I'd like to remove them as I don't understand why these folders and their contents aren't deleted when the account is removed from Thunderbird.
    Question: how do I know which folder is still active and which account it is linked to? Put differently, how do I know which folder holds the messages and data of a specific e-mail account?
    Thank you.

    Open Account Settings. Select 'Server Settings' for an account in the left pane.
    The 'Local Directory' setting identifies the corresponding folder for the account.
    Repeat that for your other accounts.

  • Conversion mapping is losing time zone data during daylight saving time

    We have a problem with conversion of Calendars to timestamp with timezone for the last hour of Daylight Saving Time (e.g. 01:00 EDT - 01:59 EDT) where it is being interpreted as Standard Time which is in reality 60 minutes later.
    We've written a JUnit test case that runs directly against TopLink to avoid any issues with WAS and its connection pooling.
    The Calendar theDateTime comes from an object called TimeEntry which is mapped to a TIMESTAMP WITH TIMEZONE field using conversion mapping with Data Type TIMESTAMPTZ (oracle.sql) and Attribute Type Calendar (java.util).
    We are using:
    Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build Patch for Bugs 5145690 and 5156075)
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    Oracle JDBC driver Version: 10.2.0.1.0
    platform=>Oracle9Platform
    Execute this Java:
    SimpleDateFormat format = new SimpleDateFormat("MM/dd/yyyy HH:mm z");
    TimeZone tzEasternRegion = TimeZone.getTimeZone("US/Eastern");
    Calendar theDateTime = Calendar.getInstance(tzEasternRegion);
    theDateTime.setTime(format.parse("10/29/2006 01:00 EDT"));
    Persist to the database and execute this SQL:
    SELECT the_date_time, EXTRACT(TIMEZONE_REGION FROM the_date_time), EXTRACT(TIMEZONE_ABBR FROM the_date_time), EXTRACT(TIMEZONE_HOUR FROM the_date_time)
    FROM time_table WHERE time_table_id=1
    This provides the following results:
    THE_DATE_TIME EXTRACT(TIMEZONE_REGION FROM the_date_time) EXTRACT(TIMEZONE_ABBR FROM the_date_time) EXTRACT(TIMEZONE_HOUR FROM the_date_time)
    29-OCT-06 01.00.00.000000 AM US/EASTERN US/Eastern EST -5
    The wrong time zone is in the database. It should be EDT -4. Let's test the SQL that should be generated by TopLink. It should look like the following.
    Execute this SQL:
    UPDATE time_table SET the_date_time = TO_TIMESTAMP_TZ('10/29/2006 01:00 US/Eastern','mm/dd/yyyy HH24:MI TZR') WHERE (time_table_id=1)
    SELECT the_date_time, EXTRACT(TIMEZONE_REGION FROM the_date_time), EXTRACT(TIMEZONE_ABBR FROM the_date_time), EXTRACT(TIMEZONE_HOUR FROM the_date_time)
    FROM time_table WHERE time_table_id=1
    This provides the same results:
    THE_DATE_TIME EXTRACT(TIMEZONE_REGION FROM the_date_time) EXTRACT(TIMEZONE_ABBR FROM the_date_time) EXTRACT(TIMEZONE_HOUR FROM the_date_time)
    29-OCT-06 01.00.00.000000 AM US/EASTERN US/Eastern EST -5
    Now, execute this SQL:
    UPDATE time_table SET the_date_time = TO_TIMESTAMP_TZ('10/29/2006 01:00 EDT US/Eastern','mm/dd/yyyy HH24:MI TZD TZR') WHERE (time_table_id=1)
    SELECT the_date_time, EXTRACT(TIMEZONE_REGION FROM the_date_time), EXTRACT(TIMEZONE_ABBR FROM the_date_time), EXTRACT(TIMEZONE_HOUR FROM the_date_time)
    FROM time_table WHERE time_table_id=1
    This provides better results:
    THE_DATE_TIME EXTRACT(TIMEZONE_REGION FROM the_date_time) EXTRACT(TIMEZONE_ABBR FROM the_date_time) EXTRACT(TIMEZONE_HOUR FROM the_date_time)
    29-OCT-06 01.00.00.000000 AM US/EASTERN US/Eastern EDT -4
    The correct time zone is now in the database. Let's test reading this with the following Java:
    System.out.println("cal= " + theDateTime);
    System.out.println("date= " + theDateTime.getTime());
    System.out.println("millis= " + theDateTime.getTimeInMillis());
    System.out.println("zone= " + theDateTime.getTimeZone());
    This provides the following results:
    cal= java.util.GregorianCalendar[...]
    date= Sun Oct 29 01:00:00 EST 2006
    millis= 1162101600000
    zone= sun.util.calendar.ZoneInfo[id="US/Eastern",...]
    The TimeZone object is correct since we are using the US/Eastern regional time zone, but the millis are wrong which makes the time EST instead of EDT. The millis should be 1162098000000.
    The conversion from java.util.Calendar to TIMESTAMPTZ loses the actual offset when setting to a regional time zone. It can maintain this info by specifying it explicitly.
    The conversion from TIMSTAMPTZ to java.util.Calendar also loses the actual offset even if the correct offset is in the database.
    Has anyone else encountered this conversion problem? It appears to be a conversion problem in both directions. I know that the Calendar is lenient by default and will assume Standard Time if time is entered during the repeated 1 o'clock hour at the end of Daylight Saving Time, but the Calendars we are using are explicit in their time, so this would be classified as data corruption.
    Nik

    Opened an SR. Looks like there is a problem with conversion either in TopLink or in JDBC.

Maybe you are looking for

  • Error message when syncing ipod classic 80 GB

    After I connect my ipod to itunes and I try to sync it, an error message pops up saying "The ipod cannot be synced. An unknown error occurred (-48)." What does that mean? Is there any way to fix this without having to restore the ipod?

  • 24" iMac a PVA panel?

    Just wondering if the new iMac uses a PVA Samsung panel instead of the IPS panel in the 20" iMac and ACD and 23" ACD. People have color shift issues with the PVA panels... anyone here use a PVA panel and like it?

  • HFM Migration from 11.1.1.3 to 11.1.2.3

    I have to migrate HFM production application from 11.1.1.3 to 11.1.2.3. Please provide steps for the same?

  • Scrolling semi-transparent panels

    I have a parent panel that paints a custom background. Within that panel, I embed another panel held by a JScrollPane. My intent is to have the custom background show through on the panel that is being scrolled. To accomplish this, I set both the scr

  • GUID Changed

    Hi friends,       In Our SLD Software component changed.................... so we when we have created new scenario.............GUID is changed.in repository........ now when Transporting Integration scenario from integration repository to in integra