What's up in this assignment

Stupid question ...
what's happen in this assignement
int i = 2;
i=i++;
the result of "i" is 2, but ... why?
I expected that the result was 3!!!!!!!!
Thanx
V.

public class HelloWorld {
     public static void main(String[] args) throws IOException {
          int i = 2;
          i = i++;
          System.out.println(i++);
          System.out.println(i);
probably this will make you understand it.
i=i++ is a good as i=i+1 so it doesn't really increments the value of i. whereas in the function argument
when you are incrementing i it refletcs.
so output will be
2 3
- Apratim

Similar Messages

  • Help me with  this assignment

    can anyone out there help me with this assignment ????? i`ll attach the file to this topic
    In this assignment, you are to write a Java applet, using arrays, to simulate the functions of a drinks-vending machine.
    The assignment requirements described below are broken down into 2 stages of development, described in this document
    as 'Basic Requirements' and 'Additional Features'. You are advised to do your programming progressively in these
    stages. An Activity Plan has also been specified for you to follow. Refer to the 'Grading Criteria' on page 5 to have
    an idea of how the different components are graded.
    1.     1. BACKGROUND
    A company intends to build computerised drinks-vending machines to enlarge its business portfolio. You have been tasked to develop a
    Java applet that simulates the operation of such a machine to determine if it will meet their needs.
    2.     1. BASIC REQUIREMENTS
    The machine should have a wide range of drinks available. A customer can choose a drink according to the following criteria:
    a)     a) Category of Drinks
    �     � Beverages
    �     � Soft Drinks
    (For beverages, there is choice of whether sugar and/or creamer is required, for which there is an additional charge.)
    b)     b) Type of Beverages
    �     � Hot
    �     � Cold
    Once a customer has specified the drink he wants, the amount payable is displayed. The unit prices to be displayed are as follows:
    Drinks     Price per Cup/Packet ($)
    Beverage:     Coffee     1.00
         Tea     1.20
         Milo     1.40
         Horlicks     1.35
         Chrysanthemum     1.00
         Ginger     0.80
    Soft Drinks:     Apple     1.40
         Orange     1.40
         Pineapple     1.50
         Carrot     2.00
         Longan     1.20
         Bandung     1.00
    (For beverages, a request for sugar or creamer attracts an additional charge of $0.10 each. Creamer is not applicable for
    chrysanthemum and ginger.)
    The customer may then confirm his order by entering the amount payable (this symbolises his payment for the drink). Whenever the
    payment input is not correct, an appropriate error message is displayed, whereupon the customer has to re-enter the amount again.
    When the correct amount is paid, the required drink is dispensed.
    For any drink that is out of stock, a message is shown, stating that it is not available. Each time a drink is dispensed, the stock for that
    drink is updated (For beverages, the stock is stored in units of servings for each cup.) To simplify the testing, you may start the simulation
    by setting the stock for each drink to 10 packets or cup-servings.
    3.     2. ADDITIONAL FEATURES
    In addition, the simulator can have the following features:
    a)     a) Smart Graphical User-Interface (GUI)
    You may build upon the basic requirements by recommending alternative drinks of the same category, whenever a requested
    drink is not available (as signified from the stock). In this case, only drinks which are available (i.e., in sufficient stock) are
    displayed for the customer to choose. And if only soft drinks are available, the selections for creamer and sugar should be disabled.
    b)     b) Multiple Orders
    A customer could order more than one drink. The system could allow him to specify as many drinks as he wants, prompting him
    for an appropriate payment, and then dispensing the drinks accordingly, subject to availability. This may also entail the extension
    of the graphical user-interface.
    c)     c) Sales Analysis
    Periodically, the total revenue accumulated since the last collection is printed in descending order of sales for each drink sold,
    together with a grand total. The cash is then cleared from the machine. This feature requires password-protection.
    d)     d) Replenishment of Stock
    Periodically, the stock is checked to determine how much of each drink needs to be replenished. For this purpose, a list of the
    drinks with the corresponding quantity on hand is printed in ascending order of stock level. Drinks with insufficient stock are
    topped up to a level of 10 servings or packets. This feature also requires password-protection.
    e)     e) Any other relevant features
    You are limited only by your creativity. You can add any other relevant features for this project. Please consult your tutor before
    you proceed.
    To qualify for the full marks for this section, you need to implement 2 features, at least one of which must be either (a) or (b) above.
    4.     3. ACTIVITY PLAN
    Suggestions for Getting Started
    There are many ways that you could complete this assignment. The most important part is to think about the entire project first so that
    it is easy to integrate the various pieces. You should also consider what type of graphics you want to incorporate.
    a)     a) Analysis
    1. Understand the program specification and the requirements before attempting the project.
    b)     b) Program Design
    2.     Work out the GUI components (e.g., TextFields, CheckBoxes, ChoiceBoxes, Buttons, etc.) needed to get the user input.
    3.     3. Work out the main logic of the program using modular programming techniques; i.e. use methods appropriately. E.g., tasks that perform
    4.     4. a well-defined function or those that are repeated should be coded as methods. For example, you can write the methods, displayBill(),
    5.     5. makePayment(), computeTotal(), dispenseDrink(), etc. You need to think carefully about the return type and the parameters of each
    6.     6. method.
    7.     7. You are required to use arrays appropriately for this assignment. Marks will be deducted for inefficient use or non-usage of arrays.
    c) Implementation & Testing
    8.     8. Write the method definition of each method ONE at a time.
    9.     9. Test your program logic to make sure that it works. In the interim, you can use �g.drawString(�);� or �System.out.println(�);� to print
    10.     10. out intermediate results so that you can see whether your program is working correctly. You may not want to bother about error-checking
    11.     11. at this point. You should test each method as soon as it is written, as it is much easier to debug your program in this way.
    5.     4. DELIVERABLES
    By Monday, 25th February before 5:00 p.m., hand in the following to the School of ICT Administrative Office at Block 31, level 8:
    �     � A copy of the printout of your .java file.
    �     � A diskette labelled with your name, group, student ID. The diskette should contain ALL the necessary files (.java, .html, and .class)
    to run your applet.
    �     � The above in an envelope topped with the Assignment Completion Report (see pages 6, 7 & 8). Page 6 is for you to paste on top
    of your envelope whilst pages 7 and 8 are for you to document your Test Plan, and write your comments (including any
    special instructions to run your program) - to be inserted into the envelope.
    In your .java program, you are to include a blocked comment at the top stating:
    q     q Your name, group, student ID.
    q     q Assumptions (if any) or any deviations from the specified requirements.
    q     q Any features that you would like to highlight.
    6.     5. WALK-THROUGH OF PROGRAM
    Monday 25th February at 9:30 a.m. SHARP
    In the walk-through, you will be asked to give short, written answers to some questions about your program. These questions will assess
    your basic understanding of the code that you are handing in. If you fail to display adequate understanding of your own program, you can
    be down-graded by up to two letter grades from what you would have normally received. It is also possible that you will be called to
    perform a demonstration cum explanation of your work if it is suspected that you have copied someone else�s work. Lesson: do your own
    work and you will have no problem!
    7.     6. GRADING CRITERIA FOR PROGRAMMING
    Correct and robust implementation of basic features     55 %
    Additional features     20 %
    Programming style:�     � Program design�     � Appropriate use of arrays�     � Appropriate use of variables, methods, and parameters�     � Proper usage of control structures (e.g. if/else, loops)     15 %
    Good programming practice:�     � Meaningful variable names �     � Proper indentations�     � Useful and neat comments     5 %
    Adequate (black-box) testing:�     � Suitably-designed test plan     5 %
    Total:     100 %
    PROBLEM SOLVING & PROGRAMMING II
    (Dip IT/MMC/EI, Year 1, Semester 2)
    Assignment Completion Report (to be attached to cover of envelope)
    Name: ___________________________________ Group: ________
    ID: ___________________ Date & Time submitted: ____________
    Requirements     % Done (0-100)     Remarks
    BASIC FEATURES          
    �     � Can choose category (and select appropriate additives)          
    �     � Can choose drink (with error checking)          
    �     � Can display amount payable          
    �     � Can indicate availability of drink (with error checking)          
    �     � Can accept payment for drink (with error checking)          
    �     � Can dispense drink          
    �     � Can update stock          
    ADDITIONAL FEATURES          
    �     � Smart GUI          
    �     � Multiple Orders          
    �     � Sales Analysis (with password checking)          
    �     � Stock Replenishment(with password checking)          
    �     � Any other relevant features          
    Test Plan
    Using black-box testing, record your test specification and the results according to the following format (the examples here are provided
    for your reference only):
    Test No.     Purpose     Test Shot/Data     Expected Result     Actual Result
    E.g. 1a)     Check whether beverage can be selected      Click on �Chrysanthe-mum� button     Checkbox for �Sugar� but not �Creamer� appear     �Sugar� and checkboxes appeared
    E.g. 1b)     Check whether chrysanthemum with sugar can be ordered      Select sugar and click on �Order� button     Amount payable appears as �$1.10� (i.e., $1.00 + $0.10)     Amount payable shown as $1.10
    E.g. 1c)     Check whether correct payment can be accepted      Enter �1.00� in �Payment� textfield     Error message �Insufficient payment - $0.10 short� appears     Confirmation message �Drink being dispensed� appeared � ERROR!
    E.g. 1d)     Re-test 1c), after amending program      As above     As above     Error message �Insufficient payment - $0.10 short� appeared
    etc.                    
    etc.                    
    Remember to hand in this test plan together with the other deliverables in the envelope.
    Have you�
    1.     1. Checked to make sure program still works properly even with windows resized?
    2.     2. Tested your program thoroughly, as if you're trying to break it?
    Any comments about this assignment? Any special instructions to run your program? Write it here.

    public class testing1 {
    String gg;
    public void testing3() {
    System.out.print(gg); }
    // this is are constructor for the object and method we are going to make
    next code
    class testing {
    public static void main(String[] args) {
    testing1 tes = new testing1();
    tes.gg = "hello there";
    tes.testing3(); //here we have made a object and a method
    hope this helps

  • Need help with this assignment!!!!

    Please help me with this. I am having some troubles. below is the specification of this assignment:
    In geometry the ratio of the circumference of a circle to its diameter is known as �. The value of � can be estimated from an infinite series of the form:
    � / 4 = 1 - (1/3) + (1/5) - (1/7) + (1/9) - (1/11) + ...
    There is another novel approach to calculate �. Imagine that you have a dart board that is 2 units square. It inscribes a circle of unit radius. The center of the circle coincides with the center of the square. Now imagine that you throw darts at that dart board randomly. Then the ratio of the number of darts that fall within the circle to the total number of darts thrown is the same as the ratio of the area of the circle to the area of the square dart board. The area of a circle with unit radius is just � square unit. The area of the dart board is 4 square units. The ratio of the area of the circle to the area of the square is � / 4.
    To simuluate the throwing of darts we will use a random number generator. The Math class has a random() method that can be used. This method returns random numbers between 0.0 (inclusive) to 1.0 (exclusive). There is an even better random number generator that is provided the Random class. We will first create a Random object called randomGen. This random number generator needs a seed to get started. We will read the time from the System clock and use that as our seed.
    Random randomGen = new Random ( System.currentTimeMillis() );
    Imagine that the square dart board has a coordinate system attached to it. The upper right corner has coordinates ( 1.0, 1.0) and the lower left corner has coordinates ( -1.0, -1.0 ). It has sides that are 2 units long and its center (as well as the center of the inscribed circle) is at the origin.
    A random point inside the dart board can be specified by its x and y coordinates. These values are generated using the random number generator. There is a method nextDouble() that will return a double between 0.0 (inclusive) and 1.0 (exclusive). But we need random numbers between -1.0 and +1.0. The way we achieve that is:
    double xPos = (randomGen.nextDouble()) * 2 - 1.0;
    double yPos = (randomGen.nextDouble()) * 2 - 1.0;
    To determine if a point is inside the circle its distance from the center of the circle must be less than the radius of the circle. The distance of a point with coordinates ( xPos, yPos ) from the center is Math.sqrt ( xPos * xPos + yPos * yPos ). The radius of the circle is 1 unit.
    The class that you will be writing will be called CalculatePI. It will have the following structure:
    import java.util.*;
    public class CalculatePI
    public static boolean isInside ( double xPos, double yPos )
    public static double computePI ( int numThrows )
    public static void main ( String[] args )
    In your method main() you want to experiment and see if the accuracy of PI increases with the number of throws on the dartboard. You will compare your result with the value given by Math.PI. The quantity Difference in the output is your calculated value of PI minus Math.PI. Use the following number of throws to run your experiment - 100, 1000, 10,000, and 100,000. You will call the method computePI() with these numbers as input parameters. Your output will be of the following form:
    Computation of PI using Random Numbers
    Number of throws = 100, Computed PI = ..., Difference = ...
    Number of throws = 1000, Computed PI = ..., Difference = ...
    Number of throws = 10000, Computed PI = ..., Difference = ...
    Number of throws = 100000, Computed PI = ..., Difference = ...
    * Difference = Computed PI - Math.PI
    In the method computePI() you will simulate the throw of a dart by generating random numbers for the x and y coordinates. You will call the method isInside() to determine if the point is inside the circle or not. This you will do as many times as specified by the number of throws. You will keep a count of the number of times a dart landed inside the circle. That figure divided by the total number of throws is the ratio � / 4. The method computePI() will return the computed value of PI.
    and below is what i have so far:
    import java.util.*;
    public class CalculatePI
        public static boolean isInside ( double xPos, double yPos )   
            boolean result;  
            double distance = Math.sqrt( xPos * xPos + yPos * yPos );
            if (distance < 1)               
                result = true;
            return result;
        public static double computePI ( int numThrows )
            Random randomGen = new Random ( System.currentTimeMillis() );       
            double xPos = (randomGen.nextDouble()) * 2 - 1.0;
            double yPos = (randomGen.nextDouble()) * 2 - 1.0;
            boolean isInside = isInside (xPos, yPos);
            int hits = 0;
            double PI = 0;        
            for ( int i = 0; i <= numThrows; i ++ )
                if (isInside)
                    hits = hits + 1;
                    PI = 4 * ( hits / numThrows );
            return PI;
        public static void main ( String[] args )
            Scanner sc = new Scanner (System.in);
            System.out.print ("Enter number of throws:");
            int numThrows = sc.nextInt();
            double Difference = computePI(numThrows) - Math.PI;
            System.out.println ("Number of throws = " + numThrows + ", Computed PI = " + computePI(numThrows) + ", Difference = " + Difference );       
    }when i tried to compile it says "variable result might not have been initialized" Why is this? and please check this program for me too see if theres any syntax or logic errors. Thanks.

    when i tried to compile it says "variable result might not have been
    initialized" Why is this?Because you only assigned it if distance < 1. What is it assigned to if distance >= 1? It isn't.
    Simple fix:
    boolean result = (distance < 1);
    return result;
    or more simply:
    return (distance < 1);
    and please check this program for me too see if theres any syntax or
    logic errors. Thanks.No, not going to do that. That's much more your job, and to ask specific questions about if needed.

  • What's wrong with this function

    What's wrong with this Function(PL/SQL) in this formaula column definition in Reports 6i
    function currdateFormula return Date is
    curr_date date;
    begin
    select to_char(sysdate, 'DD-MM-YYYY') into curr_date from dual;
    return(curr_date);
    end;
    I get the following error in compiling
    REP-1401. 'currdateformula'.Fatal PL/SQL error occured. ORA-01843 not a valid month.
    The SQL select to_char(sysdate, 'DD-MM-YYYY') from dual; worked well in SQL Plus prompt.
    I got a clean compile when i use just sysdate in the function (see below).
    function currdateFormula return Date is
    curr_date date;
    begin
    select sysdate into curr_date from dual;
    return(curr_date);
    end;
    Appreciate your help
    Raja Lakshmi

    hello,
    what you are trying to do :
    fetch the current date and return it as the result of the formula-column.
    what you are actually doing :
    fetch the current date, convert it to text, assign this text to a date-variable which causes an implicit type-conversion.
    in your case you create a date-string with the format dd-mm-yyyy. the implicit conversion then tries to convert this string back to date using the NLS settings of your session. depending on your NLS_LANG and NLS_DATE_FORMAT this might work, if your session-date-format is dd-mm-yyyy which obviously it is NOT as you get the error.
    what you should do :
    select sysdate into curr_date from dual;
    this fetches the sysdate and stores it in your date-variable. there is no type conversion needed what so ever.
    regards,
    the oracle reports team

  • What is  the purpose of assign roles to portal please describe

    what is  the purpose of assign roles to portal please describe

    Hi,
    You assign Roles to Users and not to portals.
    Check this to know about Role:
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/c0d8e962336000e10000000a1553f6/frameset.htm
    So a role has contents that a user can see and also privilages that the user can have (UME Actions).
    http://help.sap.com/saphelp_nw70/helpdata/EN/fb/33f520d15f8f4092a60381365620b2/frameset.htm
    When a user is assigned certain roles which have contents and also UME Actions, this user sees them when he logs on onto the portal and also has this set of  privilages.
    Regards,
    Praveen Gudapati

  • What  is difference btw project Assignment, Resource Assignment and task Assignment.

    Hi,
    I am new project accounting Module .
    what  is difference btw project Assignment, Resource Assignment and task Assignment.

    Project Assignment, Resource Assignment refers to the resource management part and Task assignment is basically the work assignment to the resource.
    An assignment/requirement is created in PJR for create demand for the resource requirement of the project and when the resource is aligned he can be assigned to the task in the work plan.
    Refers to the top down approach in this case.
    Additionally a resource can be assigned to the work plan and a assignment can be created to get the resource allocated to the project.
    Refers to the bottom up approach in this case

  • What role needs to be assigned to the user to access existing custom OData services?

    Hi all,
    What role needs to be assigned to the user to access existing custom OData services?
    With SAP ALL its working. But cannot assign that to all users. Whats the specific role for this?
    I tried with /IWFND/RT_GW_USER. But it says the role does not exist.
    Thank you,
    Achu

    Hi,
    As usual you need to build a role by yourself based on your requirements. In case of Odata services there are two different TADIR services that needs to be added. One corresponds to authorization to execute logic on backend server and the other one to access service on front end server. You can get specific services by tracing one call using ST01. For Fiori apps from SAP you get role templates. You can use them for inspiration.
    Cheers

  • What is wrong with this code? on(release) gotoAndPlay("2")'{'

    Please could someone tell me what is wrong with this code - on(release)
    gotoAndPlay("2")'{'
    this is the error that comes up and i have tried changing it but it is not working
    **Error** Scene=Scene 1, layer=Layer 2, frame=1:Line 2: '{' expected
         gotoAndPlay("2")'{'
    Total ActionScript Errors: 1 Reported Errors: 1
    Thanks

    If you have a frame labelled "2" then it should be:
    on (release) {
        this._parent.gotoAndPlay("2");
    or other wise just the following to go to frame 2:
    on (release) {
         this._parent.gotoAndPlay(2);
    You just had a missing curly bracket...

  • I am trying to print from my iphone to my LEXMARK printer. When I select the select printer option when trying to set it up, it does not find my printer??? i dont know what to do at this point. Maybe it does not have the capability? it is a year old???

    Hello!  I am trying to print from my iphone 4 to my LEXMARK printer. When trying to select my printer in my phone it comes up and says that there are no printers available... I dont know what to do at this point. Can someone PLEASE HELP???
    I also cant get my music I have purchased, to become my ringtone???????
    Thank you so much,
    Michael

    What's the model number of your Lexmark printer?

  • When i update to the latest version (7.0.3), there is a message appear to me when i open any application that contains notification such as (What'sApp or BBM),this message said (Connect to iTunes to use push Notification),How I can to stop these message?

    When i update to the latest version (7.0.3), there is a message appear to me when i open any application that contains notification such as (What'sApp or BBM) , this message said (Connect to iTunes to use push Notification) , How I can to stop these messages that appear to me constantly?

     Hi,
    One of my ex-colleagues has installed a NI-DAQ 6.5 in our system. [And I do not see any other naitional instruments card in the CPU of the computer, may be he removed it] I deleted the account and all his files in the system. When I am trying to install version8.0, its not getting installed and giving me a message that I should uninstall the previous version by going to Add/Remove programs in the control panel.
    I tried doing that, but the "Change/Remove" button does not seem to work...[There is no response and so unable to install the new version...]
    Any idea how can this problem be solved?
    It is a windowsXP operating system with SP2 installed on a machine with P4 processor.
    Thanks

  • Whenever i have a mozilla browser on and i try to open another mozilla window browser it work pull up a new window. When close the browser that was on, it will still show up on Task Manager. Whats going on with this?

    Whenever i have a mozilla browser on and i try to open another mozilla window browser it work pull up a new window. When close the browser that was on, it will still show up on Task Manager. Whats going on with this?

    There are other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • My wife and i have an iPhone 5 6.1.2 firmware.. We both are having horrible wifi signals.  We have done everything we can.. What update will fix this? I get full bars on my iPad 2 through my whole house.. Be standing right beside the router with iPhone NO

    My wife and i have an iPhone 5 6.1.2 firmware.. We both are having horrible wifi signals.  We have done everything we can.. What update will fix this? I get full bars on my iPad 2 through my whole house.. Be standing right beside the router with iPhones and it cuts in and out.. Drops from 3 wifi bars to 1

    I am having the same problem with brand new Ipad Mini at my house.
    It connects to the WiFi fine - but will not pull an IP address in DHCP mode, or if I set all the IP info statically - it still will not get any network access.
    This doesn't look like a WiFi issue, as it does connect and is seen by the WiFi Access Point.  All the normal WiFi fix stuff doesn't help.
    - Using a Dlink DAP-2553 which is less than 2 months old. 
    Other devices connect fine, including Ipad 2.
    This same Mini worked fine at another house and also connected to a mobile hotspot fine....so seems to be some weird IP issue with maybe this Access Point or maybe the older Router that I have (older Netgear)?
    I am actually a network engineer and still have not been able to find a solution.  Both the Ipad Mini and the Dlink WAP have the latest firmware loaded.
    Wondering if anyone has found a solution to this problem.

  • My husband and I share the same itunes account, but we are getting each other's photos on our phones. What setting will disable this?

    My husband and I share the same itunes account, but we are getting each other's photos on our phones. What setting will disable this?

    turn off photo stream My Photo Stream FAQ - Apple Support

  • It says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    I just got my new iPad Mini2, and when I choose "sign in with your apple ID", it says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • What is happening in this plan

    Hi Please take a look at the below query and its plan. The Step 9 in the Plan applies the condition (ebill.is_synced_to_orig = 0 OR ebill.is_synced_to_orig IS NULL). but since it is a index scan it only applies is_synced_to_orig = 0 condition. But ideally the other selectivity should also be considered somewhere else right. but I could not see that in the plan.
    Is oracle skipping that condition?? much appreciate if someone can say what is happening in this plan for is_synced_to_orig IS NULL condition. thanks...
    SELECT ebill.ebill_summary_id
    FROM ebill_summary ebill INNER JOIN originator orig
    ON ebill.originator_id = orig.originator_id
    AND (ebill.is_synced_to_orig = 0 OR ebill.is_synced_to_orig IS NULL)
    INNER JOIN entity e
    ON e.entity_id = orig.entity_id
    AND e.entity_type_id = 1
    AND e.entity_id = 1
    LEFT OUTER JOIN te_pmt_task_lock tl
    ON tl.payment_request_id = ebill.ebill_summary_id
    AND tl.te_task_id = 1234
    AND tl.is_expired = 1
    WHERE tl.payment_request_id IS NULL AND ROWNUM <= 1000;
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 56 | 16 (0)| 00:00:01 |
    |* 1 | COUNT STOPKEY | | | | | |
    |* 2 | FILTER | | | | | |
    | 3 | NESTED LOOPS OUTER | | 1 | 56 | 16 (0)| 00:00:01 |
    | 4 | NESTED LOOPS | | 1 | 47 | 2 (0)| 00:00:01 |
    | 5 | NESTED LOOPS | | 1 | 43 | 1 (0)| 00:00:01 |
    |* 6 | TABLE ACCESS BY INDEX ROWID| ENTITY | 1 | 4 | 1 (0)| 00:00:01 |
    |* 7 | INDEX UNIQUE SCAN | ENTITIES_PK | 1 | | 0 (0)| 00:00:01 |
    | 8 | TABLE ACCESS BY INDEX ROWID| EBILL_SUMMARY | 1 | 39 | 0 (0)| 00:00:01 |
    |* 9 | INDEX RANGE SCAN | EBILL_IS_SYNCED_TO_ORIG_IDX | 1 | | 0 (0)| 00:00:01 |
    |* 10 | TABLE ACCESS BY INDEX ROWID | ORIGINATOR | 1 | 4 | 1 (0)| 00:00:01 |
    |* 11 | INDEX RANGE SCAN | ORIGINATOR_ENTITY_IDX | 1 | | 0 (0)| 00:00:01 |
    |* 12 | INDEX RANGE SCAN | TEPMTTSKLCK_TSKEXPRDPYNREQ_ID | 1 | 9 | 14 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    1 - filter(ROWNUM<=1000)
    2 - filter("TL"."PAYMENT_REQUEST_ID" IS NULL)
    6 - filter("E"."ENTITY_TYPE_ID"=1)
    7 - access("E"."ENTITY_ID"=1)
    9 - access("EBILL"."IS_SYNCED_TO_ORIG"=0)
    10 - filter("EBILL"."ORIGINATOR_ID"="ORIG"."ORIGINATOR_ID")
    11 - access("ORIG"."ENTITY_ID"=1)
    12 - access("TL"."TE_TASK_ID"(+)=1234 AND "TL"."IS_EXPIRED"(+)=1 AND
    "TL"."PAYMENT_REQUEST_ID"(+)="EBILL"."EBILL_SUMMARY_ID")

    Well, if the column is declared as NOT NULL and you ask for all rows such that the column = 1 OR it is null then really you are asking for all data where the column = 1 since by definition, there cannot be nulls (the NOT NULL constraint on the column prohibits NULL data from occurring).
    Make sense?
    Now, i'm not saying that's what your issue is, but since i haven't seen what your tables look like ... it's as good a guess as i can muster.

Maybe you are looking for

  • A network error when i tested the connection of a proxy user

    Good evening I 'd created a 3 appliances Filer system . Filer 1.1.0.653 The Filr Apl is in DMZ and every ports are open between it and the 2 Windows boxes (AD and File Sharing) Every thing seems well. I could inport AD users, create filr users, and w

  • Problem with xsd's

    hi, my scenario is file to idoc . coming to my problem is import multiple xsd's under one external defination from sender side. please can u give approach how to handle this? thanks, durga.

  • B1 2005B: excise registers

    Dear All Can any one help me how to see the excise registers like RG23AII,PLA,etc.. in B1 2005 B (indian version) regards Amal

  • Will whatsapp be removed from iPhone 4 after the launch of iPhone 6?

    Will whatsapp be removed from iPhone 4 after the launch of iPhone 6?

  • Crash While Adding New Calendar Items

    I've tried adding new entries into the Calendar and am getting an odd crash back to the Home screen immediately after setting the event's time to "All Day" ('flipping the switch' for All Day). It's consistent and repeatable. I realize that random cra