executeQuery tent get/set a different attribute to a blob type attribute value

Hi all

I use the p9172975_R12_GENERIC patch file.

I have a customized OPS page and he is required to include a few more fields to the page, among them the paid one is to facilitate the download and upload of a file.

To achieve this upload of file, I use messagefileUpload point of style and I am able to successfully create the folder with the file that is being stored in the blob column.

When I try to update the record, it gives the error below

""oracle.jbo.domain.DataCreationException: Houston-25009: failed to create an object of type: oracle.jbo.domain.BlobDomain with value: 81".

Here the 81 value belongs to another attribute (a column of data type number). When I checked the table, attribute values are registered in their corresponding columns.

The error occurs when vo.executeQurey is called.

Could you help me with this problem?

Thank you

K. Kumar

Hi Johny,

After seeing your reply, I figured that it would be incompatible index attribute in the VORowImpl.java, but could not identify any incompatibility comes from the VORowImpl.java file.

So, I deleted the original Version and it created again, to my surprise its works very well!

Thanks for your help.

See you soon

K. Kumar

Tags: Oracle Applications

Similar Questions

  • How to display the different attribute value in the ToolTip of selectonechoice

    In the selectonechoice when hovering over the values in the drop-down list, it displays the same value in the ToolTip too. I want to see the value of another attribute in the ToolTip.

    For example if the list displays the name of the lov, ToolTip should show its description attribute value. I tried assigning a different value to shorDesc, but have no effect on the values of the ToolTip.

    selectonechoice_tooltip.jpg

    < af:selectOneChoice value = "#{row.bindings.TfesNdx.inputValue} '"

    label = "#{row." Bindings.TfesNdx.label}.

    required = "#{bindings." ATfes.hints.TfesNdx.mandatory}.

    shortDesc = "#{bindings." ATfes.hints.TfesNdx.tooltip}"/ / changed it to shortDesc =" #{row.bindings.Notes.inputValue} "does not yet "

    ID = "soc17" autoSubmit = "true" >

    < f: selectItems value = "#{row.bindings.TfesNdx.items} '"

    ID = "si17" / >

    < / af:selectOneChoice >

    PS: Using 11.1.1.7.0 version adf

    You probably need property shortDesc on af:selectItem http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_selectItem.html

    For example, you can use af:forEach to make your items to select like in this blog post: http://learnfrommike.blogspot.com/2013/11/adf-using-selectonechoice-in-afiterator.html

    Dario

  • How to get the VO groovy attribute value?

    Hello world

    I have an ItemsVO (with an entity behind it), a CompaniesVO and BusinessVO. CompaniesVO is filtered by an ExecuteWithParams and has an attribute of type with this attribute, I can filter BusinessVO used as LOV in ItemsVO. How can I pass the value using a groovy expression in the accessor to view? Can I do this?

    Thanks in advance.

    Take a look at this blog post that has a similar use case:
    http://jobinesh.blogspot.com/2011/03/initializing-bind-variables-in-query.html

    Thank you
    Nini

  • Set different attributes for different type of content or profile

    Hi all

    I use ucm10g, my client asked me if it is possible to set different attributes for different type of content or profile.

    I know that using the profile when checkin, content display information or research, content server just show me attributes belong to only one profile, but internally, several other attributes are always available for that content, it is a resource size? as the other attributes are not allowed for this business view content, is it possible to not allow other attributes for this content in this case?

    Best regards

    In short, no it's not possible.

    Basically, some ECM systems will create the tables of specific database for each content type store that content type-specific metadata.

    University Complutense of MADRID takes a simpler approach. All custom metadata are stored in the DocMeta table and the standard fields are in the table of revisions. So if you have documents that do not use some fields, you get "null in your database - I don't think it's a huge waste of resources that the DB does not really use a lot of storage in this way."

    Having in general many areas can reduce the performance of loading search page and very slightly so it is advisable to try to keep the number of fields to a manageable level.

    Hope that answers your question

    Tim

  • I get "failed to set the refresh attribute COMMIT for the materialized view" when I try to create a MV using a table and another MV

    Experts,

    I'm trying to create a YOUNG refreshable ON COMMIT MV (xyz) using a table (circuit) and quickly updateable on validation MV (abc), but get an error:

    SQL error: ORA-12054: cannot set the attribute ON COMMIT refresh for the materialized view

    12054 00000 - "cannot set the refresh attribute COMMIT for the materialized view.

    * Cause: The materialized view did not meet the requirements for update to

    moment of validation.

    * Action: Specify only valid options.

    1] MV abc
    = MV abc defined as below =.

    CREATE MATERIALIZED view abc_MV

    Immediate CONSTRUCTION

    REFRESH QUICKLY YOU COMMIT using constraints of trust

    WITH ROWID AS SELECT n.*,.

    n.ROWID noderowid

    node n

    where n.nodetype in (1610000069,1610007267);


    -Above works OK and MV connect you on table node is created successfully

    =====================================================

    [ 2] Circuit Board

    ======================================================

    CREATE MATERIALIZED VIEW LOG ON Cramer.Circuit WITH SEQUENCE, ROWID ( ) -all columns of table ofcircut parentheses

    INCLUDING THE NEW VALUES;

    -More top works OK and MV connect you on table circuit is created successfully

    ======================================================



    [3] trying to create MV xyz

    ======================================================

    CREATE MATERIALIZED VIEW LOG ON cramer.abc_MV WITH SEQUENCE, ROWID ( ) -all columns of abc_MV brackets

    INCLUDING THE NEW VALUES;

    -Above works OK and log on ABC MV MV gets created successfully

    -Problematic step below

    Xyz_MV CREATE MATERIALIZED VIEW

    IMMEDIATE CONSTRUCTION

    REFRESH QUICKLY YOU COMMIT using constraints of trust

    AS

    SELECT c., c.rowid circuit_rowid, n.rowid tr_rowid

    the circuit c, abc_mv n

    where circuit2startnode = n.nodeid

    and c.rpplanId = n.rpplanId;
    ==========================================================

    Clues on how to solve this problem and make quickly updatable ON Commit MV xyz

    Thanks in advance.

    Chanchal,

    If you can read my original post carefully you may have noticed that all these restrictions will not apply in my case.

    All,

    In any case I found the solution to my problem.

    There are a few additional restrictions for materialized views multilayer

    Additional Restrictions for master materialized views

    The following types of materialized views may not be masters of editable materialized views:

    • ROWIDmaterialized views
    • Complex materialized views
    • Read-only materialized views

    I've updated the underlying MV abc below and everything worked like a charm

    CREATE MATERIALIZED view abc_MV

    Immediate CONSTRUCTION

    REFRESH QUICKLY YOU COMMIT using constraints of trust

    IN SELECT

    n.*, n.rowid noderowid, nt.rowid nodetyperowid

    the node n, nodetype_m nt

    where n.node2nodetype = nt.nodetypeid

    and nt.nodetypeid in (1610000069,1610007267);

    Note: To ADD a join without which I was getting error below (although had primary key on the table of the node)

    SQL error: ORA-23415: materialized view log for "NODE" does not save the primary key

    23415 00000 - "view the log for materialized \"%s\".\"%s\"does not save the primary key.

    * Cause: A primary key materialized view is refreshed quickly, but the

    The materialized view log does not record the primary key information.

    * Action: Use CREATING MATERIALIZED VIEW LOG... Command to add a PRIMARY KEY to

    start recording of the primary key information in the materialized view

    Newspaper.

  • Persistent message "RGB setting is different.

    I have InDesign CS2, Japanese version (much of what I write will be translations of Japanese UI, so forgive me if it does not match the wording exactly English).

    A few weeks ago, I attended a series of specific measures required by a printing press, and now whenever I open any document, InDesign said, "this document RGB setting is different from the color setting for the application."  Curiously, however, what he says are the settings of the document and he said he would change them to match demand are identical.  And no matter whether if I chose to update the document to match the application or not and no matter how much time I save the document after this, the next time I open the document, it still gives the same complaint.

    A screenshot of the dialog is attached - I translate better than I can, but I hope that someone will be familiar with it in English anyway.  It is something like this:

    -What measures should be taken? -

    O do not fix the document

    Policy: preserve

    Profile: sRGB IEC61966 - 2.1

    Good O the document corresponding to the current setting of the color

    Policy: preserve

    Attribution of profile: sRGB IEC61966 - 2.1

    Content placed: preserve default assignment (other choices is 'Activate all profiles' and 'Disable all profiles'

    The steps, I think I took to printing management which contained the color were the following:

    1. Edit-> color setting: set best choices 'Use pre-press - Japan2' (the instructions say not explicitly)
    2. Edition-> box setting mix transparency-> CMYK document use
    3. Image-> Mode-> CMYK
    4. Make sure that all of my swatches are CMYK (I already knew that)

    I guess this problem probably has something to do with the first step, and I can't guarantee that I have not other changes not listed above.  Anyway, currently when I look at my color settings, "setting" serves 'pre-press - Japan2' and the 'Advanced Settings Mode' box is not checked.  The "Operating space" section lists the RGB setting as "Adobe RGB (1998)" and the CMYK setting as "Japan color 2001 coated.  In the section "Color management", RGB is to "Preserve the buried profile" (I have no idea what that means - the other choices are 'Off' and 'Change to operating space'), CMYK is "Preserve Number (ignore Linked profile)" and it has a symbol to lock to the left of it - when I hover over the selection, the following notes say "when the document is opened, the CMYK profile is preserved. When content CMYK is placed, by default profile will be ignored, but object by object, you can choose to replace the profile (select object-> Image color setting).  With this parameter, you can also change for re-use proofing or document by checking the CMYK profiles are different. "(Sorry, that last sentence loses me - Japanese isn't my native language).  All the boxes in the color management section are checked.  I will attach a screenshot of the dialog, too.

    I have really no idea what most of this stuff done, but rather that nature 'locked' sounds setting CMYK related to opening a document, the complaint deals with RGB, CMYK not.  I recall that a few times as well a question on the RGB setting and a question on the CMYK setting is here (two dialogs one after the other), but in these cases the CMYK, we had the same mysterious problem than the current setup and adjustment that he would change the document were the same ("Japan color 2001 coated" if I remember correctly).  I didn't get that one lately (coincidence? solved?), but every time I get one of RGB.  Any idea what's going on?

    I think the "incompatibility" is really the policy, not the profile itself. Unless you change your default settings to match the document, you may not be able to get rid of him.

    I might try this on a copy of the file and see if it works: Edit > assign profile... and choose "Discard (use of the current workspace)." Say OK, then run the command again assign profiles and this time, choose the "current workspace award." As far as I know this should affect only the ID document, unrelated content. This assumes, of course, that current workspaces are correct.

    Peter

  • Public/private getter/setter methods

    Hello.

    When you create a custom in an .as file class, I said getter/setter methods using the get/set keywords. When I do the public methods, said Flash there is no errors, but if I do one any of them private, I get the following error message:

    "A member attribute has been used correctly."

    So far I have not found an explanation to do this, is there a requirement that all the methods getter/setter be public? Does not make much sense to me, but maybe there's a reason for that (if it is indeed the case that they should be public).

    Thanks in advance.

    I think so
    getter and setter is designed for the manipulation of the Member variables private without making them directly exposed to the outside world.

    When you can access all the stuff in your private class public why you want private getters setter?

  • Can I set a different ringtone for individual reminders?

    O have a few reminders that are rarely near eachother time wise. Can I set a different ringtone for each callback, so they do not have the same tone?

    Yes you can when you set the reminder that he will tell ringtone or something like that click on it and choose what you want to

  • Table 2D-strings in the "get/set item property.

    I am porting the code of veristand 2009-2010 and I noticed that the get/set vi item property does not the same. Specifically, I can't write or read 2D strings sent as variants. When I put the 2D table in a cluster, it works fine. Does anyone have information on this?

    JY

    Hi JY,.

    This problem was reported to R & D OR as a Corrective Action Request (CAR) 287960 for further investigation. Thanks for the comments!

  • How to get/set asking for information about the step

    Hello

    I want to get the name of the step, type of step, step during the test limit, and also I want to change the limit in the test case, how can I do this?

    BR

    Bendy

    already know how to do it access to the step object, then can get/set information of it.

    PropertyObjectPtr stage;

    Step = SeqContextDisp-> AsPropertyObject()-> GetPropertyObject("Step",0);

    CString itemname = step-> GetName (); get the name of the element

  • Is it possible to get/set the cursor position in a TextArea?

    Hi all

    I went through the documentation and can't find a way to get/set the position of the cursor to a TextArea. Someone has an idea?

    Thank you

    Dong

    You want to see the property "Editor"? https://developer.BlackBerry.com/Cascades/reference/bb__cascades__textfield.HTML#editor

  • He cannot get set Windows Update to download. Receive error code 80072EFE?

    Original title: Carol

    He cannot get set Windows Update to download. Receive error code 80072EFE.

    https://support.Microsoft.com/en-AU/KB/818018/en-AU how to troubleshoot problems connecting to Windows Update or Microsoft Update

    Do not trust article on the fixit.

  • Generated by an expression values get set cached?

    Does anyone know if the generated output as an expression values get set cached for the frame as the rendered image only?

    Meaning, does make any improvement in speed to a value of the term of reference of the same frame as opposed to this calculation on each image.

    As a simplified example, I have an expression on the values of the slider with some heavy calculation that does not change over time. It improves the speed of calculation of expression to call the resulting value of a single point in time (like the time = 0), as opposed to the present appellant, which certainly recalculates on each image?

    N ° expressions are always evaluated for each image and looking for the values of another era in fact get worse since AE can evaluate the expression of the current framework and then based on the code to evaluate it again on the other images. AE simply has no way to differentiate the State of an expression unless it evaluates actually just as it does not store persistent values, does not the JIT compilation or that this is another thing that you could imagine. It is an assessment of strictly linear script, image by image and line-by-line optimization depends on structure the code and structure of the project. Of course nothing prevents you to outsource the code for the "inert" invisible layers or comps do not used anywhere, but it has other implications where your calculations depend on time or the layer order. If things get slow, you can also always convert expression to keyframes.

    Mylenium

  • How get/set the value of the DataObject object in the task of the API?

    How get/set the value of the DataObject object in the task of the API?

    Are there examples of code availible?

    Hello

    You are here: http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_worklistcust.htm

    Antonis

  • Get only one attribute value and it is customized

    Hello

    I tried to get this line to only return a name and its value. This line below returns all my custom attributes.

    Add-Member - InputObject $vm - MemberType NoteProperty-name $CustomAttribute.Name - value ($vmview. Summary.CustomValue |? {$_. ({Eq - $CustomAttribute.Key}) .value-keys


    Here's what I've been working on below:

    Add-Member - InputObject $vm - MemberType NoteProperty-name $CustomAttribute.Name - value ($vmview. Summary.CustomValue |? {$_. ({Eq - $CustomAttribute.Key}) .value-key? | {$_. Key - eq 'Test_Name'}

    This is a test called custom attribute 'Test_Name' in my lab and want only his name and return value.

    # Work # but code returns all the custom attributes

    [array] $VMs = @)

    {foreach ($cluster get-cluster)

    foreach ($vmview in (get - view - ViewType VirtualMachine - SearchRoot $cluster.id)) {}

    $vm = New-Object PsObject

    Add-Member - InputObject $vm - MemberType NoteProperty-Name VMname-value $vmview. Name

    Add-Member - InputObject $vm - MemberType NoteProperty-name-value $cluster Cluster. Name

    foreach ($CustomAttribute in $vmview. AvailableField) {}

    Add-Member - InputObject $vm - MemberType NoteProperty-name $CustomAttribute.Name - value ($vmview. Summary.CustomValue |? {$_. ({Eq - $CustomAttribute.Key}) .value-keys

    }

    $VMs += $vm

    }

    }

    $VMs | Export-Csv C:\temp\annotation-report.csv

    Try like this

    $CustomAttribute = get-CustomAttribute-name 'Test_Name '.

    [array] $VMs = @)

    {foreach ($cluster in get-cluster ITSDEV)

    foreach ($vmview in (get - view - ViewType VirtualMachine - SearchRoot $cluster.id)) {}

    $vm = New-Object PsObject

    Add-Member - InputObject $vm - MemberType NoteProperty-Name VMname-value $vmview. Name

    Add-Member - InputObject $vm - MemberType NoteProperty-name-value $cluster Cluster. Name

    Add-Member - InputObject $vm - MemberType NoteProperty-name $CustomAttribute.Name - value ($vmview. Summary.CustomValue |? {$_. ({Eq - $CustomAttribute.Key}) .value-keys

    $VMs += $vm

    }

    }

    $VMs | Export-Csv C:\temp\annotation-report.csv

Maybe you are looking for