OCA certification and remainder function

Hello, I'm studying for the OCA certification and need help to understand how the remainder function works.
I read that (http://www.techonthenet.com/oracle/functions/remainder.php) the remainder(m,n) is calculated as: m - (n * X) where X is the integer nearest m / n.
I ask: why remainder(12.5,5)=2.5 ?
According to me the result should be >>> remainder(12.5,5)=12.5-(5*[the integer nearest 12.5/5])=12.5-(5*3)=-2.5.
Thanks for your replies. Regards.

odie_63 wrote:
Hi,
I read that (http://www.techonthenet.com/oracle/functions/remainder.php) the remainder(m,n) is calculated as: m - (n * X) where X is the integer nearest m / n.
Actually X = [m/n] = floor(m / n), i.e. the integer nearest m/n rounded down.
So remainder(12.5, 5) = 12.5 - 5*2 = 2.5You sure about that?
SQL> select 12.6/5, floor(12.6/5) from dual;
    12.6/5 FLOOR(12.6/5)
      2.52             2
SQL> select 12.6-(5*2) from dual;
12.6-(5*2)
       2.6
SQL> select remainder(12.6,5) from dual;
REMAINDER(12.6,5)
             -2.4
SQL>Looks like the rounding is a little odd. Typically rounding goes upwards when it get's to .5 of a number, but remainder takes .5 downwards and anything above that upwards...
SQL> select remainder(12.50000000000001,5) from dual;
REMAINDER(12.50000000000001,5)
                          -2.5
SQL>It does seem a little odd behaviour.
Me, I just prefer using MOD(m,n), cos then I know what I'm getting. ;)

Similar Messages

  • Replace quotient and Remainder with Scale by power 2

    I want to replace quotient and Remainder function with Scale by power 2 to reduce resource usage on FPGA.
    Here is my problem, I want to achive the same result, but no sure if the code will allow me to input the value I need, i also am not sure what that value should be?
    Attachments:
    quotientProblem.png ‏37 KB

    Florian.Ludwig wrote:
    The problem is I don't know what's expensive in RT.
    The OP is asking about FPGA, not RT.
    RT is fine with the Quotient & Remainder.  It'll take a few clock cycles of your processor, but that is nothing in the rates for an RT system.
    An FPGA is a different beast since you need to look at how much of your FPGA hardware you are using up.  Bit shifting (which is what the power of 2 actually does) is dirt cheap in an FPGA.  But divisions are really expensive to do.  But since you are dealing with powers of 10, you are kind of stuck.  Hardware (FPGA in this case) works best when dealing with binary (ie powers of 2).
    So what device is this one?  How fast do you need these outputs?  It might make sense to pass some of the data up to the RT system and then the RT can pass the results back down to the FPGA for actual output.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • When to take the OCA certification

    Hi! I am barely 6 months within the job in the Database Administration field (fresh graduate) and I believe I'm still learning the ropes, I would like to ask when is the best time to take an OCA certification and what are the preparations you suggest I can do.
    Oracle Newbie here :)

    ...and I believe I'm still learning the ropes, I know you still are. I've been working with Oracle for 17 years and I haven't stopped learning yet.
    I would like to ask when is the best time to take an OCA certificationThe best time to study for an Oracle certification is today, tomorrow, and whenever you have the time so long as you are working in the field. The best time to not be studying for a certification is when there is something that you need to learn that doesn't yet have an associated certification. Study until you learn that... then go back to studying for a certification.
    In the IT field, if you are not learning, then you are becoming obsolete.
    ...and what are the preparations you suggest I can do.Read the manuals. Read white papers. Check out the Oracle Learning Library. Links to a number of certification-specific study materials are available on oraclecertificationprep.com. You have also commented in the 1Z0-051 thread this evening. The available links for that exam are available at:
    http://www.oraclecertificationprep.com/apex/f?p=OCPSG:EXAM_DETAILS:0::NO::P2_EXAM:1Z0-051

  • Oracle Certification Exam Design (Part 2) - OCA, OCP, and OCE Exams

    In this second part of a three-part series, Joel Goodman shares about how our Oracle Certified Associate (OCA), Oracle Certified Professional (OCP), and Oracle Certified Expert (OCE) certification exams are designed and developed.
    h4. Oracle Certification Exam Design (Part 2) - OCA, OCP, and OCE Exams
    !http://blogs.oracle.com/certification/0096B.jpg!
    [Watch video|http://blogs.oracle.com/certification/2009/08/0108.html] (1:54)

    user8709943 wrote:
    Hi All,
    I am planing to do OCA and OCP.Insteatd of fundamental exams,I prefer exams on PL/SQL.is that possible? else should we complete fundamental exam inorder to OCA and OCP?
    Your statements may be ambiguous, I cannot be sure what you mean by 'fundamentals exams'.
    There is a developer track for those interested in PL/SQL developer, is that what you are looking for?
    [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=155]
    Can any plz help me ?
    All answers are typically available from [http://www.oracle.com/education/certification] and the Annoucement posts at the top of the forum.
    Be pleased read 'the route you choose'.
    >
    ThanksRgds - bigdelboy
    Edited by: bigdelboy on 09-Aug-2009 16:17
    I've now read on your subject what you meant by fundamentals +(if all else fails read the original posters question)+.. ie 9i DBA OCA and 9i DBA OCP .... no for you forget those and and follow the link to the Pl/SQL developer track ....
    Edited by: bigdelboy on 09-Aug-2009 16:28
    Exam order is not important, but you dont get certificates unless pre-requisites all met. The is an interesting cheap beta exam arround at present if you are up for it ... 1z0-144
    ( [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=28&lang=US&p_exam_id=1Z0_144] )

  • OCA 10g certification and prometric

    I did my 1Z0-007 (SQL exam) last year at Prometric.
    I know want to do my 1Z0-042 exam at the new test centre.
    I have a couple of questions, once I pass my exam, will Oracle know that I also passed my 1Z0-007, and hence I will get my OCA certificate? Or do I have to do something extra?
    And how long does it take to get the OCA certificate? And am I right in assuming that you do not need to attend training for OCA?
    Thank you.

    user8973806 wrote:
    I did my 1Z0-007 (SQL exam) last year at Prometric.
    I know want to do my 1Z0-042 exam at the new test centre.
    I have a couple of questions, once I pass my exam, will Oracle know that I also passed my 1Z0-007, and hence I will get my OCA certificate? Or do I have to do something extra?When you register with Pearson Vue you must give you Prometric Id. as the Oracle Testing Id. This is the key to them linking. If you exams are taking under different Oracle Testing Id's it is as though 2 different persons have taken the exams ... and certification will not be forthcoming. Your Old Prometric Id. is your Oracle Testing Id.
    visit [http://www.oracle.com/education/certfication] support - FAqs for more and up to date info.
    It also should be useful if you get registered on Certview to see how things are going [http://blogs.oracle.com/certification/2009/11/0080a.html]. Things take a 3 weeks to get to certview.
    And how long does it take to get the OCA certificate? About 4-6 weeks.
    And am I right in assuming that you do not need to attend training for OCA?Yes, There is no mandatory pre-requisite training to get a 10g DBA OCA certification
    >
    Thank you.

  • Certifying and Locking file Invalidates Certification and Signatures in Acrobat 9.0.0

    I am running Adobe Acrobat Professional 9.0.0. After creating a PDF document from within Microsoft Word, and it opens in Adobe Acrobat Professional, I performed the following steps:
    Select Forms => Add or Edit Forms.
    Select the digital signature tool and create three forms.
    Select Close Form Editing.
    Right click the first form and select Certify with Visible Signature.
    Set Permitted Actions After Signing to Form Fill in and digital signatures.
    Select Sign.
    Save the document, replacing the original file.
    Click on the second field, to sign it, and select sign.
    Save the document, replacing the original file.
    Click on the third field, to sign it.
    Select Lock Document After Signing, and select sign.
    Save the document, replacing the original file.
    I then find that the certification and the first signature are invalid. Only the last field to be signed is valid. Why is the previous signature and certification invalid? This only appears to occur if I both certify and lock the document when signing the last field. If I view the document in Adobe Reader 9, the result is the same. However, if I view the document in Adobe Reader 8 the certification and all the signatures are valid, as expected.
    Any assistance much appreciated.
    Regards,
    David,
    Canberra, Australia.

    Thanks for the responses Geo & Atin,
    Geo,
    Maybe I'm misunderstanding what you're saying, but http://www.adobe.com/devnet/reader/articles/reader_compatibility/readercomp_digitalsignat ures.pdf seems to indicate otherwise. Specifically:
    "In Acrobat 9, when additional signatures are applied to a document, the earlier signatures continue to have the Valid status, subject to the certificate validation rules that have been part of Acrobat's signature processing for a number of releases.
    In Acrobat 8, all signature appearances except the last one would have changed their status to "Valid with subsequent changes" (green check with a yellow warning triangle) if their certificate was still valid."
    So I read this that in neither version should the signature be "invalidated" by simply applying another signature, but in version 8 it showed the triangle warning, and in version 9 nothing would change. Indeed nothing does change in version 9 and it works EXACTLY as described above providing I don't both certify AND lock the document. I still don't understand why just the extra locking step violates the "certificate validation rules".
    Atin,
    I carried out the steps that you described, and it works thank you. I notice that the lock option is not present when I sign the last field now, but presumably this is because by the time the last field in signed, with the settings you describe the document is effectively fully locked anyhow?
    Now my problem is, is there any way of setting up templates of the signature fields laid out in the correct position, with the settings that you describe that I can use repeatably on many documents? I wish to use this function to electronically sign technical drawings which are drawn in a CAD package using a template based title block with 'drawn by', 'checked' and 'approved' fields etc. Each drawing may also have many sheets, each with the same fields in the title block. My concern is that to manually place digital signature fields in these 3 spaces in every title block after creating the PDF's, and then apply the settings you describe before certifying (at 'drawn by') and distributing for sign off at 'checked' and 'approved' is going to be a very time consuming and inefficient process. Am I missing something?
    Regards & thanks again,
    David.

  • OCA certification in Oracle 10g

    Hi ,
    I would like to take OCA certification in Oracle 10g.I am very much new to this.
    please tell me all the details about this including :
    1)Names of exams I have to take one by one and how many exams .
    2)Where do i get good Course syllabus/Material.
    3)When and Where the examination is conducted.
    Thanks in advance.

    user3900497 wrote:
    Hi ,
    I would like to take OCA certification in Oracle 10g.I am very much new to this.
    please tell me all the details about this including :
    1)Names of exams I have to take one by one and how many exams .
    2)Where do i get good Course syllabus/Material.
    3)When and Where the examination is conducted.
    Thanks in advance.- I assume you mean the 10g DBA OCA. You eed one of he SQL exams and 1z0-042 for this.
    - Read forum annoucement posts and FAQs
    - Visit [http://www.oracle.com/education/certification]
    - Visit [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=151] and drill down from there.
    ---- The exam course page also gives recomended oracle training.
    ---- See [http://blogs.oracle.com/certification/2009/05/the_route_you_choose.html]
    - [http://www.pearsonvue.com/Oracle/locate/]
    You should also evaluate why you are chooses 10g DBA OCA rather than 11g DBA OCA. There can be good reasons for this.
    Please note that if you continue with the next DBA certiifcation on that route (10g DBA OCP ) you will need to have an approved attended a hands on course (for that certification) from an approved institution (Oracle University is the safest bet).

  • Differences between OCA 10g and OCA 11g

    Hi,
    I am currently studying the OCA 10g Administration I but I have not taken the exam yet. I am also taking the SQL Expert exam but I dont think that is version specific.
    I would like to know how different or what the differences are between the OCA 10g and 11g exams are as I fear that 10g will be out of date soon. I am considering just taking the 11g exam even though I have only studied 10g.
    I had a look at both the syllabuses and they look pretty similar and was hoping someone could add some personal notations of their experience. I suspect and hope that the major differences would come at the OCP level.
    I don't want to go to do OCP as I am only doing to obtain a good foundation for working on the functional side of financials.
    Thanks in advance.
    Luke

    differences are between the OCA 10g and 11g exams
    Different version different new features discussed. example : no ADR in the 10g, no invisible index in 10g, DRA etc.
    Syllabus maybe the same, but features is different.
    I suspect and hope that the major differences would come at the OCP level.
    OCP is deeper than OCA. mostly OCA cover all features of the Oracle, and the OCP discussed about more advanced technique like RMAN, ASM, Memory Management, etc. but again 10g and 11g have different features.
    That's why for 10g OCP who wants to upgrade become 11g OCP, has to follow 11g new features exam.
    HTH
    Edited by: HGDBA on Jan 14, 2011 1:17 PM

  • Oracle 11g OCA certification

    I am newbie .I would like to know a good book for Oracle 11g OCA certification ,1Z0-051 and 1Z0-052(with lesser number of mistakes).Appreciate a response.

    I can tell you from personal experience that it is extraordinarily difficult to write a technical book with zero defects. Spell-checkers and grammar checkers produce huge numbers of false positives when looking for standard (i.e. non technical) errors. Technical errors are easy to introduce -- forget to add a 'Not' in a sentence, or something similar -- and hard to detect afterward. When I read through my study guides looking for errors, I tend to see what I meant to write.
    That said, such defects are normally a tiny fraction of the information contained within certification manuals. A couple of reviews on the Oracle Press 1Z0-052 book written by John Watson mention a couple of errors and then imply the book is filled with more. I've read the book and it is very informative. It contains hundreds of pieces of information and contains about ten errors -- all mentioned in the errata on the McGraw Hill site. The books is good preparation for the text and for learning the basics of being an Oracle DBA.
    As Aman indicated, using more than one source is a good way to help to detect inaccuracies. I believe in always using multiple sources and the documentation is generally a good option for that.

  • Help with REMAINDER FUNCTION

    Hello ALL,
    I am preparing for SQL fundamentals 1 exam.
    I am confused about REMAINDER function.
    I am using Sybex (11g) for my studies.
    Now The REMAINDER function is defined as follows:
    REMAINDER (x,y) : that the function will return the remainder when Y divides X.
    Now the following queries gave the results,
    Select Remainder (13,5), Remainder (12,5), Remainder(12.5,5) from dual;
    This gave -2, 2 and 2.5 respectively.
    My confusion is how Remainder (12,5) will return -2, instead of 3.
    I ran the query using sql and still got -2, please somebody should assist me very urgently
    as i do not understand why it has to be so.
    Thanks
    Harrison

    Hello, I've problems in understanding how the remainder function works.
    In SBH's reply I can read:
    For remainder(12.5,5)
    Since nearest value of 12.5/5 is 2.5 itself
    +12.5 - (5 * 2.5) = 2.5+
    In the remainder formula G is integer, so why in this case 2.5 is considered?
    So could you please let me know how remainder(12.5,5) is calculated?
    P.S.: 12.5 - (5 * 2.5) != 2.5

  • OCA Certification

    i recently enrolled for the OCA Certification for which i was to sit for 1ZO-051 exam and 1ZO-052 exams. I have already sat for the first exam( 1ZO-051) and am yet to sit for the second exam. Recently i checked on thew oracle website; they had written something to the effect the OCA Certification has been discontinued and that nearest certfication is OCP. please advise as am abit confused

    The OCA is unlikely to go away any time soon.  If for some strange reason OU decided to do away with it, they would have to give lots of advance notice.
    Recently i checked on thew oracle website; they had written something to the effect the OCA Certification has been discontinued and that nearest certfication is OCP.
    Please provide a link and/or quote the relevant text from the web page that you refer to in your post.

  • ABAP Certification and Course

    Hi Friends ,
    I want to do ABAP Certification and want to learn ABAP .
    I am a BE Computer Engg. (Fresher) having good core knowledge in Core JAVA.
    Can anybody give me contacts (Names , number ect. ) of Instituts offering the ABAP course.
    If Possible in Pune , Mumbai and Haydarabad .
    Thanks and Regards,
    Nikhil

    <b>Here are the details u asked for</b>
    SAP Consultant Certification
    Development Consultant SAP NetWeaver 2004 – Application Development Focus ABAP
    Software components: SAP Web Application Server 6.40
    Certification exam is included in course TAW12 and is also offered separately at many SAP locations.
    Certification ID (Booking code): C_TAW12_04
    Certification duration: 3 hours
    Number of certification questions: 80
    Courses for certification preparation: TAW10 (ABAP Workbench Fundamentals); TAW12 (ABAP Workbench Concepts)
    Please note that you are not allowed to use any reference materials during the certification test (no access to online documentation or to any SAP system).
    The certification test Development Consultant SAP NetWeaver 2004– Application Development Focus ABAP verifies the knowledge in the area of the SAP NetWeaver for the consultant profile Application Development Focus ABAP. This certificate proves that the candidate has a basic understanding within this consultant profile, and can implement this knowledge practically in projects.
    The certification test consists of questions from the areas specified below:
    Topic Areas
    1.     SAP Technologies
    &#61607;     SAP systems (mySAP Business Suite and SAP NetWeaver)
    &#61607;     Technical structure of an SAP Web Application Server
    2.     ABAP Workbench Basics (++)
    &#61607;     Data types and data objects (declaration)
    &#61607;     Internal tables
    &#61607;     Data retrieval (authorization check)
    &#61607;     Subroutines
    &#61607;     Function groups and function modules
    &#61607;     Program calls and memory management
    3.     Advanced ABAP (++)
    &#61607;     ABAP runtime
    &#61607;     Data types and data objects (usage)
    &#61607;     Open SQL (high-performance programming)
    &#61607;     Dynamic programming
    4.     ABAP Objects (++)
    &#61607;     Classes and objects
    &#61607;     Inheritance
    &#61607;     Polymorphism (casting)
    &#61607;     Interfaces
    &#61607;     Events
    &#61607;     Global classes and interfaces
    &#61607;     Exception handling
    &#61607;     Shared objects
    5.     ABAP Dictionary (++)
    &#61607;     Database tables
    &#61607;     Performance for table accesses
    &#61607;     Consistency by means of input check (foreign key dependency)
    &#61607;     Dependency for ABAP Dictionary objects
    &#61607;     Views
    &#61607;     Search helps
    6.     List Creation Techniques (++)
    &#61607;     Data output in lists
    &#61607;     Selection screen
    &#61607;     Logical database
    &#61607;     Interactive lists
    &#61607;     List creation with the ALV grid control:
            - Simple lists 
            - Field catalog
            - Layout
            - Event handling
    7.     Dialog Programming (++)
    &#61607;     Screen (basics)
    &#61607;     Program interface (GUI title, GUI status)
    &#61607;     Screen elements for output (text fields, status icons, and group boxes)
    &#61607;     Screen elements for input/output
    &#61607;     Subscreen and tabstrip control
    &#61607;     Table control
    &#61607;     Context menu
    &#61607;     Lists in dialog programming
    8.     Database Changes
    &#61607;     Database updates with open SQL
    &#61607;     LUWs and client/server architecture
    &#61607;     SAP locking concept
    &#61607;     Organize database changes
    &#61607;     Complex LUW processing
    &#61607;     Number assignment
    &#61607;     Change document creation
    9.     Enhancements and Modifications
    &#61607;     Changes to the standard SAP system
    &#61607;     Personalization    
    &#61607;     Enhancements to ABAP Dictionary elements
    &#61607;     Enhancements via customer exits
    &#61607;     Business Transaction Events
    &#61607;     Business Add-Ins
    &#61607;     Modifications
    Amount of questions by topic (as percentage of test):
    +              = 1 - 10%
    ++            = 11 - 20%
    +++          = over 20%
    <b>GENEVOTE and SEIMENS</b>... these are two companies in INDIA which provide sap certification
    This link will give you the schedule of training at various locations in india along with course fee's.
    http://www.sap.com/asia/services/education/schedule/schedule_IN.htm
    Further information can be had from the SAP Education Centre, SAP India Labs, Thapar Niketan, 7/4, Brunton Road, Bangalore-560 025. Ph: 25593554. E-mail: [email protected]
    The SAP training partner in Bangalore is Siemens Information Systems Limited, Du Parc, 3rd Floor, Trinity 17, Mahatma Gandhi Road. Ph: 57700001, 98459 94380. Contact persons: Vani Mittal / Sonia Nalini. E-mail: [email protected]
    <b>Hope this is helpful</b>

  • Oracle 10G OCA certification details?

    Hi,
    I would like to get the below details regarding 10g OCA?
    1) Total papers to become an OCA?
    2) wat are the papers ?
    3) Cost of each papers ? (in $)
    4) where can I find Dumps? If you friends can send me dumps at my gmail Id (nahar.navin@gmail ID)...
    I am new to this forum, so any advise will help me. :)
    Looking forward for help from you people.
    Thanks in advance,
    Navin

    Asking for dumpsAnd remember that cheaters who are caught will lose their certification and perhaps lose their chance at any certification in the industry. Using Brain Dumps is considered cheating. Using Gunners is considered cheating. Passing an exam based on purely memorized material without understanding the material is as bad as cheating in the long run.
    Please refer to this excelent post by Hans Forbrich:
    General notes around certification
    Regards,
    Francisco Munoz Alvarez
    www.oraclenz.com

  • 1Z0-051 without OCA certification

    Hi everyone.
    I am currently a university student with a great interest in SQL. As a result, I intend to take the SQL Fundamentals qualifications (1Z0-051). I believe passing this exam alone is not sufficient to get an OCA certification, but I am not really interested in becoming a DBA later, I can see myself as a developer instead. I know that there is a SQL Expert qualification too, but I believe I do not have the neccessary experience to pass that exam yet, so I am starting with 1Z0-051. My question is, even though it does not give me a certification, is there still a way it can be placed on my CV so that the employer can track it down/check its validity? Do I get an ID or some sort of code after passing the exam, which can be used for others to look my results up online?
    Thank you,
    All the best,
    D

    ... I am not really interested in becoming a DBA later, I can see myself as a developer instead.
    Just a SQL developer?  If you take (and pass) the exam 1Z0-144 after 1Z0-051, you will become an OCA PL/SQL developer.  That will be a verifiable Oracle certification.
    ...is there still a way it can be placed on my CV so that the employer can track it down/check its validity? Do I get an ID or some sort of code after passing the exam, which can be used for others to look my results up online?
    You can certainly put on your CV that you passed the Oracle SQL Fundamentals exam.  You will get a PDF of the test results that you can show to an employer if they ask.  However, the only options in CertView on publishing credentials to third parties is for certifications, not test results.

  • OCA Certification Inquiry

    Hi,
    I am preparing to give OCA certification.
    And this may sound to be a stupid question but I have a doubt.
    OCA certification as a whole consists of two parts right
    1Z0-051 - SQL Fundamentals I
    1Z0-052 - Oracle DBA Fundamentals I
    Are the above two separate certifications?Is it that passing these above certifications only will grant me OCA certification.
    If yes then do we have to give them at the same time or there can be gap between them(If gap then how much it would be).
    Also could you please let me know the cost of the above two certifications.
    Thanks you,
    Anshul

    OCA certification as a whole consists of two parts rightRight.
    Are the above two separate certifications?No. They are separate tests. The two tests together will grant you the Oracle Database 11g Administrator Certified Associate certification.
    If yes then do we have to give them at the same time or there can be gap between themThey can be taken at widely separated times. There is no time limit beyond the retirement of the exams. You might take 051 tomorrow and 052 three years from now.
    Also could you please let me know the cost of the above two certifications.1Z0-051: $125 US
    1Z0-052: $195 US

