Unsure as to operation of intersects method in Shape

I am writing a program in which i need to check whether or not 2-D objects (primarily squares and circles) are touching each other. The documentation for intersects says that it tests whether the interiors of the shapes intersect each other, however my question is whether or not intersects will return true if the interiors are not touching but if the lines that make up the shape are. For example this would be if one edge of R1 is coincident with one edge of R2 or if a vertex of R1 is on an edge of R2 but the interiors do not intersect.

It would probably be too tough to just go and run a test for yourself. It's a good thing you've come here to get us to run the test for you.
:) sry just feeling grumpy

Similar Messages

  • What's the different between an Operation and a Method?

    Hello,
    I am wondering about the difference between operations and methods.
    For example, if I am listing the operations of a stack, I would say:
    1) Construct and Destroy
    2) Push
    3) Pop
    4) Top
    5) Empty
    6) Clear
    ...but are some of these methods just method and not operations?
    Again, for example if I am listing the operations for a Queue, I would say:
    1) Enqueue
    2) Dequeue
    3) Head
    4) Empty
    5) Clear
    ...but as some of these methods are not unique (i.e. 4, 5 & 6 are the same for queue as it is for stack) then are some of these methods just methods and not operations?
    Yours confused,
    Wood

    Ahem: "If formally, what are their definitions?"
    Feel free to consult the JLS: [http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html]
    There is no definition or use of "operation" as you seem to be plying it, in the JLS. Note that constructors are not methods, according to the JLS definition of method.
    On the other hand, if asked a question on an exam, I wouldn't stick to wooden definitions. I would use commonsense.

  • The dot operator and a method called 'cons'?

    I'm trying to write a static method that takes a list of things (array or List objects).
    It returns another list based on the first but changed by some rule.
    I am told that I have:
    non-static methods - head, tail, cons, isEmpty
    a static method - empty (creates a new list)
    I have to assume (was not told) that:
    'head' returns the object at the head of our list
    'tail' returns the next object from the one we are looking at
    'isEmpty' returns a boolean if nothing there.
    and lastly:
    'cons' which meant nothing to me but I have been advised that it probably does something like concatonates or adds to the end of.
    1. Is this name (cons) in popular use & what does a method with that name usually do?
    2. Assuming I'm right and I want to step through adding the elements in turn.
    Which do you think would be the right way to add/append/concatonate (or whatever) the current element to my newList?
    newList = newList.cons(lst.head()); or
    newList = lst.head().cons(newList);('lst' being the particular list we're looking at)
    Is there something else I should have written?
    For some reason I find this very confusing!

    Yes, something like that :)
    Now let's see what we have to do...
    1. if the list is empty we can just return it.
    2. if the head of the list is the same as 'target' and n is 0 (or 1), take the tail of the list, add 'alternate' to it, and return it. I.e. return lst.tail().cons(alternate); (syntax depends on what arguments your cons takes, I guess)
    3. if the head of the list matches again but n > 0 (or 1), decrement n by one and recurse with the tail, add head to the result; return changeNth(lst.tail(), ...., n-1).cons(lst.head())
    4. else it is safe to recurse with the tail; return changeNth(lst.tail(), .....).cons(lst.head())
    The code with Lots of Idiotic Silly Parentheses would look a bit like(defun changeNth (lst target alternate n)
      (cond
        ((null lst) lst)
        ((equal target (first lst))
          (if (= n 0)
            (cons alternate (rest lst))
            (cons (first lst)
              (changeNth (rest lst) target alternate (- n 1)))))
        (t (cons (first lst) (changeNth (rest lst) target alternate n)))))

  • Question about operations allowed in methods of stateless and stateful bean

    Hello,
    Can anyone tell me why ejbRemove and ejbCreate are allowed entreprise beans and resource manager access in stateful session beans and not in stateless session beans?
    Thanks in advance,
    Julien Martin.

    Salut Julien,
    Can anyone tell me why ejbRemove and ejbCreate are
    allowed entreprise beans and resource manager access
    in stateful session beans and not in stateless session
    beans?I'm not sure I fully understand your question, but here is some information that may answer it.
    The user is the one who creates and removes a stateful session bean. The container is the one who creates and removes a stateless session bean. So the user can pass any parameters to the create of a SFSB because he theorically knows what to pass. The container doesn't, and doesn't want to. It just wants to create SLSB to pool them, but it doesn't pool SFSB.
    Maybe it doesn't answer your question. Can you reformulate?
    Kexkey

  • Saving PDF from AI causes TIF images to be 'intersected' by vector shape behind it

    Hi,
    I am encountering this issue frequently and would appreciate any insight...
    When I have a design made up of both embedded TIF Images and vector shapes which overlap, the shape of the vector beneath 'cuts' or intersects the image laid on top and produces a white area there.
    It is seen in the full color PDF's I send to the printers at the local newspaper. The PDF is saved at 180dpi. The 'save illustrator editing capabilities' makes no difference whether it's checked on or not. It does not occur in 300 dpi PDF's Saved from AI.
    The problem is the printers save all artwork to 180dpi PDF's no matter what format I send.
    Can this be avoided by doing something on my side? or has anyone else had this before?
    Thanks,
    TJ

    andrejfavia2 wrote:
    And since no one has replied back to me, I'm guessing that the average user doesn't even know how to do something basic like export a vector PDF from graphics with text,
    it seems so.. as you don´t know how to do it. 
    sorry i can´t help im a photo guy and i think i have never touched PDF in photoshop.
    andrejfavia2 wrote:
    What are you people doing?? This is such a tortorous user interface!!
    yep especially that copy and paste is not working via mouse annoys me. i only get the "insert, image link" stuff on my right mouse button.... and i don´t need that as often as copy & paste.
    the quote function is not very good either, compared with other forum software.

  • How to allow multiple output parameters in a user-defined service operation???

    I have creating a self-defined service operation “LDAPAddUser” to connect to LDAP server to create user accounts. I want to get 2 output parameters after executing the operation. One is the result (Boolean data type) and one is the error message (String data type). However, since Java only support one return value in a method, it seems that only one output parameter can be returned. May I have the suggestion so that multiple parameters can be supported in this case? Here is the extracted code
    In Java program,
    public Boolean addUser(String url, String aName)
    In file "component.xml",
         <operation name="addUser" method="addUser" orchestrateable="true" anonymous-access="true">
      <hint>Add a new user</hint>
         <input-parameter name="url" type="java.lang.String" required="true" title="LDAP URL">
         </input-parameter>
              <input-parameter name="aName" type="java.lang.String" required="true" title="Admin Login Name">
         </input-parameter>
              <output-parameter name="Result" title="Result" type="java.lang.Boolean">
              </output-parameter>
    Besides the boolean return value, I want to get another return value (string data type). Any suggestion ?

    I've returned multiple values to LiveCycle by using a complex object as an intermediatory.
    For example if I need to return two strings (firstName and lastName), I'll first build a single class (name) with two string attributes (private String firstName; private String LastName) and add getters and setters to my "name" class for each.  My service class method will return an object of type "name".
    for example  public name mymethod(String GUID, String username, String password).......
    Then in the component.xml you can return the two strings as long as you use the binding type "Bean":
    <output-parameter name="firstName" title="First Name" binding-type="Bean" property="firstName">
                        </output-parameter>
    <output-parameter name="lastName" title="Last Name" binding-type="Bean" property="lastName">
                         </output-parameter>

  • JMS-send operation not working in a SessionBean [OC4J10.1.3.1.0-standalone]

    Salut,
    i am envisaged with a nasty problem calling a message-send operation from
    a method (transaction-type="required") inside a session bean (transaction-type="container").
    This problem occured in OC4J 10.1.3.1 and may fail also in 10.1.3.0. The same
    code run under OC4J 10.1.2.x without any problems.
    The adressed JMS type is a OEMS JMS and fails to work regardless if the JMS ressource
    is using a file-persistence or is running in-memory. Anyway the factory is a
    jms/XAQueueConnectionFactory, so the created queue must support XA transactions.
    Another test with an advanced-queue JMS provider succeeded.
    As a consequence of this, i believe that the OEMS provider shall cause the problem.
    The original code is quite unspectaculary:
    * The non-surprising thing is, that the QueueConnectionFactory
    * is a XAQueueConnectionFactory.
    QueueConnectionFactory qcf = (QueueConnectionFactory) (jndiContext.lookup(MY_QFAC));
    Queue q = (Queue) (new InitialContext().lookup(MY_QUE));
    c = qcf.createQueueConnection() ;
    QueueSession s = c.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    [... create a message ]
    QueueSender qs = s.createSender(q)
    qs.send(m);
    qs.close()
    s.close();
    c.close()
    The funny thing is, that the queue-session behaves as it is working outside
    of a transaction context. Inside the JMX-Console you will notice the
    arrival of a message and ... a cancellation of it. This would not surprise
    me, if this code sequence would have been called outside of
    a Session bean, cause the absence of a queue-session.commit does not
    fix the send message in the jms ressource.
    As a matter of fact the code is executed inside a Session bean and
    the connection.createQueueSession will notice this and forget both
    given parameters, and let the covering transaction take over of the
    JMS ressource. But this does not happen (completly).
    The acknowledge-mode has been modified (SESSION_TRANSACTED)
    but the code still does not work!
    After i recognized that the enlist-ment did not work, i
    decided to enfore the use of XA transaction by using the
    XA classes and methods of JMS.
    I startet to cast the jndi-references and:
    XAQueueConnectionFactory qcf = (XAQueueConnectionFactory) (jndiContext.lookup(MY_QFAC));
    Queue q = (Queue) (new InitialContext().lookup(MY_QUE));
    XAQueueConnection c = qcf.createXAQueueConnection() ;
    XAQueueSession s = c.createXAQueueSession();
    [... create a message ]
    QueueSender qs = s.createSender(q)
    qs.send(m);
    qs.close()
    s.close();
    c.close()
    The funny thing is ... the code worked without any problem until
    the send operation, where i received an JMSException, containing
    the text:
    Oc4jJMS.Session.hpcl057.4e9c06e4:1112674930d:-7fff.41,true,SESSION_TRANSACTED]: An attempt was made to perform work in a XA-backed session without being enlisted. Either the session must be enlisted (using the JMS Connector or JMS Adapter) to participate in the global transaction, or a non-XA connection and a non-XA session should be used to not participate in the global transaction.
    How bizarre, i thought the enlistment has been taken place by invoking
    the c.createXAQueueSession or c.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    How bizarre how bizarre
    any clues ????

    OC4J JMS was changed to not auto-enlist in XA transactions.
    In releases prior to 10.1.3 XA usage was not actually supported. (It did not meet all of the XA requirements when used with OC4J.)
    Auto-enlisting by the JMS provider was also a spec violation, which was causing trouble for people who needed to do out-of-transaction work and had no way to do it.
    In 10.1.3 XA usage is fully supported, but only when you use the JMS Connector. You can find the JMS Connector ("Oracle's Generic JMS Resource Adapter") demos here:
    http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/index.html#JMS
    The JMS Connector is documented in the OC4J Services Guide, OEMS/JMS chapter.
    -Jeff

  • Oracle ADF - Commit operation issue.

    Hi,
    I am new to Oracle ADF. I am using Oracle jDeveloper 11.1.1.4.0
    and facing problem when I try to save a new record from within application.
    I have called a action on commit button and used auto generated code, here is the it -
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("Commit");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    I read that after execute statement framework calls doDML(int operation, TransactionEvent e) method in EOImpl and there we do insert/update/delete...etc,
    But when I debug my application it doesn't. Please correct me if I am wrong.
    Unable to understand what exactly the problem is?
    Appreciate your help.
    Thanks in advance.
    Madhav.

    Hi,
    Yes, I do have a break point in doDML() of EOImpl.java
    Also I have another break point in bean before it calls the EOImpl's doDML().
    I'll show you the action method in bean which get's call on click of commit button in .jspx,
        public String commitAction() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("Commit");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
        }In this method I put a break point at
    Object result = operationBinding.execute();from here control doesn't go to EOImpl class.
    Here is the .jspx code for commit button,
    <af:commandButton   text="Commit"
                                    disabled="#{!bindings.Commit.enabled}"
                                    id="cb1"
                                    action="#{CustomerProfileBean.commitAction}"/>Can I use both action and actionListener properties for same command button?
    Is this technically correct?
    Thanks,
    Madhav.
    Edited by: 877436 on Aug 4, 2011 11:49 PM

  • JTree move operation

    I have a piece of code which is doing a drag and drop on a JTRee.This code also needs to handle move and copy operations.THe move method does not work the way expected.When I do a drag operation the node gets dragged but is not removed from the parent although pls note that when all the node are removed under a parent and I click on the parent node the plus sign next to the parent disappears and also the nodes disappear. I am not sure what the problem is ..has anyone ever faced such a situation.
    If anybody had any idea as to how to get a move operation on a JTree then your guidance for the same will be highly appreciated.
    Thanks for your help

    Thanks for the reply.I am removing the node from the model.
    I am doing the drag and drop between 2 trees and that is when I have the above mentioned problem.
    But when I drag within the same tree everything works fine.
    Let me explain one thing here that I am using 2 different instance of the same class for the 2 trees is it something like only one of the tree is getting refrehsed and other one is not.If so then how do I ensure that both instance of the tree gets refreshed.Any clues ????

  • BAPI_ALM_ORDER_MAINTAIN- adding work duration operation

    <<u r g e n t is NOT permitted.>>
    Hello,
    I'm trying to add work duration operation via BAPI_ALM_ORDER_MAINTAIN. i want to update the "Actual Work" field but the data is put in the "Remaining Work" field. in addition fields "Activity Type for Confirmation" and "posting date" are not updated.
    my code is:
    ls_operation-activity = '0010'.
    ls_operation-acttype = lv_acttype.
    ls_operation-work_activity = lv_work_duration_h.
    ls_operation-un_work = 'H'.
    ls_operation-work_cntr = lv_work_center.
    APPEND ls_operation TO pt_operation.
      ls_methods-refnumber = '000001'.
      ls_methods-objecttype = 'OPERATION'.
      ls_methods-method = 'CHANGE'.
    CONCATENATE ps_im_updwo_change_wo_data-aufnr gc_wo_create_line INTO ls_methods-objectkey.
    APPEND ls_methods TO pt_methods.
      ls_methods-refnumber = '000000'.
      CLEAR ls_methods-objecttype.
      ls_methods-method = 'SAVE'.
      ls_methods-objectkey = ps_im_updwo_change_wo_data-aufnr.
      APPEND ls_methods TO pt_methods.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          it_methods      = lt_methods[]
          it_operation    = lt_operation[]
          return          = lt_return[]
          et_numbers      = lt_numbers[].
    Any ideas?
    Edited by: moshe reiss on Jul 14, 2010 9:25 AM
    Edited by: moshe reiss on Jul 14, 2010 12:26 PM
    Edited by: moshe reiss on Jul 14, 2010 3:41 PM
    Edited by: moshe reiss on Jul 15, 2010 11:35 AM
    Edited by: Matt on Jul 15, 2010 12:09 PM
    Edited by: Thomas Zloch on Jul 15, 2010 12:36 PM

    Hello Shah
    You have to fill TABLES parameter <b>IT_METHODS</b>. Apparently you need to have at least one record there where BAPI_ALM_ORDER_METHOD-METHOD = 'SAVE' or 'DIALOG'.
    I am not sure if the others fields need to be filled but this should be easily to find out.
    Regards
      Uwe

  • Syntax error when creating Overwrite method - implicit enhancement

    Hi,
    I am working at a customer site, and need to implicitly enhance certain methods. I would like to create an Overwrite Method for the following class/method:
    CL_CRM_MKTDEF_DEFAULTS_PERSIST -> HEADER_WITH_KEY_EXITS_IN_DBASE( )
    I proceeded in the following way:
    Open class CL_CRM_MKTDEF_DEFAULTS_PERSIST in class builder (SE24)
    Select menu path Class -> Enhance
    Create, or select, enhancement implementation ZCRM_MKTDEF_PRD
    Select method HEADER_WITH_KEY_EXITS_IN_DBASE, select menu path Edit -> Enhancement Operation -> Add Overwrite Method
    Click on u201CNavigation to Overwrite Exitu201D
    After navigating to the Overwrite Exit, I click on "Check" to perform a syntax check (notice, I have not yet implemented any code. Everything so far has been done by the wizard).
    Now, I get the following error:
    Enhancement Implementation ZCRM_MKTDEF_PRD
    Unable to interpret "IS_DEFAULTS_ATTR". Possible causes: Incorrect
    spelling or grammar.
    When I create Overwrite methods for any other method in the same class, the same error does NOT occur. As far as I can tell, there is nothing special about this method that should cause this error.
    I would greately appreciate any help that any of you could give me on this one.
    thank you and best regards,
    - Marius
    PS: Here is my code (which was generated after I followed the outlined steps above) for your reference:
    CLASS LCL_ZCRM_MKTDEF_PRD DEFINITION.
    PUBLIC SECTION.
    CLASS-DATA OBJ TYPE REF TO LCL_ZCRM_MKTDEF_PRD.
    DATA CORE_OBJECT TYPE REF TO CL_CRM_MKTDEF_DEFAULTS_PERSIST .
    INTERFACES  IOW_ZCRM_MKTDEF_PRD.
      METHODS:
       CONSTRUCTOR IMPORTING CORE_OBJECT
         TYPE REF TO CL_CRM_MKTDEF_DEFAULTS_PERSIST OPTIONAL.
    ENDCLASS.
    CLASS LCL_ZCRM_MKTDEF_PRD IMPLEMENTATION.
    METHOD CONSTRUCTOR.
      ME->CORE_OBJECT = CORE_OBJECT.
    ENDMETHOD.
    METHOD IOW_ZCRM_MKTDEF_PRD~HEADER_WITH_KEY_EXITS_IN_DBASE.
    *" Declaration of Overwrite-method, do not insert any comments here please!
    *"methods HEADER_WITH_KEY_EXITS_IN_DBASE
    *"  importing
    *"    !IS_DEFAULTS_ATTR type CRMS_MKTDEF_DEFAULTS_DATA
    *"  returning
    *"    value(EV_EXISTS) type CRMT_BOOLEAN
    *"  exceptions
    *"    FAILURE .
    ENDMETHOD.
    ENDCLASS.

    Note 1256889

  • Business operations in the studio

    I have an existing web based application already running on weblogic that uses
    ejbs. I want to make use of one ejb installed in this existing application in
    weblogic studio to define a business operation. To do this, I guess I should also
    deploy the same ejb onto "Weblogic Integration" application which is a separate
    application ( or in other words add an ejbcomponent element to application element
    of "Weblogic Integration" application and update application.xml in META-INF of
    Weblogic/integration/lib). If I do this, this is essentially turning out to deploying
    the same ejb into two applications. Is this correct. So deploying an ejb twice
    in two different applications on a single weblogic server means giving them two
    distinct jndi names. Is this procedure correct or is there a better alternative.
    -Hunt

    are the methods static?
    "Lebedev Alexander" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I defined several Business Operations with Java Class. Next I addedseveral
    public methods in that class.
    After that I tried to define new Business Operation with new method butnew
    methods didn't appear in "Method to Call" combobox.
    Regards,
    Alexander.

  • BAPI to change Work order operation details

    Hi ,
      I have a requirement to change the operation work center of the service order . I am using the BAPI_ALM_ORDER_MAINTAIN . Could anyone let me know how the parameters i_methods and i_operation, i_operationup needs to be passed , what values need to be filled in them. Basically I am not sure about how the object key for the i_operations table is built.
    Regards,
    Prabaharan.G

    Hi,
    I used the below function module parameters as below the change operation work center of maintenance order,
    CLEAR: I_METHODS[], I_HEADER[], I_HEADERUP[],
             I_OPERATION[], I_OPERATIONUP[].
      CLEAR: V_OBJKEY.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = P_V_AUFNR
        IMPORTING
          OUTPUT = P_V_AUFNR.
      I_METHODS-REFNUMBER = '000001'.
      I_METHODS-OBJECTTYPE = 'OPERATION'.
      I_METHODS-METHOD = 'CHANGE'.
      I_METHODS-OBJECTKEY = P_V_AUFNR.
      APPEND I_METHODS.
      I_METHODS-OBJECTTYPE = ' '.
      I_METHODS-METHOD = 'SAVE'.
      APPEND I_METHODS.
      I_OPERATION-ACTIVITY = P_V_VORNR.
      I_OPERATION-WORK_CNTR = P_V_WORK_CENTER.
      APPEND I_OPERATION.
      I_OPERATIONUP-ACTIVITY = 'X'.
      I_OPERATIONUP-WORK_CNTR = 'X'.
      APPEND I_OPERATIONUP.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          IT_METHODS             = I_METHODS
         IT_HEADER               = I_HEADER
         IT_HEADER_UP            = I_HEADERUP
      IT_HEADER_SRV          =
      IT_HEADER_SRV_UP       =
      IT_USERSTATUS          =
      IT_PARTNER             =
      IT_PARTNER_UP          =
       IT_OPERATION           = I_OPERATION
       IT_OPERATION_UP        = I_OPERATIONUP
      IT_RELATION            =
      IT_RELATION_UP         =
      IT_COMPONENT           =
      IT_COMPONENT_UP        =
      IT_TEXT                =
      IT_TEXT_LINES          =
      EXTENSION_IN           =
         RETURN                 = I_RETURN
      ET_NUMBERS             =
      READ TABLE I_RETURN INTO WA_RETURN WITH KEY TYPE = 'E'.
      IF SY-SUBRC NE 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        WAIT UP TO  1 SECONDS.
      ELSE.
        MOVE P_V_AUFNR TO WA_MSG_LOG-AUFNR.
        MOVE P_V_VORNR TO WA_MSG_LOG-VORNR.
        MOVE WA_RETURN-MESSAGE TO WA_MSG_LOG-MESSAGE.
        APPEND WA_MSG_LOG TO I_MSG_LOG.
        CLEAR: WA_MSG_LOG.
      ENDIF.
    Regards,
    Prabaharan.G

  • How to handle method based exceptions in webdynpro abap?

    Hi ,
        I want to raise an exception from my method.....I am doing division operation inside my method...when I am entering a very large amount , that time I am getting run time error.....please someone help me to catch this exception and display on browser.
    Thanks & Regards
    Suman Kumar

    Hi Suman,
    You can catch the arithmetic exception by using exception class CX_SY_ARITHMETIC_ERROR as below
    Sample code:
              data lv_ex_msg               type string.
              data lx_sy_error              type ref to CX_SY_ARITHMETIC_ERROR.
              try.
                   "here goes your code
              catch CX_SY_ARITHMETIC_ERROR into lx_sy_error.
                               "  you can get exception text as below
                             lv_ex_msg = lx_sy_error->get_text( ).
                             or
                         " lv_ex_msg = lx_sy_error->get_longtext( ).
              endry.
    Hope this helps you.
    Regards,
    Rama

  • Help in design methods

    HI ,
    i want to know if there is performance aspects and good design i do the operation in good way ,
    this is regards insert , update , modify
    I  do read opration  from the DB tables and i need to create or update the value
    1. if sy-subrc = 0 i check if the data that i get form the
    DB is equel to the data that i have,  if yes dont do anything .
    2. if sy-subrc  = 0 and some records are different - > do update
    3. if sy-subrc <> 0 - > insert the records to the DB via insert commend
    i know that modify do both update and insert but my question if for my case
    its good to separate the operation for two method despite i can do that  in same method
    1. methods handle insert
    2. method Handle update
    Regards
    Joy

    Hi Joy,
    Basic rules about creating the methods would be:
    - keep it smart
    - keep it small
    - let the method be responsible for certain task only
    - minimize but don't atomize - which means do not create method just to execute one statement only. Class itself may then become very hard to maintain if too many methods are used.
    Generally in your case it is really of no matter how you handle it, either in both or in one method. All in all they will be both responsible for doing very similar task. So you can use one method and pass parameter i.e. mode where I would be for insert, U for update, but it's always up to you which approach you take.
    Regards
    Marcin

Maybe you are looking for

  • HT1688 I have the Apple world travel adapter Kit. Do I need a voltage converter to step down 220 V to 110 V

    I have the Apple world travel adapter Kit. Do  I need a voltage converter to step down 220 V to 110 V?

  • InDesign CS4 Interactive swf?

    Hi there, Well when I export my E-magazine to swf I get the following message: "Some button actions will not be preserved. The following actions are supported in pdf only Close, Exit, Movie, Open File, Sound . . ." and so on and so forth. Sure enough

  • All things were deleted

    I update my iPhone 4 last night ,in the morning I check my phone and all the contact was deleted!!!! I didn't save any contact on my computer and I don't have a iCloud account ,plsssss help me

  • Binding question i think (:

    I'm working on a website (holiday homes for rent). One of the pages is contact.cfm. People visiting the site will come to that page after clicking a text link " Contact us about this house"on a result page with available holiday homes. The problem is

  • Resizing DMG with Terminal help needed

    I've got a DMG file with read/write privileges that I need to increase the size of. I've done a bunch of searching, both here and on the net, and the best I can find is a Terminal script, something I know nothing about. Here's the script I found: hdi