Why Search String do not work in the ADF. ?

Hello

I created the application in the ADF with Search Options. Search operation is used for all integer values in this page, but its does not work for string values.

I don't know why its not able to search for string values.

My grain of AppModule Code:

package model.portfolio.portfolio.am;

Import model.portfolio.portfolio.am.common.PortfolioAppModuleAM;

Import model.portfolio.portfolio.view.ResourceViewChildObjImpl;

Import oracle.jbo.VariableValueManager;

Import oracle.jbo.ViewCriteria;

Import oracle.jbo.server.ApplicationModuleImpl;

Import oracle.jbo.server.ViewLinkImpl;

Import oracle.jbo.server.ViewObjectImpl;

public class portfolioappmoduleamimpl extends ApplicationModuleImpl implements {PortfolioAppModuleAM}

/**

* This is the default constructor (do not remove).

*/

public PortfolioAppModuleAMImpl() {}

}

{} public void applyVCforGlobalSearchPortfolios (String theString)

ViewObjectImpl vo = getPortfolio1();

ViewCriteria vc = vo.getViewCriteria("PortfolioVOCriteria");

System.out.println ("on criteria");

vc.resetCriteria ();

VVM VariableValueManager = vc.ensureVariableManager ();

System.out.println ("on the channel");

vvm.setVariableValue ("globalSearchString", theString);

System.out.println ("after String");

vo.applyViewCriteria (vc, true);

vo.executeQuery ();

}

* All the Getters and setter of all VO and VLs *.

}

My query created for criteria:

((UPPER (SHORTNAME) AS SUPERIOR (: globalSearchString:))) '%')) OR (UPPER (DESCRIPTION) AS SUPERIOR (: globalSearchString:)) ('%')) AND (PROGRAMMES_COUNT =: globalSearchString) OR (KK_COUNT =: globalSearchString) OR (KPI_KRA_VALUE =: globalSearchString))

Something more interesting in after creating the view criteria if I try to test this application, its gives me as error msg

"Cannot complete the request to determine the display attributes.  The query is invalid or timeout occurs.  Please review the application or manually create the display attributes.

"com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: you have an error in your syntax SQL; consult the manual for your version of the MySQL server for the right syntax to use near ': globalSearchString | '%')) GOLD (SUPERIOR (QRSLT.) DESCRIPTION) AS SUPERIOR (: globalSe' at line 1 ")

I n don't know why... Can someone help me please?

IM using Jdev 12 c

It seems that its known issues with MYSQL...

Here's the URL for that

filter table ADF

Tags: Java

