[PROBLEM] Cant Copy The Objects . At least on patch of the gradient mesh must be selected.

Hello
i have problem with illustrator CC v17 ..
Please Watch This Video And Check My Problem !
http://www.4shared.com/video/ox4tGHLB/capture-1.html
Thanks..

i dont understand what u say !
i havent problem with illustrator CS6 but illustrator cc make problem !
Can u Show This Toturial With Video ?
Thanks..

Similar Messages

  • Problem with Copied Business Object : SELFITEM

    Hi,
    sub:    Problem with Copied Business Object : SELFITEM
    I want to use changed selfitem BOR for carbon copy functionality. For it, i copied the BOR : SELFITEM. it is giving error
    In SWI2_DIAG it is showing like this.
    Work item  cannot be read                                                
    Work item 000000639770: Object  method SWW_BI_EXECUTE_S cannot be executed
    The problem is with COPYING The Business Object. Because , generally we extend BOR ,not copy. But i did copy.
    Please help me regarding this.
    Balaji.T.

    hi Martin,
    The problem may not be in method. because simply we copied the BO:SELFITEM into ZSELF . And i want to test this for a mail at first , whether copied BOR  is working or not.The mail is not triggering . it is saying that it is Error.
    WF_BATCH error...
    I can see error in Tx: SWI2_DIAG ,
    this is Error :
    Work item 000000639770: Object  method SWW_BI_EXECUTE_S cannot be executed
    Once it is rectified i can modify the method in BO:ZSELF.
    Thank you in Advance..
    Balaji.T.

  • How can I make a button that on press the object appears and on second press the object to disappear

    Hello,
    I'm quite new to flash programing, and I don't know how can I make a button that will make the object appear and disappear.Till now I have this code for the appear:
    on (press)
        _root.top1.gotoAndStop(2);
        _root.topp.gotoAndStop(2);
        _root.mm1.gotoAndStop(2);
              _root.m1.gotoAndStop(2);
    but from here I'm stuck.
    Thank you for your help

    What you can do is use the _visible property of the object to make it appear and disappear, or more correctly, use the opoosite of the _visible property.  You should not put code "on" objects, keep it in the timeline.
    If "object" is the instance name of the object you want to toggle, then in the timeline code you can use...
    object._visible = false;  // start with the object being invisible
    yourButtonName.onRelease = function(){
        object._visible = !object._visible;
    That one line in the function sets the object's _visible property to be the opposite of what it currently is.

  • Microsoft Access will not Sync to SharePoint - Publish Failed: The Object Could not be Committed to the Server

    I created a very simple Microsoft Access database with one table and one form. When I published it to SharePoint, everythng worked fine. It published succesfully and there were no errors. I continued to make enhancements to the database and when I attempted
    to sync to SharePoint, I got a message that the operation failed. I clicked OK and the issues table noted the following:
    Move to SharePoint Site Issues
    Issue
    Reason
    Object Type
    Object Name
    Field Name
    The object could not be committed to the server.
    Table
    Vendor Location Information
    The object could not be committed to the server.
    Form
    Add a New Vendor
    The object could not be committed to the server.
    Navigation Pane
    Navigation Pane
    The object could not be committed to the server.
    VBA Properties
    VBA References
    The object could not be committed to the server.
    Database Properties
    DBProps
    An error occurred while recording the local application status. Please re-synchronize with the Web application. No current record.
    <tfoot></tfoot>
    I thought this was weird so I downloaded the Assets database from Microsoft to determine if it was my database or something else. After it was downloaded and saved to my computer, I attempted to publish it to SharePoint and I got the same error.
    What is weird, though, is that if I use the assets web database template in SharePoint (the one that is preloaded), it works fine. Once I open that database it in Access though and click sync, I get the same error message.
    Does anyone know why this is happening?

    I tried it again this morning creating a completely new table / form and this is the error I get:
    Move to SharePoint Site Issues
    Issue
    Reason
    Object Type
    Object Name
    Field Name
    The object could not be committed to the server.
    Table
    VLI
    The object could not be committed to the server.
    Form
    ANV
    The object could not be committed to the server.
    Navigation Pane
    Navigation Pane
    The object could not be committed to the server.
    VBA Properties
    VBA References
    The object could not be committed to the server.
    Database Properties
    DBProps
    An error occurred while recording the local application status. Please re-synchronize with the Web application. No current record.
    <tfoot></tfoot>

  • External hard drive problem. cant copy.

    im having trouble copying things to my external drive. i.e to itunes becauce i have moved the itunes folder there to save space, but now cant copy any thing into itunes or direct on to hd. i have "get info" and the sharing is read and write, any help please.

    iPhoto needs to have the Library sitting on disk formatted Mac OS Extended (Journaled).
    So I spent entire day yesterday moving files from that 1TB NTFS drive to other storage. Then I used Disk Utility to format it as Mac OS Extended (journaled).
    Then I tried again to copy iPhoto Library from MBP to that drive. And got error -36 message. Then I got a message that item named "iPhoto Library" already exists on that disk, therefore Copy can not proceed. What's interesting is that now I can not delete that item either (due to permissions issue).
    Weird, as I am the owner of the file. I also changed the permissions on iPhoto Library with IPLM to RWX for all users (Owner, Group and Everyone). And the same permissions are set on the storage drive.
    Now I am trying to rebuild the library with IPLM and store it on the storage drive - but it takes forever. Hopefully, then I will be able to rename the original on MBP to iPhoto Library.old and follow the rest of the instructions to establish a new library location.
    And who said Macs were easier then Windows? All my wife wanted is to have pictures off-loaded from her HD.
    Message was edited by: DmitriK

  • Wher can I find the 8.1.7.2 patch for the Sun OS 5.8

    I need to find the patch for the Oracle 8.1.7.0 to take it to 8.1.7.2 and it is running on Sun Solaris 5.8. I have looked through the Oracle site but haven't found anything that looks viable.
    Thanks
    Ted

    Which Oracle site did you try? As far as I know the only place you can get the patches is through Oracle's Metalink( metalink.oracle.com ).
    I need to find the patch for the Oracle 8.1.7.0 to take it to 8.1.7.2 and it is running on Sun Solaris 5.8. I have looked through the Oracle site but haven't found anything that looks viable.
    Thanks
    Ted

  • HT1420 cant copy an itunes film onto my ipad says the computer is not authorised how do i authorise the ipad?

    i'm trying to sync my ipad having selected a few films to add fromm my itunes list.  it refuses to add the films to my ipad says the comuter is not authorised, how do i authorise my ipad as the imac is obviously authorised?

    Hi there, to authorize a computer, you open up itunes, and at the very very top lefthand corner, there will be a little window. Click on that, and it will present you with a list of options.  From there, you go to the third option down, which says "Itunes Store," hover over it with your mouse, and it will give you another set of options. From there, you can see the two options, "Authorize" an "Deauthorize computer.  Just  click on "Authorize," enter in your apple ID and password, and your computer will be authorized! Hope I helped, ~Samuel

  • Find Control in Event Structure doesn't show the object when it is not in the frontmost Tab page [Bug Report, LabVIEW 2012]

    When you are looking for the control/indicator handled by a case in the Event structure, you can use the contextual menu item "Find Control" (doesn't distinguish between control and indicator, BTW).
    The result is that the control/indicator is highlighted on the FP. The problem is, if that control is in a Tab and specifically in a page of that Tab that happens to not be the frontmost, the only thing you'll see is marching ants, but no control:
    <=========== the wrong TAB page was shown. LV did not bother to switch to the relevant one....
    In other words, "Find Control" in the Event Structure doesn't switch the tab to the owning page. This is contrary to what happens if you right-click, say, the terminal of this control: the FP will switch to the owning Tab page.
    I'd call this a bug and this is definitely an annoyance (which most likely has been around since the creation of the Event Structure).

    I did not. Is there any better chance for it to be caught there by a NI eye than it is in the LV forum? I though these threads were deemed to gather bugs/features that had been already acknowledged by NI with a CAR number.
    I (and others!) wished there was something like this: http://bugs.sun.com/ or http://bugs.python.org/ for LabVIEW...
    I am just coming back from a short conference of scientists who quite uninamously ended up with the conclusion that LabVIEW was to be disregarded as a lab development environment because of maintenance problems (which could have been argued for any language in my opinion, although I think they meant spaghetti diagrams are the natural tendency of students who could not care less as they are not going graduate because of their LV skills or lack thereof), but I guess I could have added my grain of salt and added the complete opacity on bug and feature handling by NI.

  • Why the objects of sysman are created with the data type varchar2 CHAR

    Hi,
    I have an environment with the following properties,
    NLS_LENGTH_SEMANTICS BYTE
    NLS_CHARACTERSET AL32UTF8
    After I have created the db control repository, I find the data type of the sysman's objects are
    VARCHAR2 (64 CHAR)
    Why?

    NLS_LENGTH_SEMANTICS does not apply to tables in SYS and SYSTEM. The data dictionary always uses byte semantics.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams127.htm

  • Problem in returning the object + reflection + hashMap + list

    Hi All,
    i am very new to java forums...
    i'm sorry to disturb you all.. i don't exaclty know how to raise a question in forums..
    Here my query is ::::
    i have xlsReader file,which will read the data from the xls file.
    after reading it,i am adding the contents of the xls sheet in to a Arraylist.
    then i've put the list contents in to an object array,
    then i'm invoking the getter and setter method of the javabean class.
    and i'm returning object,but object contains only the last data of the list,instead of whole contents in that object.
    the code is here,where am returnung the object.
    kindly do reply...
    Thanks in advance...:)
    public static Object setDynamicValue ( Method setter2, List columnData, Object obj2 , Method getter2 )
    Object val2=null;
    try {
    for ( int i = 0 ; i < columnData.size() ; i++ ) {
    Object obj[] =( Object [] )columnData.get(i);
    for ( int j = 0; j < obj.length; j++) {
    // System.out.println("column Data:pppp: :"+obj[j].toString());
    setter2.invoke(obj2, new Object[] {obj[j].toString() });
    val2 = getter2.invoke(obj2, new Object[0]);
    //System.out.println("output:::"+val2.toString());
    // return val2;
    System.out.println("#########################");
    }catch (IllegalAccessException e) {
    System.out.println("IllegalAccessException came :::"+e);
    } catch (IllegalArgumentException e) {
    // TODO Auto-generated catch block
    System.out.println("IllegalArgumentException came :::"+e);
    e.printStackTrace();
    } catch (InvocationTargetException e) {
    System.out.println("InvocationTargetException came :::"+e);
    // TODO Auto-generated catch block
    e.printStackTrace();
    return val2;
    here,we are returning the object val2 , but its printing only the last data of the list
    Object o1 = setDynamicValue ( setter2, columnName ,columnData, obj2,getter2 );
    System.out.println("lastvalue of the list :"+o1);
    thanks...
    plz reply..

    You are getting only the last data of the list because you does not have any mechanism to hold other values.
    Check inf your code your the following code in the inner for loop (loop with index j)
    val2 = getter2.invoke(obj2, new Object[0]);
    Even if you are capturing some value into val2, it gets replaced next time the body of for loop runs. This way you are getting only the last data.
    If you want to capture all values use arraylist. Keep adding all values to arraylist and return it. While printing iterate over arraylist and print values.
    This is not a problem related to reflection or hashMap. Just the logic you have written is incorrect.

  • How open and copy smart object

    Hi,
    I read topics about smart objects but i not found solution on my problem.
    1. I need open smart object layer
    2. copy all layers from the smart object to another file
    Thanks

    I think you may be better off just copying the smart object layer from the source document into the target document.  There may be several different resolutions involved and other complexities.  Within a smart object layer there is a copy of the original object. So how the smart object layer was created determines what the imbedded object is.  A smart object may be many thing. Could be a copy of a raw file, a copy of a layered file, contain a group of layers created from within the source document. There is a transform associated with smart object layers.  When you open a smart layer into Photoshop so you can edit the embedded smart object it opens at the resolution and size of the object which may be different then the document its  a layer in. The transform is only associated the layer not the object. Once open into Photoshop you can of course dupe the layers into the target document.  It may be a bit complex for some layers may have layer mask and perhaps other layers clipped to it or be within a group then there is the layers visibility state. If you have both the source document and target document open in Photoshop it is easy co copy a layer from the source document to the target document. If the source layer is a smart object the associated transform will also be copied to the target document however it easy re transform the smart object layer in the target document.  In the source document target the smart object layer the use menu Layers>Duplicate Layer... in the Duplicate Layer dialog in the destination section use the pull down menu to select the target document You can use the scriptlistener plugin to capture the action manager code to do that.
    // =======================================================
    var idDplc = charIDToTypeID( "Dplc" );
        var desc24 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref14 = new ActionReference();
            var idLyr = charIDToTypeID( "Lyr " );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref14.putEnumerated( idLyr, idOrdn, idTrgt );
        desc24.putReference( idnull, ref14 );
        var idT = charIDToTypeID( "T   " );
            var ref15 = new ActionReference();
            var idDcmn = charIDToTypeID( "Dcmn" );
            ref15.putName( idDcmn, "Untitled-2" ); <====================================== target document
        desc24.putReference( idT, ref15 );
        var idVrsn = charIDToTypeID( "Vrsn" );
        desc24.putInteger( idVrsn, 5 );
    executeAction( idDplc, desc24, DialogModes.NO );

  • Problem in copying a mapping from OMB+..soln needed asap

    I am trying to copy a mapping from OMB+.
    This is a simple copy in the same module....but its giving the following error. can somebody help me in this...
    OMB+> OMBCOPY MAPPING 'M_STG_BP_AP_INTL_SUBSCRIPTION' TO 'BI_STAGING/' USE REPLACE_MODE
    OMB01059: Object copy failed. Nothing to rename.
    OMB+>
    OMB+> OMBCOPY MAPPING 'M_STG_BP_AP_INTL_SUBSCRIPTION' TO 'M_STG_BP_KA_INTL_SUBSCRIPTION' USE REPLACE_MODE
    OMB01059: Object copy failed. Nothing to rename.

    found the solution..
    Its the problem with length of the mapping name.
    When its copying, OWB generates a new mapping prefixed with 'COPY_OF_' to the original mapping name and then renames it.
    In the above case, Its exceeding the limit and therefore abbreviating the copied mapping to 'COPY_OF_M_STG_BP_AP_INTL_SUBS_1'
    and when trying to rename the mapping, its unable to find the object.
    Soln...limit the mapping names to 18-20 characters to allow copying from OMBPLUS.

  • Polymorphism.  Problems with my Element Objects

    As far as I know, my problem is I keep getting my Objects confused with one another. I was wondering if someone could help me please.
    Eyerything works in my abstract class and supporting classes. My application is where the issues are. It goes:
    public class PlayElementOOPS
    public static Scanner keyboard = new Scanner(System.in);
    public static void main(String[] args)
    //Data
    ElementSet anES;
    Element anE;
    String classId;
    Play2 aPlay;
    Playwright aPW;
    String possible;
    double maybe;
    boolean done = false;
    int choice;
    //Logic...
    anES = new ElementSet();
    while(!done)
    System.out.print("\nPlease enter the option you wish the program to " +
              "perform.\n\n1) Add a Play\n2) Add a "+
              "Playwright\n3) Remove a Play\n" +
              "4) Remove a Playwright\n5) Diplay all Plays\n" +
              "6) Display all Playwrights\n7) Display by a " +
              "given Playwright\n8) Display all Playwrights " +
              "by a given Nationality\n9) Quit" +
              "\n\n Choice: ");
    choice = Integer.parseInt(keyboard.nextLine());
    while(!isGoodChoice(choice)) //will output if bad choice is made
    System.out.print("\nPlease enter the option you wish the program to " +
         "perform.\n\n1) Display all Plays\n2) Display a "+
         "particular Play\n3) Display all plays by a Director\n" +
         "4) Display all Plays of a Cast member\n5) Quit" +
         "\n\n Choice: ");
    switch(choice) //switch for which choice the user makes
    case 1: addPlay(anES);
    break;
    case 2: addPlaywright(anES);
    break;
    case 3: removePlay(anES);
    break;
    case 4: removePlaywright(anES);
    break;
    case 5: displayPlays(anES);
    break;
    case 6: displayPlaywrights(anES);
    break;
    case 7: displayAPlaywright(anES);
    break;
    case 8: displayByNation(anES);
    break;
    case 9: done = true;
    break;
    public static boolean isGoodChoice(int choice)
    return(choice == 1 || choice == 2 || choice == 3 || choice == 4
              || choice == 5);
    public static void addPlay(ElementSet anES)
    int addRes;
    Play2 aPlay = new Play2();
    aPlay.readIn(); //Polymorphism
    addRes = anES.add(aPlay);
    if(addRes == 0)
    System.out.print("Could not add. Set is Full.\n");
    else if(addRes == -1)
    System.out.print("Could not add. Duplicate.\n");
    else
    System.out.print("Successful add.\n");
    public static void addPlaywright(ElementSet anES)
    int addRes;
    Playwright aPW = new Playwright();
    aPW.readIn(); //Polymorphism
    addRes = anES.add(aPW);
    if(addRes == 0)
    System.out.print("Could not add. Set is Full.\n");
    else if(addRes == -1)
    System.out.print("Could not add. Duplicate.\n");
    else
    System.out.print("Successful add.\n");
    public static void removePlay(ElementSet anES)
    String toRemove;
    boolean removed;
    System.out.print("What play do you want to remove? ");
    toRemove = keyboard.nextLine().toUpperCase();
    Play2 aPlay = new Play2();
                   aPlay = toRemove;
    removed = remove(aPlay);
    if(removed == false)
    System.out.print("Failed to remove.\n");
    else
    System.out.print("Successfully removed.\n");
    public static void removePlaywright(ElementSet anES)
    String toRemove;
    boolean removed;
    System.out.print("What play do you want to remove? ");
    toRemove = keyboard.nextLine().toUpperCase();
    Playwright aPW = new Playwright(toRemove);
    removed = remove(aPW);
    if(removed == false)
    System.out.print("Failed to remove.\n");
    else
    System.out.print("Successfully removed.\n");
    public static void displayPlays(ElementSet anES)
         String classId;
         System.out.print("Here are all of the Plays\n");
         for (int i = 0; i < anES.size(); i++)
              anE = anES.getCurrent();
              classId = anE.getClassName();
              if (classId.equals("Play2"))
                   aPlay = (Play2) anE;
                   aPlay.display();
         public static void displayPlaywrights(ElementSet anES)
         String classId;
         System.out.print("Here are all of the Playwrights\n");
         for (int i = 0; i < anES.size(); i++)
              anE = anES.getCurrent();
              classId = anE.getClassName();
              if (classId.equals("Playwright"))
                   aPW = (Playwright) anE;
                   aPW.display();
    public static void displayAPlaywright(ElementSet anES)
         Playwright aPW;
         String wTW;      
         String classId;
         System.out.print("Enter the Playwright you want to search for: \n");
         wTW = keyboard.nextLine().toUpperCase();
         for (int i = 0; i < anES.size(); i++)
         anE = anES.getCurrent();
         classId = anE.getClassName();
         Playwright aPW = (Playwright) anE;      
    if (classId.equals("Playwright"))
         if (aPW.equals(wTW))
                                  aPW = (Playwright) anE;
         aPW.display();
    public static void displayByNation(ElementSet anES)
         Playwright aPW;
         String wTW;      
         String classId;
         System.out.print("Enter the Playwright's Nationality you " +
         "want to search for: \n");
         wTW = keyboard.nextLine().toUpperCase();
         for (int i = 0; i < anES.size(); i++)
         anE = anES.getCurrent();
         classId = anE.getClassName();
         aPW = (Playwright) anE;      
         if (classId.equals("Playwright"))
              if (aPW.getNation().equals(wTW))
                                  aPW = (Playwright) anE;
              aPW.display();
    } //End Program
    I just cannot see where some of my issues are at.

    Same program, but different issue. The previous issue was fixed. This issue is in my ElementSet Class.
    I cannot see why it cannot find the symbol.
    Issue is in the public Element getCurrent() method
    Complier:
    ElementSet.java:156: cannot find symbol
    symbol : constructor Playwright(Playwright)
    location: class Playwright
                        return new Playwright((Playwright) theList[saveIndex].clone());
    The ElementSet where the issue is:
      public class ElementSet
       // Fields ...
          Element[] theList;      // Will reference an array of objects
                                  // from the subclasses of the abstract
                                                    // class, Element
          int currentIndex;       // Index of current element in the set
          int currentSize;        // Number of objects currently in the list
          final int MAXSETSIZE = 100;
                            // Maximum number of objects that can be
                                          // in an ElementSet.
       // Constructor ...
          The ElementSet constructor sets up an array with MAXSETSIZE-many
            cells to reference objects from the subclasses of Element.
            It also initializes currentIndex and currentSize.
           public ElementSet()
             theList = new Element[MAXSETSIZE];
             currentIndex = -1;
             currentSize = 0;
       // Test methods
          The isMemberOf method tests to see if the parameter, anElement,
            is already a member of the ElementSet.  Note that anElement can
            reference either a Person, a Student, or any subclass (direct
            or indirect) of the Element class.
             @param anElement the object being checked for membership in
                   the set
            @return true if anElement is already in the set and false
           public boolean isMemberOf(Element anElement)
             // Local data ...
             String paramClass = anElement.getClassName();
             String currClass;
               // Logic ...
             for (int i = 0; i < currentSize; i++)
                currClass = theList.getClassName();
         // Only compare anElement against those objects
         // that belong to anElement's class
    if (currClass.equals(paramClass))
    if (theList[i].equals(anElement))
    return true;
         // This object was not found in the set
    return false;
    The isFull method returns true if the calling object
         is full and false otherwise.
         @return true if the calling object is full to capacity and
         false otherwise.
    public boolean isFull()
    return currentSize == MAXSETSIZE;
    The isEmpty method returns true if the calling object
         is empty and false otherwise.
         @return true if the calling object is empty and false
         otherwise.
    public boolean isEmpty()
    return currentSize == 0;
    // Access methods
    The size method returns the number of objects
         currently in the set.
         @return the value of currentSize
    public int size()
    return currentSize;
    The getCurrent() method returns a reference to the
         current object in the set. Note the pre-condition.
         This method should only be called if the set is
         not empty. The method advances currentIndex to
         the next object to set up for the next call to
         getCurrent. If getCurrent returns a copy of
         the last object, currentIndex is reset to 0.
         Pre: currentIndex is not -1 (which can only
         occur if currentSize is not 0).
         @return copy of the current object
    public Element getCurrent()
    // Local data ...
    int saveIndex = currentIndex;
                   String classId;
         // Logic ...
    if (currentIndex == currentSize - 1)
    // Recycle to beginning of list
    currentIndex = 0;
    else
    // Advance currentIndex to next object
    currentIndex++;
         // Return a reference to the current object
              classId = theList[saveIndex].getClassName();
                   if(classId.equals("Play2"))
                        return new Play2((Play2) theList[saveIndex].clone());
                   else
                        return new Playwright((Playwright) theList[saveIndex].clone());
    // Mutator methods ...
    The add method adds a reference to the parameter object
         to the set if the the set is not full and if the
         parameter object is not already in the set. The
         method returns 1 if the add was successful, 0 if
         the set is full and -1 if the object is already
         in the set.
         @param anElement the object we will try to add
         @return 1 for success, 0 for no more room, and
         -1 for duplicate object
    public int add(Element anElement)
    // Logic ...
    if (currentSize == MAXSETSIZE)
    return 0; // set is full
    else if (this.isMemberOf(anElement))
    return -1; // it's already in there
    // We will add anObject to the set.
    theList[currentSize] = anElement.clone();
    // Increment currentSize.
    currentSize++;
    // Set currentIndex to object we just added if it was the
    // first object in the set.
    if (currentSize == 1) currentIndex = 0;
    // We succeeded.
    return 1;
    The clear method resets the set to the empty set.
    public void clear()
              for(int i=0; i < currentSize; i++)
                        theList[i] = null;
                   currentIndex = -1;
    currentSize = 0;
    // The display method
    The display method displays all of the objects in the
         set using polymorphism in a powerful way.
    public void display()
    if (currentSize == 0)
    System.out.println("There are no objects in the set. ");
    else
    System.out.println("Here are the objects in the set: \n");
    for (int i = 0; i < currentSize; i++)
    theList[i].display();
    System.out.println("\n");
              //The remove() method will remove a select object.
              public boolean remove(Element anElement)
                   for(int i = 0; i <currentSize; i++)
                        if(theList[i].equals(anElement));
                             for(int x = i; x < currentSize; x++)
                                  theList[x] = theList[x+1];
                             currentSize--;
                             return true;
                   return false;

  • Trouble with copying an object

    I am trying to copy an object as follows:
    First, I read the object (using the session not in a Unit of Work)
    then, I modify the primary key
    Finally I do a registerNew.
    The result is a duplicate primary key error. I can examine the object that I am regisering as a new object and it does have the new key, but when I look at that SQL INSERT statement that is geting generated still has the old key.
    I tried experimenting with the undocumented copyObject methods, but it still had the same problem. Any suggestions on what I am doing wrong.
    Thanks,
    JJ

    Doug,
    I have a related problem with copying. basically, I need to create a copy of an object for display to an HTML page. The user can then submit multiple changes. Once he/she decides it is good, a commit occurs. I was planning to use the copyObject() (using ClientSession) at the beginning and the mergeClone() before finally issuing commit() on the UnitOfWork.
    The object that I'm working with has multiple levels embedded in it, such as
    class1
    +--- class2(multiple)
    +--- class3 (multiple)
    +--  class4(single)
    If the object has references to non-private parts, how do prevent the copyObject() and the mergeClone() methods from going out of control and recursively trying to create clones. I'm asking because when the copy or merge is not limited to private parts, TopLink seems to want to copy/merge everything. Some of our tables have reverse references to other objects so the whole thing becomes one endless loop.
    any help would be appreciated...
    charlie

  • Problem with CASE and Object tables.

    Hi guys,
    Have a problem which I am unable to understand how to solve.
    I have the following object
    create type obj_numeric_id_table as table of number(30);
    create type obj_search_rec as object
    ( zones number(4),
      locs obj_numeric_id_table
    create type obj_search_tbl as table of obj_search_rec;
    /Now this object Obj_search_tbl is being passed as an IN parameter to a procedure...actually the object has many more columns but the problem at hand is with the locs column.
    The problem is - if I use the count for the locs column in an IF statement, then all works fine, but if I use it inside a CASE statement in the SELECT clause, it gives me an error.
    create proc proc_1 (abc obj_search_tbl) .....
    L_search obj_search_rec;
    begin
    L_search_rec := abc(1); -- for the moment there is only one record.
    IF L_search_rec.locs.count() > 0 then -- this works perfectly
    END IF;
    select (case when L_search_rec.locs.count() > 0 then 1 end) from some_table;
    -- now this case statement gives me the following error
    "PL/SQL: ORA-00904: "L_SEARCH_REC"."LOCS"."COUNT": invalid identifier"Am I doing something wrong....am unable to understand why this is so...
    Thanks,

    Other possibility:
    select count(t.column_value) from
    (select obj_search_rec(1, obj_numeric_id_table(1,2)) obj_search_rec from dual) l,
    table(l.obj_search_rec.locs) t;

Maybe you are looking for

  • Screen Cracked on new Macbook Pro

    Hello, I got home from work today, and opened my macbook pro and noticed a big fat crack in it. Could this be a MBP issue?

  • Style Rendering with a DW Template

    QUESTION: What must one include with the window.print( ) method in order to invoke a cascading style sheet for printing? BACKGROUND: I have an <a> that includes an onclick attribute. When the <a> tag is clicked, a function is called that triggers the

  • How to deploy java class as a service in weblogic

    All,   I have a java class which polls on a mailbox. I want deploy this class as a service in weblogic so that when the service is started it should continuously poll the mail box untill the service is stopped. Its working as a standalone component,

  • In what order to you perform steps in editing to maximize quality?

    I have recently discovered that my photographs are not being saved in 300ppi, suitable for large prints. I would like to know at what point people are increasing their resolution to accomodate large prints. If I resize my image first thing each editi

  • Gps tracking not accurate even at places away from buildings and trees

    The big blue circle of gps is like half a kilometer wide.....it would shrink to like 70-80 ft then again widen up.....i updated my ios to the latest....gave my phone a hard reset....but nthing worked......what could be the problem here??? could it be