Inheritance Question part 2

class ClassA
public void sayHelloInA() { System.out.println("Hello in class A"); }
public void show() { System.out.println("Show in ClassA"); }
class ClassB extends ClassA
public void sayHelloInB() { System.out.println("Hello in class B"); }
public void show() { System.out.println("Show in ClassB"); }
public class Test
public static void main(String[] args)
ClassA c = new ClassB();
c.sayHelloInB();
c.show();
Why c.sayHelloInB() does not compile but c.show() compiles and runs (which displays "Show in ClassB")

Russell53 wrote:
Why c.sayHelloInB() does not compile but c.show() compiles and runs (which displays "Show in ClassB")The answer was already posted in your [previous thread|http://forums.sun.com/thread.jspa?threadID=5372352]. Please continue the discussion there.

Similar Messages

  • [svn:fx-4.x] 15377: Fix for invalid links for inherited skin part depending on package depth

    Revision: 15377
    Revision: 15377
    Author:   [email protected]
    Date:     2010-04-13 12:53:59 -0700 (Tue, 13 Apr 2010)
    Log Message:
    Fix for invalid links for inherited skin part depending on package depth
    QE notes: None
    Doc notes: None
    Bugs: SDK-26208
    Reviewer: Darrell
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-26208
    Modified Paths:
        flex/sdk/branches/4.x/asdoc/templates/class-files.xslt

    Stope
    Mailing me ***
    Sent from my I phone

  • For loops & inheritance question

    I am trying this exercise dealing w/inheritance. I enter at command line a random number of c's, s's and m's. for checking,savings and money market. I then parse the string and check for the character. From there I create one of the accounts. then I am supposed to make a report that displays the past 3 months activities. the first account created gets 500 deposit the from there each account after the first gets an additional 400. so it would be: 500,900,1300,etc. Here is what I have so far, but the report part is where I can't figure out exactly how to go about solving it. Thanks in advance.
    public static void main( String args[] ){
         int intDeposit = 500;
         char charTest;
         Object [] objArray = new Object[args[0].length()];
         for ( int j = 0; j < 3; j ++ ){                        System.out.println( "Month " + ( j +1 ) + ":" );
             for( int i = 0; i < args[ 0 ].length(); i ++ ){
              charTest = args[ 0 ].charAt( i );
                         if (charTest == 'c' ){
                  BankAccount at = new  CheckingAccount( intDeposit );
                  objArray=at;
              else if( charTest == 's' ){
              BankAccount at = new SavingsAccount( intDeposit );
              objArray[i]=at;
              else if( charTest == 'm' ){
              BankAccount at = new MoneyMarket( intDeposit );
              objArray[i]=at;
              else{
              System.out.println( "invalid input" );
              }//else
              intDeposit += 400;
              System.out.println();
         }//for j
         for (int counter = 0; counter < objArray.length; counter ++ ){
              System.out.println( "Account Type: " +
                        objArray[counter].toString() );
              System.out.println( "Initial Balance: " +
                        (BankAccount) objArray[counter].getCurrentBalance() );
         System.out.println( "TotalDeposits: " + objArray[counter].getTotalDeposits() );
         System.out.println();
         }//for i
    }//main
    }//TestBankAccount.java\

    The only thing I think is wrong is the following line:
    System.out.println( "Initial Balance: " +                    (BankAccount) objArray[counter].getCurrentBalance() );
    Should be:
    System.out.println( "Initial Balance: " +                    ((BankAccount) objArray[counter]).getCurrentBalance() );

  • FCP to PP questions: part 5

    13) In FCP if you right click on a clip it shows you, amongst other info, the duration of the clip in the timeline. I can't seem to find that same information in PP. Does it exist in an easily accessible way and if so where?
    14) In FCP when you have a cut in a clip you can click on the cut and hit delete and it rejoins the two parts. Can't seem to do this is PP. Is it possible and if so what am I doing wrong?
    15) In the effects window i have created a favourites folder. 2 questions here. Firstly when I drag an effect into the favourites folder if the favourites folder is off the bottom of the window it won't auto scroll down to it so I have to enlarge the bottom of the window in order to have the favourites folder showing so i can drag and drop into it... so am i missing something or is this the way you have to do it
    b) I can't seem to move my sub-folders around in the favourites folder. Or in fact the filters. they just sit where they want. Can I move these sub-folders around?

    cheers
    i have had a lot of responses on here and the other forum (from Denis actually) so i'm going to digest it all and make notes on what I can do until it becomes muscle memory and compile my features wish list then hop on over and post them and cross my fingers
    i do have to say though that my brief time with PP CS6 has been far more palatable and far less frustrating than my brief time with 5.5 and I do appreciate everyone's input and solutions so far. At it's core PP does seem blinding and I am old fashioned and want tracks and I want naming conventions to remain the same and the things that seem to be missing are pretty much the little things that I have gotten used to from FCP rather than core issues so hopefully they'll come over time and in 6 months I can fondly kiss FCP7 goodbye.
    Cheers all and cheers Adobe for not being riddled with hubris.

  • Constructor Inheritance Question

    Here's a quote from the Java Tutorials at http://java.sun.com/docs/books/tutorial/java/javaOO/objectcreation.html :
    "All classes have at least one constructor. If a class does not explicitly declare any, the Java compiler automatically provides a no-argument constructor, called the default constructor. This default constructor calls the class parent's no-argument constructor, or the Object constructor if the class has no other parent. If the parent has no constructor (Object does have one), the compiler will reject the program."
    In order to fully understand this concept, I created two classes: a ClassParent and a ClassChild.
    public class ClassParent
        public static void main(String[] args) {
           ClassParent tester = new ClassParent();
    public class ClassChild extends ClassParent
        public static void main(String[] args) {
            ClassChild child = new ClassChild();
    }Both classes compiled successfully, which raised the following question:
    I understand that the ClassParent default constructor calls the Object's no-argument constructor.
    Does the ClassChild also call the Object's constructor once it realizes that the ClassParent does not have a no-argument constructor?
    And a somewhat non-related question:
    Seeing how ClassParent calls Object's no-argument constructor if it does not have one of its own, does it also extend the Object class?
    Edit: After running the following code, I realized that the answer to my last question is yes:
    public class ClassParent
        public static void main(String[] args) {
           ClassParent tester = new ClassParent();
           boolean test = tester instanceof Object;
           System.out.println(test);
    }Edited by: youmefriend722 on May 26, 2008 1:54 PM

    youmefriend722 wrote:
    I think I'm getting a basic grasp now but want to make sure that I'm not misunderstanding anything.
    Constructor inheritance:
    If a no-argument constructor is invoked but one isn't declared in that class, the superclass's no-argument constructor will be invoked. Well, sort of. If you invoke a constructor that doesn't exist, you get an error. Keep in mind that the invocation and the constructor may both be automatically supplied by the compiler, and that the compiler won't automatically create a no-arg constructor for a class if you define any constructors for that class.
    So if you don't define any constructors in a class, then a no-arg one is created automatically (at compile time) and (at runtime) when you instantiate that class, that no-arg constructor will try to invoke the superclass's no-arg constructor.
    But suppose you do define a constructor, one that takes an argument. Then if you try to invoke a no-arg constructor on that class, you'll get an error, and the superclass's no-arg constructor won't be invoked (because the error happens first).
    If the superclass does not have a constructor, then the superclass's superclass's constructor will be invoked.No. That never happens. Every class has a constructor (although it might have permissions which make it inaccessible, which is a whole other issue we'll worry about later).
    If the superclass does have a constructor but doesn't have a no-argument constructor, then there will be a compile-time error.Only if you try to invoke the no-arg constructor, which might happen implicitly. For example, if you write a superclass with a 2-arg constructor, and you write a subclass with a 1-arg constructor, and the 1-arg subclass's constructor invokes the superclass's 2-arg constructor, then there's no problem, even though in this example, the superclass doesn't have a no-arg constructor.
    Constructors in general:
    In every constructor, the superclass's no-argument constructor will be invoked if the none of the superclass's constructors are explicitly invoked.Yeah, I think that's right.

  • Multiple inheritance question

    This just occurred to me. I read the other day that all classes inherit Object. So if I have a class defined as public class A {
    }and I call toString() on an instance of this class, I get Objects toString implementation (assuming it has not been overridden). OK, this I understand.
    Now if instead I havepublic class A extends B {
    }and I call toString() on A, assuming it is not overridden in either A or B, I will still get Objects toString method. My question is, does A still extend Object, or does it inherit the fact that B extends Object? And what happens if I override toString() in B - what will I get if i call toString on an instance of A?

    java.lang.Object is at the root of all class inheritance hierarchies in Java. Therefore, all classes inherit from java.lang.Object, either directly or indirectly.
    When you call a method on an object of class Foo, Foo's inheritance hierarchy is traced starting with Foo and going all the way back to java.lang.Object, looking for an implementation of the method. The first implementation encountered is the one that gets used. So in your example calling toString on an instance of class A will result in B's toString method being executed.
    Hope this makes sense.

  • Inheritance questions

    Say a superclass has 3 methods and 3 properties. NExt, I create a subclass which overrides these same 3 methods and properties. Either way, my question really is this... When casting up and down, when it is a subclass and a super class reference, are the properties preserved when it is cast(implicitly) up to a superclass reference, so that, in case it needs to be cast back down (explicitly) to its original subclass form, the subclass properties can still be referred to? Are the original variables still preserved (much like a static variable)?

    are the properties preserved when it is cast(implicitly) up to
    a superclass reference, so that, in case it needs to be cast backAn object instance does not change when it's casted into a superclass reference. This means it can be casted back (if this weren't the case, then all methods that return Object would be pretty useless).
    In addition, accessing an object method via a superclass reference does not mean that you'll invoke a superclass method. Instead, it invokes the method appropriate to the object (otherwise overriding and polymorphism would be pretty useless).
    However, accessing an object's instance variable via a superclass reference does access the superclass variable, not the subclass variable.
    I would suggest playing with this for a while ... here's something to start with:
    public class DROCPDP
        public static void main( String argv[] )
        throws Exception
            Base a = new Base();
            Sub b = new Sub();
            Base c = (Base)b;
            Sub d = (Sub)c;
            System.out.println("\nOperations on A:");
            System.out.println("a.var = " + a.var);
            a.method();
            System.out.println("\nOperations on B:");
            System.out.println("b.var = " + b.var);
            b.method();
            System.out.println("\nOperations on C:");
            System.out.println("c.var = " + c.var);
            c.method();
            System.out.println("\nOperations on D:");
            System.out.println("d.var = " + d.var);
            d.method();       
        private static class Base
            public String var = "Base";
            public void method()
                System.out.println("Called Base.method; variable = " + var);
        private static class Sub extends Base
            public String var = "Sub";
            public void method()
                System.out.println("Called Sub.method; variable = " + var);
    }

  • Filter Question part II

    Hi,
    do you remember my previous post? Well, now I've a similar requirement, but again I haven't a solution. i've following question:
    I've a prompt with two choices: "All" and "WITHOUT ICO" wich fill a presentation variable 'ICO'. Then i've a report that contains a column "JDE Account" wich contains accounts id (if an account is ICO then it will finish with letter I, otherwhise not.
    Examples of ICO Accounts: 1384I, 14849I and so on
    Examples of WITHOUT ICO Account: 3893, 4484.
    I want that if user choices 'ALL' prompt value the report returns all accounts, otherwhise if user choices 'WITHOUT ICO' prompt value the report filter only accounts WITHOUT ICO.
    I've tried many filters (simple filters and complex), but it doesn't work. Can you help me???
    Thanks
    Giancarlo

    Hi,
    i've tried but it doesn't work. I give following error:
    Error during retrieving drilling info: SELECT "Cost Center"."Organization Region Description" saw_0, FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"='A') saw_1, FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"='A') saw_2, FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"='A')-FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"='A') saw_3, (FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"='A')/FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"='A')-1)*100 saw_4 FROM Prototype WHERE (Time."Year" = 2010) AND (Time."Desc Month" = 'January') AND (Country."Country Code Company GOAL Code" IN (SELECT saw_0 FROM (SELECT Country."Country Code Company GOAL Code" saw_0 FROM Prototype WHERE Country."Company Description" = 'GERMANY') nqw_1 )) AND ("JDE Account"."HFM Account Code" in (Select "JDE Account"."HFM Account Code" From Prototype where ‘WITHOUT ICO’ = ‘Tutti’) OR "JDE Account"."HFM Account Code" in (Select "JDE Account"."HFM Account Code" From Prototype where "JDE Account"."HFM Account Code" not like ‘%I’ and ‘WITHOUT ICO’ = ‘WITHOUT ICO’))
    Error Details:
    Error Code: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Driver Odbc returns an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <ICO’>: Syntax error [nQSError: 26012] . (HY000)
    Istruzione SQL eseguita: {call NQSGetLevelDrillability('SELECT "Cost Center"."Organization Region Description" saw_0, FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"=''A'') saw_1, FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"=''A'') saw_2, FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"=''A'')-FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"=''A'') saw_3, (FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"=''A'')/FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"=''A'')-1)*100 saw_4 FROM Prototype WHERE (Time."Year" = 2010) AND (Time."Desc Month" = ''January'') AND (Country."Country Code Company GOAL Code" IN (SELECT saw_0 FROM (SELECT Country."Country Code Company GOAL Code" saw_0 FROM Prototype WHERE Country."Company Description" = ''GERMANY'') nqw_1 )) AND ("JDE Account"."HFM Account Code" in (Select "JDE Account"."HFM Account Code" From Prototype where ‘WITHOUT ICO’ = ‘Alli’) OR "JDE Account"."HFM Account Code" in (Select "JDE Account"."HFM Account Code" From Prototype where "JDE Account"."HFM Account Code" not like ‘%I’ and ‘WITHOUT ICO’ = ‘WITHOUT ICO’))')}
    However i haven't a column All.
    Thanks
    Giancarlo

  • Small inheritance question

    Got a small quesiton about inheritance.
    I have a 'User' Class and extending that class is 'Player' and 'Enemy'.
    Player class and Enemy class contains extra stuff like different image and moves different.
    When I create a new player do I create an instance of the 'User' class or the 'Player' class?
    Also,
    If values change in the 'Player' class do the values also change in te 'User' class?
    I am fairly new to java.
    Thanks

    MarcLeslie120 wrote:
    Got a small quesiton about inheritance.
    I have a 'User' Class and extending that class is 'Player' and 'Enemy'.Sounds odd. Aren't some players also your enemy? Or is Player me, and everybody else is Enemy?
    Player class and Enemy class contains extra stuff like different image and moves different.Okay. If it's just different, that's one thing. If it's adding extra methods, you probably don't want to inherit.
    When I create a new player do I create an instance of the 'User' class or the 'Player' class?If it's going to be a Player, you need to create a Player.
    If values change in the 'Player' class do the values also change in te 'User' class?If you mean an instance variable (a non-static member variable), then there aren't two separate objects. There's just one object, that is both a Player and a User. The variable exists only once.
    Your inheritance hierarchy smells funny, but without more details about what these classes represent and what you're trying to accomplish, it's hard to provide concrete advice.

  • FCP to PP questions: part 3

    7) In FCP Shift+ALT allows me to drag a duplication of a clip onto another track, giving me two clips of the same content.
    Did this get added to PP6? If so, anyone know the keyboard shortcut. If not, feature request?
    8) When I open a bin and have them clips set to thumbnail, why are the clips in reverse order and how do i swap it to alphabetical order? In list mode they are in alphabetical order.
    Sorry this is a real dumb question but i can't seem to see what to click to swap the order of the clips in thumbnails.
    9) In FCP I have f5 set to lock all audio and f6 set to lock all video. This means if i only want the audio or the video off a clip it is easy to click the other key shortcut and close off what I don't want.
    I can't seem to find a lock all audio and lock all video shortcut. Are they there and if so where?

    8) Icon mode, as Jim said, is a manual sort mode - the idea being it can be used for storyboarding, so you can sort the clips in rough presentation order, select them & automate to timeline (or drag to the new sequence button to create a new one & it'll auto fill the new sequence with the clips in the order you selected).  Having an auto sort in Icon mode is a feature request that I've seen several times in the past few week, so we're definitely aware, but it's always good to add your voice via our feature request page, as we pay attention to the relative popularity of the requests that come through.
    9) I wasn't quite following the context here.  Jim's talking about if a linked A/V clip is already on the timeline, if you alt-click the video or the audio portion, only that portion will be selected.  Then (letting go of alt), you can drag just that selected video or audio segment if you need to deliberately slip them out of sync (and you'll get out of sync indicators showing up to tell you how much of a slip you're introducing).
    There's other locks as well - you can lock individual tracks, so if you lock an audio track, you can select a group of linked video clips and have everything slip relative to the locked audio track if that's what you're looking for.
    If you're talking about inserting from the source window into a sequence, then you have a few options as well:  it sounds like you've already noticed the video only/audio only icons for dragging, that's one way;  you can also use track targetting in combination with the insert/overlay shortcuts, so I could for instance disable all audio tracks in the track targetting, and my insert would then only bring over the video.  I'm probably forgetting other methods - multiple ways to skin cats here.
    Cheers

  • FCP to PP questions: part 2

    4) tttt in FCP lets me select everything behind where I click. is this available in PP? All I can find is clicking t gives me the option to select everything on a specific track but not everything. I like selecting everything if i want to move it all along the timeline to give me some space to do stuff in.
    5)  In FCP Backspace deletes a highlighted clip but leaves the timeline as it is. Delete deletes a highlighted clip and closes the gap left by the removal of the clip.
    In PP I can only use backspace which deletes the clip and leaves a gap. Is there a way to do the FCP version of Delete so I delete a clip and the gap left automatically goes? Or is this another feature request?
    6) In FCP I can place little icons in different windows of the app, eg: new sequence, freeze frame, +3db, Render, etc. which one clicks on and they work.
    Do these icons exist in PP?

    jules______ wrote:
    5)  In FCP Backspace deletes a highlighted clip but leaves the timeline as it is. Delete deletes a highlighted clip and closes the gap left by the removal of the clip.
    In PP I can only use backspace which deletes the clip and leaves a gap. Is there a way to do the FCP version of Delete so I delete a clip and the gap left automatically goes? Or is this another feature request?
    See the part 1 thread...basically, DEL (or BACKSPACE) removes the selected clip(s) whereas SHIFT+DEL (or SHIFT+BACKSPACE...??) will ripple delete, removing the clips and leaving no gap.
    6) In FCP I can place little icons in different windows of the app, eg: new sequence, freeze frame, +3db, Render, etc. which one clicks on and they work.
    Do these icons exist in PP?
    I'm not really sure what you're asking about here, but it doesn't sound like anything you'd do in Premier Pro. However, there are shortcuts you can use for that stuff (new sequence is CTRL+N, render previews is ENTER for red timeline areas or SHIFT+ENTER to force render yellow previews). Read up in the help file a bit to see the shortcut default assignments, and then peruse the keyboard shortcut editor to see which functions can be assigned a shortcut.

  • FCP to PP questions: part 1

    A series of questions that have arrisen from exploring PP.
    1) When I have a clip in the timeline, an audio file of VO for example, and I hit space to play it and am then listening to it, when i jump forwards in the timeline to listen to another bit PP stops playing whereas FCP would keep playing, which is better because it saves me hitting the space key each time i jump to a new point.
    Is there a setting i need to change something to enable PP to do this? Or do I need to request it as a future feature?
    2) My keyboard layout in in FCP7 is slightly tweaked so this may not be the same for everyone, but in FCP7 I have CTRL G as close gap. I can jump to a gap in my timeline and hit CTRL+G and the next clip along butts up next to the previous clip.
    This doesn't seem to work in PP and I can't find a keyboard shortcut for close gap. Is there one? Or is this feature called something else? Or do I have to submit a feature request?
    At the moment it seems I need to delete a clip, click the gap, then delete the gap. 3 moves for one before.
    3) In my key layout I have the numbers 7 to 0 assigned to +3db, +1db, -1db, -3db and highlight a piece of audio and adjust with the keystroke. Can't seem to find the keyboard shortcuts for these in PP. Am I being thick? Can I assign these settings to keys in PP? Or is this another feature request?

    Hi Kevin,
    thanks for that. Just tested it out. So the Ripple Trim Next Edit to Playhead does work but not quite in the same simplistic way.
    If I use the up arrow to go to the previous edit then it won't work. I have to nudge forward one frame and then do it and then, of course, I have a one frame gap.
    Additionally, with FCP version i can just dump the playhead anywhere in a gap and it will close the gap.
    So yes, this is useful in some of my uses, such as reducing the gap quickly when i've been throwing things on the timeline, but in terms of simply and fully closing the gap, it doesn't.
    But, I shall add it to my features wish list and post them all in due course.
    Thanks for the pointers though, it is good to know that feature is there and for now I shall test it out more in my normal flow.

  • DST questions, part duex

    Oracle 11.20.1.0 SE-One
    Oracle Linux 5.6 x86-64
    Cut to the chase. Most of our scheduler jobs are defined such that start_date, last_start_date, and next_run_date all specify the timezone with a fixed offset. As a result, the first execution after the DST time change, they ran one hour early, but then computation for the next run corrected and they fell back to running at the scheduled time.
    Well, almost.
    We have two application schemas that own scheduler jobs.
    The jobs in one schema behaved as above.
    But all of the jobs in the other schema continue to run one hour early.
    the above can be observed in the output from this query:
    select
         instance_name
    ,     systimestamp
    from
         v$instance;
    select
         owner
    ,     job_name
    ,     log_date
    ,     status
    from
         dba_scheduler_job_log
    here   log_date > sysdate - 10
      and   owner not in ('EXFSYS',
                          'ORACLE_OCM',
                          'PERFSTAT',
                          'SYS'
    order by
         owner
    ,     job_name
    ,     log_date
    ;Very easy to just go down the LOG_DATE column and see the time change.
    So my first of two questions is - can anyone explain the above behavior, especially the inconsistency in the jobs of one schema 'healing' themselves after the first run after the time change, but the jobs of another schema continuing to run an hour early.
    I don't know if it bears on it or not, but most of the jobs (both schemas) are scheduled with a home-grown function for 'frequency' that uses a decimal representation of time (ie: WEEKLY(.4583,'SATURDAY') )
    And a second question - what are the things that influence the timezone representation in the START_DATE when defining a new job? Our programmer creates/maintains the jobs using SQL Navigator, and there is no provision in the GUI there for specifying either a specific time zone or the method (offset vs. name) of representing a timezone. I've read that there are some client-side influences but haven't pieced that together just yet.

    spajdy wrote:
    Job JOB_PEOPLESOFT_EXTRA, repeat_interval is in CALENDAR, syntax start_date=09-NOV-12 09.45.00.000000 AM -06:00 time zone is specified by absolute offset -6:00. So this job can't follow DST because as ORACLE doc say:
    The calendaring syntax does not allow you to specify a time zone. Instead the Scheduler retrieves the time zone from the start_date argument. If jobs must follow daylight savings adjustments you must make sure that you specify a region name for the time zone of the start_date. For example specifying the start_date time zone as 'US/Eastern' in New York will make sure that daylight saving adjustments are automatically applied. If instead the time zone of the start_date is set to an absolute offset, such as '-5:00', daylight savings adjustments are not followed and your job execution will be off by an hour half of the year.
    Yes, I'm with you so far.
    Job EVENT_TRANSFER, repeat_interval is in PL/SQL syntax, start_date=05-NOV-12 10.30.00.000000 AM -05:00. Because repeat_internal is in PL/SQL = function MON_TO_FRI then timezone for next_run_date is defined by this function. And this function use SYSDATE.
    And this is where I'm missing something. I don't see how the timezone is defined in the function whose code I provided. SYSDATE doesn't carry TZ info.
    And anticipating the next question ...
    SQL> DECLARE
      2   x VARCHAR2(100);
      3  BEGIN
      4    dbms_scheduler.get_scheduler_attribute('DEFAULT_TIMEZONE', x);
      5    dbms_output.put_line('DTZ: ' || x);
      6  END;
      7  /
    PL/SQL procedure successfully completed.
    SQL> set serveroutput on
    SQL> /
    DTZ: CST6CDT
    PL/SQL procedure successfully completed.
    A we can see SYSTIMESTAMP has now timezone -06:00. In DST it is hour shifted =-5:00.
    So what's conclusion:
    1/ when you are using PL/SQL syntax for repeat_interval then time zone is defined by used expression. In your case by function MON_TO_FRI. This function is based on SYSDATE and this function change timezone twice a year (DST start and end).And that's what I'm failing to see -- HOW it is defined by the ps/sql function.
    2/ when you are using CANLENDAR syntax for repeat_interval and you want job to follow DST changes correctly you must specify start_date with timezone in region/city.
    3/ if you want to correct job JOB_PEOPLESOFT_EXTRA disable it, set start_date with correct timezone definition and then enable job Yes. Actually, my testing has shown no reason to disable the job first. I've seen that if it simply unset start date (dbms_scheduler.set_attribute_null ('ESTEVENS.EDST_TEST_3','START_DATE');), the TZ for START_DATE gets set to the DEFAULT_TIME_ZONE (see above) AND .... the TZ spec in NEXT_RUN_TIME gets reset as well. If REPEAT_INTERVAL is specified as an interval, NEXT_RUN_TIME gets adjusted to match the current time, but if it is specified as an absolute (BYDAY, BYHOUR, etc.) only the TZ info of NEXT_RUN_TIME will change.
    >
    dbms_scheduler.stime return 12-NOV-12 11.45.24.658242000 AM CST6CDT so I hope that CST6CDT is correct timezone of your DB. You profile says that you are located in TN - USA and UTC-6 is for Tennessee (middle and western)- Memphis dst.I've got the fix ready to implement and fully tested, and in addition to fixing the TZ info itself, we are going to replace the home-grown functions with standard calendar syntax. At this point I'm just trying to fill in the last bits of my understanding. Purely academic now.

  • HD to SDD upgrade question (Part 2)

    I know this was asked before, if one could upgrade the MBA from a Hard Disk to a SDD, but here's another question:
    * Would an Apple Store do such an upgrade, or would the customer have to do it - even if he/she was a member of Apple's Pro Care?
    -Dan Uff

    Keith1981 wrote:
    I really want a MacBook Air. As a seasoned college student, I am tired of lugging this beast that I currently have. With all my books and notebooks, and not to mention library books, the Air's weight really appeals to me. However, as a student, I have a hard time justifying the price of the SSD and the HDD is questionable at best. I was planning on getting the 1.8 processor and the 80GB hard drive, but I really don't know what to do. I hope you can upgrade the HD from HDD to the SSD down the road....Any thoughts? I have been also looking at the black MacBook, which you can upgrade both the ram and the HD, but I am planning on eventually getting an iMac or Mac Pro someday so my notebook will mainly be for word processing, web surfing, some downloads such as iTunes etc. Any advice would be appreciated.
    Right now I only see two manufacturers of SSDs - Samsung and SanDisk, although there could be more and I'd think more will enter the market. I've only seen info that suggests that SanDisk is selling directly to OEMs and not to the consumer at this time. I believe that a lot of the SSDs on the market with other brand names are just relabelled from these two manufacturers.
    The HD should be fairly easy to replace (as far as drive swaps go) with another HD or SSD (I think 5 mm thickness). I saw photos of the battery removal, and the hard drive seems to be tucked in there with reasonable access; maybe one or two ribbon connectors would need to be pulled. The 1.8" PATA interface is a standard, so there should be compatible drives available now or perhaps larger capacity ones in the future.

  • Contact Center Express 8.5 Software and License Questions - Part Numbers?

    Hi
    We have a CCX server , Model MCS-7825-I4-CCX1 but unfortunately we don’t have any of the required installation media and the necessary licenses for it.
    I would like to use this for our helpdesk team ( 25 agents and 5 Supervisors)
    can anyone tell me what part #s i need to order in order to get the installation media and the Necessary licenses?
    Do we automatically get some seat licenses from our previous call manager licenses purchases?
    Any help is greatly appreciated.
    Regards
    Sardar

    Hello,
    I recommend you contact your Cisco reseller for a quote. Cucm order might have come in with 5 seat bundle, but you need the PAK to get the licenses.
    Sent from Cisco Technical Support iPhone App

Maybe you are looking for

  • What exactly happens to my apps and settings when i create a new user account, and delete all the other user accounts?

    Such apps and settings that apply to icloud, appstore, and itunes. I know the apps will still be in the new account and any other purchased apps will be in the appstore for re-download. But what will happen I delete user accounts and choose not to sa

  • Display pdf in HTML page with no toolbar

    Hello again, After successfully embedding a pdf file in my html page using the object tag, I need to know now how to do the same thing without having the toolbars displayed. Does anyone know if this is possible? Below is the code I used to successful

  • Why not Colorful SDN?

    Hi , From long i want to say one thing.. i am watching all the other website of our sap..which are really improvizing using the new technology..Though we have a lot of skilled talented employes of our own sap then why our favourite SDN still remainin

  • 'Open with' window displaying applications twice

    When right clicking on an icon / file, either directly on the desktop or in finder, and selecting 'Open With' I am getting a lot of applications listed twice, directly on top of each other. For example Photoshop CS Photoshop CS Firefox Firefox This s

  • External/Exec event example needed

    I'm using Acrobat 7. I have a form with interactive fields and scripts that loads from a web server. Using the FDF URL extension it also loads some data into the form. For example: http://192.168.30.106:8080/qforms/pdfs/30799_Appraisal_Form_Template.