Similar Questions

  • Why ERP login does not work in the same host?

    Hello
    I installed 5 OEL and Oracle ERP 12.0.4. Everything went smoothly, all services are up & running and capable of connection/working from a remote computer on the network using microsoft xp. Why don't ERP login page does not work in the same host (linux server) using Mozilla Firefox? I missed extra configuration?

    Concerning

    Hello

    You go head with the downloaded version. It will work Fine.

    Thank you
    Yakub.

    Published by: 900856 on November 27, 2012 12:58 AM

  • BlackBerry 10 why my search engine does not work with the book of Contacts?

    Yesterday, after the next upgrade, my search engine simply does not work with contacts.

    Update:
    OS version: 10.3.1.2576
    Software r: 10.3.1.1779

    When I opened my contacts, all of them are displayed, but as soon as I type a letter, the screen will just totally "empty", as I have very strange person indeed.

    Anyone?

    Thanks anyway for your help, but the final solution was to reload and upgrade the full operating system.

  • Search button does not work on the start page

    When I get home the point I want to search i.e. Griffin vulture in the search bar in the center of the home page and then click on the button Search to the right of the bar, that nothing happens

    Try to use the extension SearchReset reset preferences to default values.

    Note that the SearchReset extension runs only once and then uninstalls automatically, so it will not appear on the page "> Firefox Add-ons" (topic: addons).

    You can also check if you have the XML files including Google's default search engine in the searchplugins folder in the Firefox program folder.

    If this isn't the case, then you need to reinstall Firefox.

  • Why my adobe does not work after the switch to windows 7 Windows 10

    Why can't I get my adobe to work after the transition to Windows 7 from windows 10?

    Try to run the tool to clean up here - Download Adobe Reader and Acrobat tool - Adobe Labs

    After that, restart the computer.

    Here again, trying to install Acrobat reader X

    Let us know the results.

    Thank you!

  • Why my links do not work in the text box next to the e-mail in Outlook?

    I created an email template in Eloqua, which is a two-column layout. The text box on the left has links that work very well. The text box on the right has links that do not work. This only occurs in Outlook. If I find the email in an another e-mail client, all right. What could be wrong causing the links is not working?

    If another person has ever run into this and found a solution, please let me know. I'm pulling my hair out!

    I called support this morning and all I had to do was move the text box on the right side to the top of a few pixels and now everything works fine. I guess when the two tables are the same height, Outlook rides them and cannot process the links properly. I like it when it's an easy solution!

  • Why my keyboard does not work in the Dreamweaver bindings panel

    Dreamweaver suddenly stopped listening to my keyboard while typing in the bindings, setting up a database query Panel.

    All other panels are working properly and in other programs in OSX my Apple keyboard (which is not wireless) does the job. Even a reboot of Dreamweaver does not solve this problem...

  • My search bar does not work in the new Firefox 4.0, regardless of if I press on enter or click the magnifying glass icon

    Does not have the search bar in the top right of the screen (part of the navigation bar)

    You have this problem when running in Firefox SafeMode?
    A troubleshooting mode.

    You can open the Firefox 4.0 SafeMode pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu. Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox to open it again.

    If this is not the case, see this:

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

  • Why some tools do not work in the trial version?

    Downloaded Photoshop trial version. I use Windows 10. There are many tools that don't work - fill color, summary etc. Anyone had the same problems?

    Try a Reset of preferences. CTRL or Cmd (Mac) + k to access preferences.

  • Why "Remind Me" does not work in the public Service 16/17 on Windows XP/7?

    Hello!

    Under Windows XP or 7 (no matter what variety), I installed FP without problem and normal functionality.

    When a new version of FP is released from Adobe, I am not informed even if this option button is selected.

    in the installer and confirmed both selected in the control panel.

    I tried to use the uninstall program Adobe FP on all systems and properly re-installed with the same result.

    This problem is not only limited to the FP, but AIR and Shockwave, as well.


    BTW - have Win XP (32 bit) 3 boxes and 3 Win 7 (64 bit) - all the same questions. Different suppliers.

    Not * both * have I received a notification to update anywhere in Windows.

    I need to manually check each week, or use a utility to advise me if the version is old. It's a real pain!

    What could be the problem here?


    The browser has something to do with it?

    I mainly use IE and FF.

    TIA,

    Compumind

    Brian Tuman wrote:

    Something wrong with the action of the updater? Nothing is never listed under "Scheduled tasks.."

    It's strange; I have Adobe Flash Player Updater in my scheduled tasks (Windows XP).  I'll check tomorrow to Windows 7.

    I suggest that you do a clean install (https://forums.adobe.com/thread/928315) to see if that solves the problem.

    Brian Tuman wrote:

    Is there a better way to check when an update is available for Shockwave/Flash/Air?

    The first thing I do every morning is to check

    Other means of verification of the missing updates are

  • Why this query does not work on the CF when it works fine on MYSQL?

    Subject says it all. I can run it through console mysql and get the result that I need, but when I place it inside a cfquery that he will not treat.

    SET @saldo = 20000;
    SELECT
    IF (Co.transtipo=0,@saldo:[email protected],@saldo:=@saldo+t.transmonto),
    @saldo: = @saldo - t.transmonto.
    t.TransID,
    t.cuentaid,
    t.operacionid,
    t.fechatrans,
    t.voucher,
    t.cheque,
    t.transtitular,
    t.transmonto,
    t.transdetalle,
    t.modificado,
    Co.transtipo,
    Co.Operacion
    OF cuentastrans t
    LEFT JOIN cuentasoperacion co ON t.operacionid = co.operacionid
    WHERE the t.cuentaid = 7
    ORDER BY t.fechatrans ASC

    Fixed, coldfusion must be labeled with 'AS' of the expressions in the opposite case he used to index the column.

  • Why Search AppStore is not working?

    Take a look at this topic, it seems that they have found the solution Apps Store temporarily unavailable

  • Google search function does not work from the Google home page

    I have Google as my home page, but when I enter a topic to search I get no results - just a blank page

    Yes! This reset has restored normal search to Google. Thanks a lot for your help.

  • Why wmp 12 does not work with the video

    I had a wmp 11 on my windows 7 ultimate and it can read any video but when I switch it to wmp 12 it crash at the beginning of the film or video production

    Hello
    Welcome to the Microsoft community. Sorry for the delay in responding.
    Please run the FIXIT since this article and if it helps.

    Thank you.

  • Search Safari 9.1.1 does not work in the url field. Tabs are not securities.

    After I instaled 9.1.1 safari search option does not work since the URL field and tabs is not titles. IOS 10.11.5 macbook pro late 2011.

    Restart your Mac while holding down the SHIFT key. Secure boot is slow, so give it time to start your Mac completely and then restart normally.

Maybe you are looking for