Flex/Salesforce question, updating a unique object

Hello, I'm having some trouble updating a value for a particular unique object from an embedded swf developed using flex.
The query works fine, and returns one record (I can see the resource in a datagrid I have in the swf), however, I see no effect of my update function. Here's the relavent snippet from my .mxml file:
private function setResource():void{
     //get resource
     force.query("Select Total_Hours__c, Role__c, Resource__c, Rate__c, Hours_Per_Week__c From SFDC_Assignment__c WHERE Projects__r.Id = '$$$$$$' and Role__c = '$$$$$'",
          new AsyncResponder(
               function(qr:QueryResult):void {
                    resource = qr.records.getItemAt(0);
               }, handleFault)
     //update resource's value
     resource.Rate__c = 200;
     a1[0] = resource;
     force.update(a1, new AsyncResponder (
          function():void{
               Alert.show("Updating...");
          }, handleFault)
One discrepancy that I’m seeing is in the flex specific documentation, when they discuss the update function you can call on a salesforce connection: http://bit.ly/U56xx it’s a void function. However, the update function in the salesforce apex code documentation: http://bit.ly/d4Tk2 returns an array of ‘SaveResult’ object. Each element in the SaveResult array corresponds to the sObject[] array passed as the sObjects parameter in the update() call and contains information regarding the success of the update (something that would be very useful!).
I’ve checked the sfdc database for any updates and I don’t see any for the specific operations I’m performing.
Any one know why this isn't working? Let me know if you need any other infromation regarding our set up. Any help would be greatly appreciated. Thanks in advance.
Relevent links:
http://www.adnsandbox.com/media/flexsdk/docs/com/salesforce/Connection.html
http://www.adnsandbox.com/media/flexsdk/docs/com/salesforce/Connection.html#update()

Hello..
I'm using the salesforce toolkit, I replicate the sample code they give to use the API, I'm having some trouble and don't find anywhere the answer, when I make a request, the server response twice, twice on login request, on other queries, sometimes I receive the response three times.
Thanx..

Similar Messages

  • [General Question] redrawing and updating front panel objects

    Hello,
    I have several questions on this topic.
    1)  Is there a difference between redrawing and updating the front panel? (I assume so, but when a control is updated it will be redrawn at the same time, right?)
    2)  Is redrawing = rendering? In the case of decorations I think they need only to be rendered once (if fix/static) and stay in memory so that it is available for the gfx-card...
    3)  Are decorations redrawn or updated by LabView with every loop?
    4) Is there a way to prevent LabView from redrawing and/or updating front panel objects (like controls, indicators and decorations)?
        When I put indicators into case-structures they are only updated when the case in which they are placed is executed but they will be obviously still redrawn.
        In another case when I disable visibility of those indicators they will not be redrawn anymore but be updated in the background.
        So when I put these indicators into a case-structure and combine it with toggling the visibility I could stop LabView from updating and redrawing them.
        Is this correct?
        Is there another way to prevent LabView from redrawing single objects? (at best leave them somehow visible)
    Many thanks in advance!

    Nocturn wrote:
    Hello,
    I have several questions on this topic.
    1)  Is there a difference between redrawing and updating the front panel? (I assume so, but when a control is updated it will be redrawn at the same time, right?)
    2)  Is redrawing = rendering? In the case of decorations I think they need only to be rendered once (if fix/static) and stay in memory so that it is available for the gfx-card...
    3)  Are decorations redrawn or updated by LabView with every loop?
    4) Is there a way to prevent LabView from redrawing and/or updating front panel objects (like controls, indicators and decorations)?
        When I put indicators into case-structures they are only updated when the case in which they are placed is executed but they will be obviously still redrawn.
        In another case when I disable visibility of those indicators they will not be redrawn anymore but be updated in the background.
        So when I put these indicators into a case-structure and combine it with toggling the visibility I could stop LabView from updating and redrawing them.
        Is this correct?
        Is there another way to prevent LabView from redrawing single objects? (at best leave them somehow visible)
    Many thanks in advance!
    redraw vs update
    Yes threr is a difference. A control is redrawn when LV decides to update the GUI. Look into "syncronous" setting for controls that forces update when value changed. These tags and thesse tags may help out abit.
    Q2
    Not sure about equality but decoartion may need redrawn if there is overlap of chanable objects.
    Q3
    i have observed decorations that failed to update on occation so I suspect they are only update when required.
    Q4
    LV will update the value for a hidden control but will not update its image. Same if the object is ona hidden tab page.
    No wawy that I know of to prevent an update of a single object with out going to extremes. The Front pnale property "DeferFPupdate" will inhibit FP updates while true and allow then when set false. I use this when doing a lot fast GUI updates so allow the changes to accumulate and be apllied only once.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to update ADF VO object to refresh the data in ADF Pivot table

    I need to know how to update the View object so that the date in pivot table is refreshed/updated/filtered.
    here are the steps I performed to create ADF pivot table application using VO at design time.
    1) created a collection in a Data Control (ViewObject in an ApplicationModule) that provides the values I wanted to use for row and column labels as well the cell values (Used the SQL query)
    2) Dragged this collection to the page in which wanted to create the pivot table
    3) In the pivot table data binding editor specified the characteristics of the rows (which attribute(s) should be displayed in header), the columns (likewise) and the cells.
    Now, I have a requirement to update/filter the data in pivot table on click of check box and my question is how to I update the View object so that the date in pivot table is refreshed/updated/filtered.
    I have got this solution from one of the contact in which a WHERE clause on an underlying VO is updated based upon input from a Slider control. In essence, the value of the control is sent to a backing bean, and then the backing bean uses this input to call the "filterVO" method on the corresponding AppModule:
    but, I'm getting "operationBinding" object as NULL in following code. Please let me know what's wrong.
    here is the code
    Our slider component will look like
    <af:selectBooleanCheckbox label="Unit" value="#{PivotTableBean.dataValue}"
    autoSubmit="true" />
    The setDataValue() method in the backing bean will get a handle to AM and will execute the "filterVO" method in that, which takes the NumberRange as the input parameter.
    public void setDataValue(boolean value) {
    DataValue = value;
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("filterVO");
    Object result = operationBinding.execute();
    The filterVO method in the AMImpl.java will get the true or false and set the where Clause for the VO query to show values.
    public void filterVO(boolean value) {
    if (value != null) {
    ViewObjectImpl ibVO = getVO1();
    ibVO.setWhereClause("PRODUCT_TOTAL_REVENUE(+) where rownum < 10");
    ibVO.executeQuery();
    }

    Did you define a filterVO action in your pagedef.xml file?
    You might want to read on how to access service method from a JSF Web Application in the ADF Developer Guide for 10.1.3 chapter 8.5

  • Servlet - Multithreaded unique object confusion.

    Hye there experts.
    A Servlet is a multi-threaded unique object - no doubt about this.
    My question is straight, that I am trying to understand
    When a variable is created inside any unique multi threaded object (like Servlet),
    and when it serves number of user requests(say 10) ,
    how will it create same variable name 10 times !!!
    to be more cleare....
    If I write code like below in my doGet(...) method of sevlet,
    MyClass myobj = new MyClass()
    How the Unique servlet object will understand 10 user requests with same variable name as myobj.
    I think this applies to Java behavior of unique object that is multi-threaded, as Servlet is nothing special
    than a simple Java object at the basic level.
    Kindly clarify friends, welcome any references from specs.
    Many Thanks in advance folks !!! Have a wonderful time !

    you cracked the puzzle...nice ! thanks for addressing this query all of you guys.
    Thinking at the memory level I thought variables will be declared inside object's memory and thus, I was
    a conflict to me that how number of instances with same name is possible when many threads execute it.
    So, answer to me is like you said, instances are managed at the Thread's memory scope and not inside object's
    thus, though n threads are executing, they will have their own instance of same object, no issues with
    same name ofcourse in this case.
    so, at what level thread deals this seperate copy of its own variables ? at method scope or sevlet scope ?
    looking further into memory, where are these references and scope details are maintained ?
    any other memory area inside JVM will have this Metadata of live objects ?
    stepping ahead, if I declare this variable as volatile,
    multithreading will be serious issue with dirty reads under this case, right ?
    great job again folks, welcome comments..even if I deserve any yelling at my questions, not too much pls :-)

  • [svn] 4885: Flex SDK Framework - Update mx.filters API and class hierarchy

    Revision: 4885
    Author: [email protected]
    Date: 2009-02-06 16:12:32 -0800 (Fri, 06 Feb 2009)
    Log Message:
    Flex SDK Framework - Update mx.filters API and class hierarchy
    - Removed BaseFilter.as, BaseDimensionFilter.as, and GradientFilter.as
    - Renamed IBitmapFilter.as to IFlexBitmapFilter.as
    - Changed IBitmapFilter.clone to createBitmapFilter
    - Moved properties and functions from base classes up to filter subclasses
    - Changed ColorMatrixFilter constructor parameter from Array to Object
    - Added Change metadata to all filter classes
    - Changed notifyFilterChanged from public to private
    - Added ASDoc comments
    - Added copyright info
    - Added a number of formatting and style fixes
    QE Notes: Need to update tests based on API changes. Missing tests for DisplacementMapFilter.as.
    Doc Notes: Need extensive ASDoc review. Consider using @copy for properties that match the flash.filters properties
    Bugs: n/a
    Reviewer: Gordon
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateFilterInst ance.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BevelFilter.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BlurFilter.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ColorMatrixFilter.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ConvolutionFilter.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DisplacementMapFilter.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DropShadowFilter.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GlowFilter.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientBevelFilter.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientGlowFilter.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
    flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
    Added Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IFlexBitmapFilter.as
    Removed Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientFilter.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as

    Yup. The source files are simply missing from the 4.5 source releases....I'm hitting the same issue when trying to rebuild the SDK with flexcover changes applied.

  • Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event STATE_CHG and (target) status READY- ERROR EVENT_RAISED - Error updating the process object

    Hi All
    I have set up a simple custom HCM process and Form regarding Infotype TO CREATE AND CHANGE POSITION. I have checked the process and form consistency and it seems fine. Now when I run the process from HRASR_DT it generates a process number but it also gives an error workflow could not start.I get following error (SWIA log - Step history)
    Executing flow work item - Transaction brackets of the workflow has been damaged
    Exception occurred - Error when starting work item 000000007031
    PROCESS_NODE - Error when processing node '0000000014' (ParForEach index 000000)
    CREATE - Error when creating a component of type 'Step'
    CREATE_WIM_HANDLE - Error when creating a work item
    CREATE_VIA_WFM - Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event CREATED and (target) status
    EVENT_RAISED - Error updating the process object
    Executing flow work item - Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event STATE_CHG and (target) status READY->ERROR
    EVENT_RAISED - Error updating the process object
    Executing flow work item - Transaction brackets of the workflow has been damaged
    Executing flow work item - Work item 000000007031: Object FLOWITEM method EXECUTE cannot be executed
    Executing flow work item - Error when processing node '0000000014' (ParForEach index 000000)
    Points to be noted:
    1) I have searched few SAP notes such as 1384961(Notes for 6.0.4) but our system is in higher level patch 6.0.5
    2) WF-BATCH have SAP_NEW and SAP_ALL authorization.
    Appreciate your valuable suggestions.
    Thanks
    Ragav

    Hi Ragav
    did you try to debug this? maybe something is missing in config of P&F?
    Since you are on 605, the following note would be there in your system....use it to debug:
    1422496 - Debugging background workflow tasks in HCM P&F
    This will help you find the root cause.
    regards,
    modak

  • How to update a ScriptUIGraphics object?

    Hello,
    I've been able to use ScriptUIGraphics, but as far as I've seen there's no way to update / change any object, nor it seems possible to call the onDraw() handler but once if it contains either fillPath() or strokePath() - which usually does.
    For instance, the following test script pops up a panel with a red square in it. Fine. When you click the "Try" button, the onDraw() is fired again and should draw a smaller square, but stops with a very informative "cannot execute" error at some point within the onDraw():
    // ScriptUI graphics update issue
    // resource string
    var winRes = "dialog {  \
        text: 'ScriptUI Graphics test',  \
        margins: 15, \
        alignChildren: 'row', \
        canvas: Panel {  \
            preferredSize: [200, 200], \
            properties: {borderStyle: 'black'} , \
        buttonsGroup: Group{ \
            cancelButton: Button { text: 'Cancel', properties:{name:'cancel'} }, \
            tryButton: Button { text: 'Try', properties:{name:'try'},size: [40,24], alignment:['right', 'center'] }, \
    // Window
    var win = new Window(winRes);
    // define the graphic property
    canvasGraphics = win.canvas.graphics
    // do the drawing
    win.canvas.onDraw = function() {
              // creates a red filled square
              canvasGraphics.newPath()
              canvasGraphics.rectPath(10, 10, 200, 200)
              canvasGraphics.fillPath(canvasGraphics.newBrush(canvasGraphics.BrushType.SOLID_COLOR, [1,0,0,1], 1)) // HERE
    win.buttonsGroup.tryButton.onClick = function() {
              win.canvas.onDraw.call()
    win.show()
    When you run it, it works as expected; if you click the Try button, an error is fired when the script gets to the line ("HERE" in the code), that is: when it comes to fill the path.
    Strangely enough! Because it doesn't seem to be a problem with the onDraw second call (apparently the second square path is constructed, but can't be filled).
    Am I doing something wrong here? Should I first delete the original square (how?!), or somehow initialize it again? Are ScriptUIGraphics immutable somehow?
    --- Update ---
    Further experiments led me to understand that onDraw() (so the whole drawing) seem to be called just once - when the Window is shown. I've tried to remove and rebuild the canvas Panel altogether, but its own new onDraw() is never called - nor an explicit call works. Apparently you can't invoke win.show() again, nor hide and show it. Ouch!
    Thanks in advance for any suggestion
    Davide

    Sorry, I do not understand what do you really want (because of my bad english)
    Try to change the bg color of the panel in the dialog box by clicking on button? Something like this?
    // ScriptUI graphics update issue
    // resource string
    var winRes = "dialog {  \
        text: 'ScriptUI Graphics test',  \
        margins: 15, \
        alignChildren: 'row', \
        canvas: Panel {  \
            preferredSize: [200, 200], \
            properties: {borderStyle: 'black'} , \
        buttonsGroup: Group{ \
            cancelButton: Button { text: 'Cancel', properties:{name:'cancel'} }, \
            tryButton: Button { text: 'Try', properties:{name:'try'},size: [40,24], alignment:['right', 'center'] }, \
    // Window
    var win = new Window(winRes);
    // define the graphic property
    win.canvas.graphics.backgroundColor = win.canvas.graphics.newBrush (win.canvas.graphics.BrushType.SOLID_COLOR, [1,0,0],1);
    win.buttonsGroup.tryButton.onClick = function() { // change the graphic background property by click on Button [try]
    win.canvas.graphics.backgroundColor = win.canvas.graphics.newBrush (win.canvas.graphics.BrushType.SOLID_COLOR, [0,0,1],1);
    win.show()

  • HT5557 hello...my questions is related to objective C...Is it possible to display name of the person who is calling me whose number is saved in my local database but not in iphone contacts ?.

    hello...my questions is related to objective C..
    Is it possible to display name of the person who is calling me whose number is saved in my local database but not in iphone contacts ?.

    ashish35,
    No one from Apple here - we're just users like you. All I can tell you is that electronic fail and with MacBook Pros (and most notebooks) the components are so integrated as to make a repair to the logic board practically impossible, hence the high prices charged for repairs.
    Only you can decide if you want to have your computer repaired or put the money towards the purchase of a new computer. If you do decide to purchase a new unit I would suggest that you also purchase the AppleCare Protection Plan which increases your warranty from one year to three years.
    Sorry and good luck,
    Clinton

  • Flex language questions should go in the General Discussion Forum

    This forum is intended for Flex Builder questions.
    Of course you can post wherever you like, but if you want
    help, go where the helpers are.
    Tracy

    can you define what goes where then?
    General discussion sounds like thoughts, comments, hopes and
    wishes.
    Builder 2, (meaning Flex Builder 2?), seems to be the only
    area for other Flex 2 questions.
    I don't mean to be wise here, but I personally don't
    understand what a "builder 2" question is if not those that deal
    with flex 2, such as those posted here. I want to post my questions
    where they should be so that I might find help, so maybe the forum
    labelling should be re-considered or better defined.

  • Finding unique object from a collection

    Hi,
    Is there a way to select all the unique objects from a pool of collections?
    ie, i have a set which contains (1,1, 2,3,4,4,5) and want to get (1,2,3,4,5) back? Is there a class or function that able to do that?
    thx in adv

    ie, i have a set which contains (1,1, 2,3,4,4,5)no you don't. sets, by definition, don't contain
    duplicatesNice george. I missed the part where the OP said he had a Set.

  • Flex 2.01 Update Problems

    I TRIED installing the Flex 2.01 update. My configuration is
    Windows XP SP2 and I was running Flex Builder 2.0 (Educational
    Version). I downloaded the Windows update from here:
    http://www.adobe.com/support/documentation/en/flex/2/install.html
    (144 MB download).
    After the download completed, I ran the downloaded file
    (named flexbuilder2_201updater.exe) and went through the process of
    installing FlexBuilder 2.01. The installer needed to restart my
    computer before completing the process. After my computer
    restarted, I expected to see the installer tell me it was finished.
    But I never got any more messages from the installer.
    So, after waiting a few minutes, I ran Flex Builder. Still
    said 2.0 on the splash screen. I went to Help - Product Details and
    then clicked on Feature Details and saw that my Flex Builder 2 Core
    is 2.0.143459 and so is my Flex Builder 2 Standalone.
    However, when I try to open one of my Flex projects I get an
    error message!!! The MXML editor is not available!!!
    So I closed Flex Builder and ran the download again. Only now
    I get the message that an existing Flex Builder installation was
    not found and the installer will not run!!!
    I'm now going to try reinstalling the original software!!! I
    knew I should NOT have tried to do this on a Friday afternoon.

    quote:
    Originally posted by:
    phil1021
    I TRIED installing the Flex 2.01 update. My configuration is
    Windows XP SP2 and I was running Flex Builder 2.0 (Educational
    Version). I downloaded the Windows update from here:
    http://www.adobe.com/support/documentation/en/flex/2/install.html
    (144 MB download).
    After the download completed, I ran the downloaded file
    (named flexbuilder2_201updater.exe) and went through the process of
    installing FlexBuilder 2.01. The installer needed to restart my
    computer before completing the process. After my computer
    restarted, I expected to see the installer tell me it was finished.
    But I never got any more messages from the installer.
    So, after waiting a few minutes, I ran Flex Builder. Still
    said 2.0 on the splash screen. I went to Help - Product Details and
    then clicked on Feature Details and saw that my Flex Builder 2 Core
    is 2.0.143459 and so is my Flex Builder 2 Standalone.
    However, when I try to open one of my Flex projects I get an
    error message!!! The MXML editor is not available!!!
    So I closed Flex Builder and ran the download again. Only now
    I get the message that an existing Flex Builder installation was
    not found and the installer will not run!!!
    I'm now going to try reinstalling the original software!!! I
    knew I should NOT have tried to do this on a Friday afternoon.
    Hi Phil,
    Thanks for alerting us to this problem, and I'm sorry it
    wasn't an easy update for you. We haven't seen this happen before,
    so want to gather more information if you can provide it. Can you
    post the installer logs resulting from the failed attempt, if you
    still have that folder available?
    Also, you mentioned that the installer prompted you to reboot
    in the middle of the update. That's highly unusual, and probably
    related to why it didn't go smoothly. Normally, the installer will
    only prompt for a reboot if you're trying to update a copy of Flex
    Builder that's still running, though the installer usually displays
    strong warning messages to quit the program before updating. Do you
    recall whether that was the case?
    Thanks,
    C. Agruss, Flex Builider Team

  • Error updating the process object in MSS workflow...

    Hi All,
    I copied the standard workflow 'WS18900010' and triggered the same in backend. In this the first step is to approve the form. I set the agent as WF Initiator for this step. Now I approved the form. But the workitem went into error giving the error message 'ERROR UPDATING THE PROCESS OBJECT'.
    What could be the reason for this?
    If the originator of request and approver of request is same(just for testing purpose), then may dis also result into above error?
    Please suggest.
    Guddan

    Hello,
    Please maintain this 'CL_HRASR00_POBJ_WF_EXIT' in the workflow exit for the specific task and also at the workflow header level.
    Execute the process and if still error occurs, check for HCM P&F authorization  and if it is fine, then check if the case settings are maintained correctly.
    you can find the case configuration in HCM P&F help docu.
    hope this helps.
    Best Regards
    Saujanya

  • Updating to connection object in JDeveloper

    Dear all,
    For my BC4J project, I have a connection by name CorrosionConnection. This connection is set with username=cer2265, password=cer2265,sid=cer, hostname=196.15.40.23,port=1521.
    So for so good. Application is working fine and I can happily make any transaction.
    This is my default setting. Suppose I have placed a text file as follows.
    username: cer2265
    password: cer2265
    sid: cer
    hostname: 196.15.49.23
    port: 1521
    Let us name this file as connection.txt. When ever application starts application should read this file and should update CorrosionConnection object with this information.
    Now suppose If i need to change the ip address from 196.15.49.23 to 196.15.49.22 what I need to do is the following..
    username: cer2265
    password: cer2265
    sid: cer
    hostname: 196.15.49.22
    port: 1521
    Thus a type of dynamic connection object is now created, where I can even change the username, password , sid and port.
    I don't know how to do this. Reading the file can be done by any filestream object. Updating the connection object is the problem.
    Can any one help me in this regard,
    Thanks in advance.

    If you need your connection to be dynamic because of DHCP you could use "localhost" or "127.0.0.1" for your IP address if your database server is on same machine as application server.
    Otherwise I would recomend reading BLOG from Steve:
    http://radio.weblogs.com/0118231/2004/08/11.html
    and Oracle documentation:
    http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html
    and Google :)

  • Last Access and Last Update Times for objects in Cache

    Hi,
         We are looking to implement Tangosol cache for our one of our critical J2EE systems and I am pretty new to it. One of the requirements is to know the following timings
         -Time when an object was put in a cache X (Last update of the object)
         -Time when an object was last accessed in the cache X (Last access time of an object)
         Is it possible to get these values through the Tangosol J2EE API?
         Thanks,
         ravi

    Hi Ravi,
         You can use InvocationService to access this information - an example is attached.
         Regards,
         Dimitri<br><br> <b> Attachment: </b><br>DumpCache.java <br> (*To use this attachment you will need to rename 529.bin to DumpCache.java after the download is complete.)

  • Updating a custom object type

    Please, does anybody know how to update an custom object type which is created as table.
    I did the following:
    CREATE TYPE tmp as object..
    CREATE TYPE tmp_table as TABLE of tmp;
    Is it possible to update tmp_table and if so how?
    Thanks.

    Example:
    create type address_ty as object
    (Street varchar2(50)
    ,city varchar2(25)
    ,zip number)
    create type person_ty as object
    (name varchar2(50)
    ,address address_ty)
    create table customer
    (customer_id number
    ,person person_ty)
    insert into customer (1, person_ty ('Name', address_ty ('Street Name', 'City Name', 1111)));
    insert into customer (2, person_ty ('Name 2', address_ty ('Street Name 2', 'City Name 2', 1111)));
    commit;
    update customer
    set person = person_ty ('Name 2', address_ty ('New Street Name 2', 'City Name 2', 1111))
    where customer_id = 2;
    Please, does anybody know how to update an custom object type which is created as table.
    I did the following:
    CREATE TYPE tmp as object..
    CREATE TYPE tmp_table as TABLE of tmp;
    Is it possible to update tmp_table and if so how?
    Thanks.

Maybe you are looking for

  • Loss of wifi connect after 3.1.2 upgrade

    I recently updated the software on my iphone, and now I am no longer able to connect to (or find) any wifi point. I tried a restore of the iphone software, but I am still unable to connect via wifi at all. I am able to find the network on my mbp, and

  • Latch contention in Oracle 10.2.0.4

    Hello All, There is one script which takes 8 hours to complete on one of our Oracle 10.2.0.3 databases. The TKPROF Output shows the below Wait events: Elapsed times include waiting on following events:   Event waited on                             Ti

  • Javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21

    I have collected the following code from "http://www.concentric.net/~adhawan/tutorial/" import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.naming.NameAlreadyBoundException; import javax.

  • One or Two ITunes Account?  -- Own both iPod Video & iPhone 3GS

    Hi I've just bought an iPhone 3GS (this is my first iPhone, so everything is new to me). I also own an iPhone video, which I bought a couple of years ago. My question is, do I need to set up two different iTunes accounts (i.e. a new a/c for my iPhone

  • Button Processing and url re-direction

    I am usign HTMLDb to run Oracle reports and can call reports via a submit button that uses a static substitution string to complete the URL, and this works. However I have created a plslq process to create a where clause parameter that I need to incl