Help for ADF data binding with MySQL BLOB type.

Hi,
I have a blob column called photo for table person in my MySQL database, with ADF, I want to bind this column with a JUImage control, but when I drag the column attribute from the data control palete as a JUImage, an error dialog appears, it says:
Control cannot be bound to that Attribute.
This control should be bound to an Attribute whose Java type is one of the following
oracle.ord.im.OrdImageDomain
oracle.jbo.domain.BlobDomain
oracle.jbo.domain.Raw
What should I do ?
Thanks.

Hi,
Are you using BC4J as the persistence layer? If you use your own persistence (e.g. a bean) then you need to make sure the datatype of the atribute is defined as one of the three mentioned in your question.
Frank

Similar Messages

  • How to handle html:multibox in jsp with ADF Data Binding

    Hi,
    I like to use html:multibox feature in my jsp with ADF Data Binding. I am able to retrieve checked values in the DataForwardAction form. However, when the page is refreshed, the checkboxes are not persistent and yet an error showing
    "JBO-25009: unable to create object type ....oracle.jbo.domain.Array" appears.
    Here is my jsp code:
    <c:forEach var="type" items="${bindings.SystemTypeView1.rangeSet}">
    <c:if test="${Row['SystemGroup'] == type['SystemGroup']}">
    <br>
    <html:multibox property="selectedSystemType">
    <c:out value="${type.SystemType}"/>
    </html:multibox>
    <c:out value="${type.TypeDesc}"/>
    </c:if>
    </c:forEach>
    Can anyone tell me how to handle html:multibox with ADF Data Binding and make the checkboxes persistent.

    Generally this can be done.
    I see a problem with your use case, which has nothing to do with jdev or java:
    How do you identify the user when he comes back to finish the form?
    For this you can't use information like session cookie or IP address because they change.
    So you have to save some information about the user which lets you identify him when he comes back. All other requirements can be implemented by ADF.
    Timo

  • F4 help for PO date field in VA01 transaction during upgrade

    Hi All,
    We are working on upgrade project 4.6c to ECC 6.
    We came across one scenario.
    F4 help for PO date field is not coming in newer version in VA01 transaction but i checked in older version it is coming F4 help for PO date(calender).
    May i know the reason regarding this.
    Any clues
    Regards
    Jai
    Edited by: Jayanth16 on Nov 12, 2009 6:14 PM
    Edited by: Jayanth16 on Nov 12, 2009 6:22 PM

    Hi,
    User did some changes in include LSDSDF05 due to that F4 help is not coming.
    So i correct that one.
    Regards
    Jai

  • Help for downloading/installing PSE13 with window 8.1?

    I get this message after intall attempts ..."Installer has detected that a machine restart may be pending. Its recommended that you quit the installer, restart your machine and try installing again,"  Lightroom, however, installed fine.

    Thank you for responding.  I got some advice from a Microsoft forum....it worked.  Thanks again.
          From: Pat Willener <[email protected]>
    To: kathryn kramar <[email protected]>
    Sent: Saturday, January 3, 2015 10:56 PM
    Subject:  help for downloading/installing PSE13 with window 8.1?
    help for downloading/installing PSE13 with window 8.1?
    created by Pat Willener in Downloading, Installing, Setting Up - View the full discussion
    pwillener wrote: What is your operating system?
    Sorry, you specified Windows 8.1 in the subject line. If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7063274#7063274 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7063274#7063274 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" 
    Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Checking whether data exists in a BLOB type database column in Forms 6i

    I am developing an application regarding inventory of a plant's spare parts. I am storing photo (.bmp) of spares in the database in a column of BLOB type. Once user punches spare's code, form displays spares data on screen using EXECUTE_QUERY. At this stage I want to check whether picture (.bmp) data was found in BLOB type database column or not. I want to take action accordingly. How to check this. If it would be a numeric column, I would have checked NULL but NULL does not work with BLOB type coloumns.
    Pl. help.
    Thanks in anticipation.

    Did you look in the database documentation? The DBMS_LOB package has the method you need: getlength().
    This was more of a database question than a Forms question, so you'd probably have more luck with these types of questions on one of the other forums, like the database or SQL forums.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Manual Data binding with ADF table?

    Hi,
    I am making a stored procedure call for fetching data from database on the click of action button. My query has a where clause in it. I am not able to bind my adf table manually with my data control. Can anyone provide me some link for binding my ADF table with data control manually? My requirement is like : - I have one table in which I am displaying data in ADF table. I want to display data in another table on click of some id in the coulmn of first table.

    You basically have two options - you can choose to use ADF Binding - and have your Java class return a collection - then you just right click the class to expose it as an ADF Data control.
    Or if you rather not use ADF Binding, then you'll need to have a managed bean that returns a collection and you can use "regular" JSF binding to bind the table to it.
    The second option is shown in the ADF Faces Components demo: http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

  • ADF data table with Add,Edit,Delete functionality

    Hi Experts,
    I have a adf page where I need to implement add,edit,delete button. The table was bind with the Webservice obj call.I need to have one single button as "Add" which should add an inline row at end of the table.When I ll double click on the row I should have the in-line edit of the row.And for delete functionality,there should be delete button on each row which should delete the correspond row.Please help me to solve my problem.Please share the code to meif u ve any.my email: [email protected]
    Thanx
    Aswini

    Can you check the below links
    http://andrejusb.blogspot.com/2010/05/crud-operations-in-oracle-adf-11g-table.html
    http://andrejusb.blogspot.com/2009/11/crud-operations-in-jdeveloperadf-11g-r1.html
    ~Abhijit

  • Search Help for custom data element

    Hi experts,
      I have a small question regarding accessing data on different clients.
      Can I have an abap program where I can make reference to data /tables in different client AAA, assuming the system (AAA) with data is logically connected to the client that has the ABAP Program ?
    thanks,
    Rajesh

    Thanks Ankur and Rich,
       I would like to clarify your responses.
       I have a custom field my material in SAP xRPM system( different client from R/3).  As per your previous replies, I understand it is possible to have search help for material in xRPM and validate the data with material in R/3. Is this correct? Do I need to maintain all the data in the xRPM ?
    thanks again,
    Rajesh

  • F4 help for PO number field with SELECT OPTIONS

    Hi all,
    I have a field (PO no) using SELECT OPTIONS on my selection screen.I need F4 help for this field.How shud i declare it?
    I have declared it as follows:
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    select-options sel_po for ZPO_LOI-zobject_id obligatory .
    SELECTION-SCREEN END OF BLOCK b1.
    ZPO_LOI is a table view with a z data element ZOBJECT_ID to which i have attached a search help which displays the required values for the PO field in the selection screen.But now the problem is i cant see the F4 icon for the field on the sel screen.
    Please help.

    Hi I have a sapmle code for this.
    *&                AT SELECTION SCREEN ON VALUE REQUEST
    *-- F4 help for IDOC numbers
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_docnum-low.
      PERFORM value_request_status USING 'S_DOCNUM-LOW'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_docnum-high.
      PERFORM value_request_status USING 'S_DOCNUM-HIGH'.
    *&      Form  value_request_status
          text
         -->fp_field  dynpro field that gets the return value
    FORM value_request_status  USING fp_field TYPE dynfnam.
      STATICS tl_values TYPE STANDARD TABLE OF tp_value.
      IF tl_values IS INITIAL.
         SELECT docnum FROM edidc UP TO 500 ROWS INTO TABLE tl_values
              WHERE credat   IN  s_credat
              AND   cretim   IN  s_cretim.
         IF sy-subrc eq 0.
            CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
             EXPORTING
              retfield        = 'DOCNUM'
              dynpprog        = syst-repid
              dynpnr          = syst-dynnr
              dynprofield     = fp_field
              value_org       = 'S'
             TABLES
              value_tab       = tl_values
             EXCEPTIONS
              parameter_error = 1
              no_values_found = 2
             OTHERS          = 3.
             IF sy-subrc IS NOT INITIAL.
               MESSAGE i999(zz) WITH 'No values found'(004).
             ENDIF.
          ENDIF.
        ENDIF.
    ENDFORM.                    " value_request_status
    Regards,
    Amit.

  • Data binding with Multiple Filter

    Hi Experts,
    I am trying to do the data binding using filters with multiple values.
    ex: I am selecting the multiple values from list dialog and those i want to pass to odata service as a filters.
    name : abc
                   pqr
    I am looping on above and pushing it to array of filters.
         jQuery.sap.require("sap.ui.model.FilterOperator");
         var FilterOperator = sap.ui.model.FilterOperator;
         var filtersTerr =  new Array();
       for(i=0;i<name.length;i++){
      filterName = new sap.ui.model.Filter("FirstName", sap.ui.model.FilterOperator.EQ, name[i]);
      filter.push(filterName );
    this..getBinding("items").filter([filter],false);
    Final filter should be something $filter=FirstName='abc' or FirstName='pqr'.
    I have already looked into below discussions but somehow came to conclusion that array cannot be use with OR/AND.
    Odata Filter with OR
    http://scn.sap.com/thread/3462246
    http://scn.sap.com/thread/3560814
    Please let me know how this needs to be written.
    Thanks,
    Rahul

    Hi Rahul
    There are many ways.
    Filter for table
    var sRlUrl = "http://<host Name>/sap/opu/odata/sap/ZTWMP" ;
    var list = new sap.ui.model.odata.ODataModel( sRlUrl, false, "username", "pswd"); 
    list.setDefaultBindingMode(sap.ui.model.BindingMode.TwoWay);
    var iv_proID  = sap.ui.getCore().getElementById('input1').getValue();
    var iv_listNo = sap.ui.getCore().getElementById('input2').getValue();
    var iv_Matnr  = sap.ui.getCore().getElementById('input3').getValue();
    var iv_Po     = sap.ui.getCore().getElementById('input4').getValue(); 
    //... Set any Filters .. if reqd'
    var oFilter = new Array();
    var iCount = 0;
    if (iv_proID) {
    oFilter[iCount] = new sap.ui.model.Filter("abc", sap.ui.model.FilterOperator.EQ, sap.ui.getCore().getElementById('input1').getValue());
    iCount++;
    if (iv_listNo){
    oFilter[iCount] = new sap.ui.model.Filter("def", sap.ui.model.FilterOperator.EQ, sap.ui.getCore().getElementById('input2').getValue());
    iCount++;
    oFilter[iCount] = new sap.ui.model.Filter("PcTotal", sap.ui.model.FilterOperator.EQ,"HEADER" );
    iCount++;
    sap.ui.getCore().getElementById('T-POhdr-DR').setModel(list);
    //... Bind Rows with oData, with filters if any
    sap.ui.getCore().getElementById('T-POhdr-DR').bindRows({
    path: '/t_entity set/',
    filters: oFilter
    2 General filter
      OData.read({ requestUri: "http://<URL>:8001/sap/opu/odata/sap/ZTMP_ABC/Item?$filter=ID eq '"+ID+"' and DESC eq '"+Desc+"'", headers: { Accept: "application/json" } }, function (data, response) {
    if (data.results[0]) {
                     sap.ui.getCore().byId("oInput2").setText(data.results[0].<odata field to assign>;

  • Help for merging data

    Hi Experts
    require your help for my one of requirements .My database is oracle 11g.table name is STG_TABLE.
    table stucture is like below
    select * from stg_tables where batch_id in('2806','2805')
    BATCH_ID     COMMITMENT_NUM     SAP_CREDITMEMO_NUM     SAP_ORDER_NUM     CREDIT_AMOUNT     SAP_CUST_NUM     RECORD_STATUS     RECORD_STATUS_MSG     HANDSHAKE_DATE
    2805     209427     81034559     30386865     34     1000035     S     Billing document successfully posted     2/13/2013 18:42
    2806     209427     85287754     40180808     60     1000035     S     Billing document successfully posted     2/13/2013 20:33
    2806     209534     85287755     40181806     60     1000037     S     Billing document successfully posted     2/13/2013 14:42
    2806     209534     85287755     40181806     90     1000037     S     Billing document successfully posted     2/13/2013 14:42here for same commitment_num column value if batch_id are different then dont have to do anything ,but if batch_id are same ,I have to merge record
    and credit_amount column value should be sum(credit_amount) and all records should be converted into one single record ..like below for above data .
    BATCH_ID     COMMITMENT_NUM     SAP_CREDITMEMO_NUM     SAP_ORDER_NUM     CREDIT_AMOUNT     SAP_CUST_NUM     RECORD_STATUS     RECORD_STATUS_MSG     HANDSHAKE_DATE     SIEBEL_PROCESS_DATE
    2805     209427     81034559     30386865     34     1000035     S     Billing document successfully posted     2/13/2013 18:42     
    2806     209427     85287754     40180808     60     1000035     S     Billing document successfully posted     2/13/2013 20:33     
    2806     209534     85287755     40181806     150     1000037     S     Billing document successfully posted     2/13/2013 14:42     Please help me on it and le me know if my requirement is not clear.
    will it be possible using merge ? ..if I think using simple cursor approce ...like take data into cursor as per below and then insert the records but when I should delete existing records then .
    CURSOR abc
          IS
             SELECT   commitment_num AS commitment_num,
                      sap_cust_num AS customer_number, batch_id AS batch_id,
                                      ----CRQ000000161235-Allow Debit-Credit both
                      -- Max(Cust_Ref_Num)           As Customer_Reference,--Commented on 30-aug-2011 madhuri,as per reqt cust-ref should be in *ctl table and invoice# should be in *adcoms table
                      COUNT (*) AS line_count,
                      --Sum(Commitment_Amount)      As Committed_Amount, -- As Per Conversation With Greg Send The Sum Of Approved Amount As Committed Amount.
                      SUM (approved_amount) AS approved_amount,
                      sales_org AS sales_org
                                     --CRQ124450 KS Canadian payments in 9AM feed
                 FROM stg_vg_credits
                WHERE TRUNC (last_update_date) <= TRUNC (SYSDATE)
                       AND siebel_process_date IS NULL and record_status='S'
                       and sales_org='2403'
                                              --CRQ000000161235-Allow Debit-Credit
             GROUP BY commitment_num, sap_cust_num, sales_org, batch_id;

    You can use MERGE to update some rows and delete others. Here's the code, then I will explain.MERGE INTO stg_tables o
    using (
      SELECT rid, rn, sum_credit_amount FROM (
        SELECT ROWID rid,
        count(*) OVER(PARTITION BY commitment_num, batch_id) cnt,
        row_number()
         over(PARTITION BY commitment_num, batch_id order by handshake_date desc) rn,
        sum(credit_amount)
         OVER(PARTITION BY commitment_num, batch_id) sum_credit_amount
        FROM stg_tables A
        WHERE batch_id IN('2806','2805')
      WHERE cnt > 1
    ) n
    ON (o.ROWID = n.rid)
    WHEN MATCHED THEN UPDATE SET credit_amount = sum_credit_amount
    delete where rn > 1;Look at the inner query in the USING clause: CNT is the number of rows having the same commitment_num and batch_id. RN numbers those rows, with 1 for the newest row. I also get the credit amount sum and the ROWID of the row.
    Now for the outer query in the USING clause: I only keep the rows with CNT > 1, because the others don't need to be merged. This is important, because you don't want to be updating rows that are already OK.
    Now the MERGE statement matches the table and my USING clause on ROWID, which can be very efficient. It updates all the rows with the new credit amount, but then it DELETEs all the rows but the most recent one.
    If you run the MERGE twice, you will see that the second time it merges "0 rows". No unnecessary updates!
    Edited by: Stew Ashton on Feb 25, 2013 9:50 AM

  • Help for a total newb with e65

    Hi All,
    Please help, I got the E65 and good posts about getting the wlan working.
    But I got the navigator app with it, and I really dont get all this GPS stuff , with it working off satellite, but charging my mobile with data chrages, software that works with recievers and phones, some symbian.
    Somebody explain it all in lamens terms please.
    Cheers

    Hi kiltedscot
    Can I use this analogy, if you buy a TomTom car navigation unit the package includes the hardware (processor + GPS receiver) and navigation software for a fixed but known cost (there is no charge for receiving data from GPS satellite system owned by the US Government)
    You have purchased the processor (E65), you need to purchase a Bluetooth GPS receiver to get positional data, the Symbian navigation software is provided free and if you download maps via your PC there is no need to incur GPRS data charges. If however you want a full talking navigation option, you do need to purchase a licence which in UK is just over £40 for 3 years.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Plugin for binary data: channels with coefficient : y = a3*x^3 + a2*x^2 + a1*x +a0

    Hello,
    I am bulding a plugin for extracting data from a binary file.
    My problem is that the scaling of the values is not defiened by a linear equation (y = a1*x + a0 where conversion is easy with Factor and Offset properties of Channel), but by a cubic equation (y = a3*x^3 + a2*x^2 + a1*x +a0) with 4 coefficients. For the moment, I performed the operation in a loop over all the values of the channel... this takes a lot of time to convert all the values!!! Is there a more efficient way for multiplying array in VBA or channels in DIADem (for Plugins!!!)...?

    Hi Ollac,
    There is no way to efficiently apply polynomial scaling in a DataPlugin.  You could create each of the polynomial component terms with an eMultiplyProcessor type ProcessedChannel in the DataPlugin, but we can't add them together with another ProcessedChannel because you can't add a ProcessedChannel to another ProcessedChannel.  If the manual cell-by-cell scaling that you've already tried is too woefully slow, then I'd suggest exposing the raw data values to channels in the Data Portal and adding the "a0", "a1", "a2", "a3" polynomial coefficients as channel properties.  Once the raw data is in DIAdem, you can use the ChnCalculate() or the older and faster FormulaCalc() command to apply the polynomial scaling in-place based on the coefficients in the channel properties.  You might want the Data Plugin to add the "_Raw" suffix to the channel names and have the scaling VBScript remove the "_Raw" suffix or replace it with a "_Scaled" suffix so you don't accidentally apply the polynomial scaling twice.
    Ask if you have questions about this,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Need help for retreiving data

    Hi All,
    what i need to do is to loop through a FM when some particular checkbox is checked for each date (it is in range format) entered through the selection screen by user.
    I would like to just create one spool with all of the statements
    now how to get this date from the selection screen with all these requirements??
    useful answers will be awarded points..
    thanks

    I have solved the problem now, it may no be the best way, quite bit complex. //thanks

  • Libraries need for ADF Data visualization

    Hi all,
    I want to ask list of libraries which needed by ADF Data visualization.
    Thanks
    Hadi Wijaya

    Hi,
    since you ask this question on the JDeveloper 10.1.3 forum, just be aware that DVT components work on JSF 1.2 only and not in JDeveloper 10.1.3
    Frank

Maybe you are looking for

  • Parallels and Windows 7

    I just recently bought a new iMac and i'm thrilled with it, but I'm going through the PC to Mac growing pains. I bought Parallels 5 and Windows 7 in order to run programs from work and also to play some games. I loaded Parallels with no problems, but

  • File to IDoc - How to proceed further?

    Hi everybody, Consider the following scenario, <Header>   <Transaction>      <Meterpoint>         <Address></Address>         <Asset>           <Meter></Meter>           <Conversion></Conversion>           <Register></Register>         </Asset>      

  • Global Address List (GAL) does not show up under group Contacts

    I am an exchange administrator for a large organization. One of our user has an issue where he cannot see the GAL on his phone. Goes to Contacts, tap Groups, no option for GAL available. I have set up the Exchange account on the phone and he can get

  • Re: credit limit has not maintained

    Dear Experts, I have a problem when i am creating sales order i gave all the inputs order type, s.ord,d.chan,div and entered later it came to create cons fill-up screen i gave sold-to-party,ship-to-party & material qty later i saved the document then

  • HP Windows will not start up HELP !!!

     I have my HP laptop (Windows Vista 32-bit) since 2 yrs ago, I used to format it myself, then once it failed to recover using Recovery Manager and Windows couldn't start... I sent it to a foolish PC repairer, he removed recovery partition, he changed