Maybe you are looking for

  • Blue Screen Of Death When Unplugging iPhone 4s(7.0.6)/iPod touch 5th Gen (7.0.4) !!

    Now heres a problem i have been facing everytime i try an unplug iphone 4s/ipod touch 5... and heres what i have tried out after searching the net and this forum 1) tried different usb ports 2) tried different cables all genuine apple products if som

  • Adding AirPort Extreme for a separated network?

    Hi, I'm trying to get a network setup in a small office, but the details have me swimming in the deep end with various issues (DCHP, subnet masks, etc.). Objective: Configure two separate networks that don't see each other and both provide WiFi, but

  • A lot of problems with Oracle BI SEE 11g

    I have a lot of problems with Oracle BI SEE 11g 1. I upgraded my BI SEE 10 repository and can it openning in offline mode. 2. I can't deploy my upgraded repository in EM MW Control 11g - when i try to open Farm_bifoundation_domain->Business Intellige

  • Can't Preview Template in Browser

    Everytime I try to preview my template in browser (F12), a dialog pops up asking if I want to open or save this file, which I have already done...then nothing happens. Is there something I am missing in order to preview my template in browser? Thanx.

  • Problem in setAttribute() method

    Hi , I am setting two values using setAttribute() method of HttpSession as shown below Vector v = new Vector(); setAttribute("a",v) setAttribute("b",v) Then i retrieve object "a" and do some modifications and set it back in session. The problem is th