case insensitive search

Dear reader,

I have a tabel books and the booktitle field in the database.

JHS I want to search the booktitle.
So it's quiet easy.
But the problem occurs when there are some capitals in the title, IE "The JHeadstart Guide for Dummies".

If the user searches for "jheadstart.
then this query is returned: books.booktitle SELECTION OF BOOKS WHERE (((books.booktitle like '% jheadstart')))
This property returns zero rows.

I set the property to TO_UPPER_BEFORE_SEARCH (btw cannot find any documentation about this feature on the internet, using google)
then this query is returned: books.booktitle SELECTION OF BOOKS WHERE (((books.booktitle like '% JHEADSTART')))
I get so close.

All what I need now is that the left site of this type is also uppercase.
so SELECT books.booktitle BOOK books WHERE (((UPPER (books.booktitle) like '% JHEADSTART')))

Who can help me with this? And maybe point me to documentation on the custom property?

Published by: MarcelM, Sep 19, 2008 01:21

This is weird. is not the default search in case-insensitive JHS? What version of JHS do you use?

Paul

Tags: Java

Similar Questions

  • How to configure the inputComboboxListOfValues case-insensitive search dialog box

    Hi all

    I use Jdev 11.1.2.3.0

    I use a inputComboboxListOfValues in a fragment of page ADF

    When I click on "search...". "I can type what I'm looking for, but here the search is case-sensitive.

    How can I configure this case-insensitive field? can someone help me please...

    Thank you

    G.Shilpa

    Hello

    View the criteria it is checkbox " Ignore Case". Just to check this box and run the application.

    For more information, refer

    http://tompeez.WordPress.com/2012/08/20/JDeveloper-ADF-afinputlistofvalues-enable-case-insensitive-search/

    Thank you

    Nitesh

  • How to: case insensitive search form

    For Jdev 11g.
    If I create a search form, using a criterion of view in the VO. I have to choose 'case insensitive search' in the display panel to change your criteria. However, if I create a search form ADF by dragging a VO (without any set of criteria from view) and by selecting the option in context menu search form ADF, I get a page JSPX with attributes of my vo and a search for and Execute button. My question is how to do this last type of search form to perform a case-insensitive search?

    Each view object in your ADF BC Impl is a congestion point method called applyViewCriteria() that is called when we apply search criteria. You can override this method to enter all the criteria to view and convert them any where you know the data are. This example converts all uppercase view criteria:

    public void applyViewCriteria(ViewCriteria vc) {
    
      if (!(vc == null || vc.size() == 0)) {
        ViewCriteriaRow criteriaRow = (ViewCriteriaRow)vc.first();
        StructureDef def = criteriaRow.getStructureDef();
        AttributeDef[] attrs = def.getAttributeDefs();
    
        boolean bFirst = true;
    
        do {
          if (vc.hasNext() && !bFirst)
            criteriaRow = (ViewCriteriaRow)vc.next();
    
          criteriaRow.setUpperColumns(true);
    
          for (int j = 0, attrCt = attrs.length; j < attrCt; j++) {
            String criteriaAttrVal = ((String)criteriaRow.getAttribute(j));
            if (criteriaAttrVal != null && !criteriaAttrVal.equals("") && !JboTypeMap.isNumericType(attrs[j].getSQLType())) {
              criteriaRow.setAttribute(j,criteriaAttrVal.toUpperCase());
            }
          }
          bFirst = false;
        } while (vc.hasNext());
      }
      super.applyViewCriteria(vc);
    }
    

    I hope this helps.

    CM.

  • Error Windows 7 case-insensitive search Tube does not

    Original title: research of the case-sensitivity of Windows 7
    I'm trying to search for specific words in a document database on the distinction uppercase / lowercase. For example: "Tube does not" this is used in several documents. I want to search: "TUBE NOT LOADING" is used only in a select few the document. How is it possible to use this feature in Windows 7?

    Hello

    Thanks for posting the request in the Microsoft community!
    I understand that you are facing the issue of the search options in the documents.
    Provide us information.

    1. don't you make changes on the computer before the show?
    2. is the question confined with documents?

    Try these suggestions and check if that helps:

    Method 1:
    Run the fix it and check.
    http://support.Microsoft.com/mats/windows_search

    Method 2:

    You can manually stop and restart the Windows Search service and check if that helps:
    a. open administrative tools by clicking the Start button, click on the Control Panel, clicking system and Maintenance, and then clicking Administrative Tools.
    b. double-click on Services. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    c. in the Services dialog box, under name, double-click Windows Search.
    d. in the Windows search properties dialogue box, click on stop, then click Start, and then click OK.

    http://Windows.Microsoft.com/en-us/Windows7/searching-in-Windows-frequently-asked-questions

    Hope this information is useful. If you need help, answer.

  • Do case-insensitive search/replace

    I use the basic find/replace script that comes with CS4

    How can I fix these sort the returned "yd³" does not like Yd³?  I want to do these search/replace case.  Bottom of case 'in' tiny 'out '.   Top of case 'IN' uppercase 'OUT '.

    "text {findWhat:"cu.yd.} ". {changeTo: "yd³"} {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeWord:false} Find out all the dashboard dashboard and replace it with an em dash.
    text {findWhat: "cu.yd"} {changeTo: 'yd³'} {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeWord:false} find all the dashboard dashboard and replace it with an em dash.
    text {findWhat: "vg3"} {changeTo: 'yd³'} {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeWord:false} find all the dashboard dashboard and replace it with an em dash.
    text {findWhat: "cu.yd"} {changeTo: 'yd³'} {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeWord:false} find all the dashboard dashboard and replace it with an em dash.

    Thank you in advance.

    Bill Bernhardt

    Publications of DOOSAN

    770-831-2249.

    Add caseSensitive:true to the list of options.

    Peter

  • Search case-insensitive for VM by name

    I found examples of code in communities, but it seems that the searches are case-sensitive.  We need help in modifying the script to make it case insensitive.

    var vms = VcPlugin.getAllVirtualMachines(null, "xpath:name='"+vmName+"'"); 
    var vmObject = null;  
    if (vms != null && vms.length >0){  
      System.log("VMs Found: " + vms.length);
        if (vms.length == 1){  
            System.log("Match found for vm named: "+vmName);  
            vmObject = vms[0];  
        }else{  
            System.log("More than one VM found with that name! "+vmName);  
            for each (vm in vms){  
                System.log("VM ID: "+vm.id);  
            }  
        }  
    }else{
      System.log("No VMs Found");
    }
    

    .

    Hi, I was about to send another question on this same method.  Here is what I use to perform a case-insensitive search:

    machines virtual var = VcPlugin.getAllVirtualMachines (null, "xpath:name [translate(.,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ') =" "+ arg_nameToMatch.toUpperCase () +"'"]");

  • How do the function of table 1 d search case-insensitive for the array of strings

    How do the function of table 1 d search case-insensitive for the array of strings

    Hi Karine,.

    convert the two (table and search for the string) to lowercase before using this feature...

  • Take the attributes advance case-insensitive in af:query research?

    Hello

    I use JDeveloper 11.1.2.4

    I have an af:query on my screen. My main VO has many attributes but the af VIewCriteria: query is empty.

    Since it is empty, then there is no fields on the af: query. I goto the advanced option and a field. Research on the attribute that I added watch case-insensitive behavior.

    Is it possible that I can do the field added by advanced search case insensitive results.

    Note: I HAVE AN EMPTINESS of the CRITERIA overview

    Thank you

    You can probably not override buildViewCriteriaClauses() in the class ViewObjectImpl, then use something like viewCriteria.setUpperColumns (true)

    Dario

  • Case-insensitive XPATH

    Hello

    I have the following XMLs stored in a column.

    < root >
    < abc > abc < / abc >
    def < def > < / def >
    < / root >

    < root >
    < ABC > < / ABC >
    def < DEF > < / DEF >
    < / root >

    Is there a way to use a search case-insensitive in my extractValue so that I don't have to write twice?

    extractValue (XML_CLOB, / root/abc)
    extractValue (XML_CLOB, / root/ABC)

    Thank you and best regards,
    A

    Hello

    You can try

     extractvalue(XML_CLOB,'/root/*[name()="abc" or name()="ABC"]) 
    

    Thought that upper-case (name () = 'ABC' should work, but it does not appear on 10.2

    HTH,

    Chris

  • Make case-insensitive oracle database

    Hi all

    I use oracle 10g EE that my front end and database backend is in c# .NET. I want to make my oracle database to perform any case comparison insensibly. I searched the net and found several ways to achieve

    1. use the upper function in procedures - cannot afford
    2. order of the function - cannot afford
    3. setting session parameters

    ALTER SESSION SET NLS_COMP = ANSI;
    ALTER SESSION SET NLS_SORT = BINARY_CI;

    The 3rd is promising and can save a lot of time. I have several question

    1 is there a way I can adjust these settings in .NET?
    2 is it possible I can set both and will do only my case insensitive database?

    any link, reference is very appreciated.

    Thank you

    You can create a unique index of the feature based on this column to avoid that these records.

    I don't see that should be case-insensitive database here.

  • Case-insensitive sort, is this possible?

    Hello everyone,

    I'm doing a request to make of case insensitive sorts, but I failed miserably. I wonder if anyone has experienced the same problem...

    In a regular session of the Oracle, all I have to do is to set the NLS_SORT as BINARY_CI and sorting is case-insensitive; However, my Apex application solemnly ignores everything I try to do in this direction.

    I first tried to create a db setting process in the session (running code PL/SQL 'immediate 'alter session... » ») ; tried to put this process within a page, in many processes points and then tried to put this process in the application itself. in both cases, if I debug the page, I see that the command is executed successfully.

    And, in fact, the first time, the report is run, and the query appears in the debugging, the works of THIS sort; However, if I try to reload the page with a F5 or change something in the search bar (number of lines per page, filter, etc.), the kind regresses to the shape of the case. It's probably getting the records not in the query, but some cache weird, because any time the sorting doesn't work anymore, debugging does not show the application running.

    Then I tried to study where is - this cache and how killing, absolutely nothing helped. Tried to create another process to clear all session state, tried to disconnect and even once tried to kill all sessions of APEX database, close the browser and remove its cache... the cache with poorly sorted records has survived all this.

    Oh and even if sometimes the sort works for the records in the report, when I click on the header of column related to the field in question, and it shows all the values in this column, that the order of these values is never affected by the session NLS_SORT setting.

    Could someone has an idea about this?

    Thank you.

    What is an interactive report? If so, see [this post | http://forums.oracle.com/forums/thread.jspa?messageID=3920123].

  • Define Oracle case insensitive?

    Hi all

    Is it possible I can do Oracle 10 g case insensitive. I tried searching and found this link, but I did not have my answer that http://www.dba-oracle.com/t_case_insensitive_indexes_searches.htm does not work.

    case insensitive

    Thank you
    Danish

    Make the changes to the system level? Trigger once the connection in?
    You should try it now.

    Nicolas.

  • Mac put in place respect for case-insensitive Volume?

    I have no idea what it is; scratch, I don't know, I don't know what to do... How to be a case-insensitive volume? Disk utility does not give me the option.

    Thank you everyone

    You can only change this reformatting your hard drive and select a non-respect of case-sensitive option.

  • Sort column - Case Insensitive but less should be the first


    Hi all

    Assume that we have EMployee table:

    create table Emp (Empname varchar2 (20));

    It has following records:

    Insert into EMP (EMPNAME) values ('A');

    Insert into EMP (EMPNAME) values ('a');

    Insert into EMP (EMPNAME) values ('b');

    Insert into EMP (EMPNAME) values ('c');

    Insert into EMP (EMPNAME) values (');

    Insert into EMP (EMPNAME) values ('e');

    Insert into EMP (EMPNAME) values ('E');

    Insert into EMP (EMPNAME) values ('F');

    That is to say

    EmpName
    A
    one
    b
    c
    D
    e
    E
    F

    I need output like below: (sort by Ascending, case insensitive, which means I don't want all the money first and then lower the letters. The results should be in alphabetical order, it shouldn't matter if its capital or small. More important is that this tiny letter should come first and then the capital letter). Is this possible?.

    EmpName
    one
    A
    b
    c
    D
    e
    E
    F

    Select * from emp by Lower (empname) CSA;

    Does not work, because 'A' comes before 'a '.

    Kind regards

    Billon

    Select empname in order by upper (empname), ascii (empname) desc emp;

    EMPNAME
    one
    A
    b
    c
    D
    e
    E
    F

    See you soon,.

    Manik.

  • Case-insensitive unique constraint

    Hi guys,.

    Is it possible to create a unique constraint that is case-insensitive

    I mean if there is a unique constraint on the name of col

    then
    'James' and 'JAMES' must not


    Kind regards

    PAPI

    Create a unique index to the basic function of...

    create unique index uk_name on emp(upper(ename));
    

Maybe you are looking for

  • Where can I download the version of Firefox 64 b for Windows 7?

    Missing at Mozilla.org is their old "Downloads" section, where the different versions of Firefox are available for their operating system. I'm looking for a browser Firefox 64 b that is compatible with Windows 64 b. operating systems is there such a

  • Download driver HP alerts updated

    I'm on Mac version 10.6.8 on a MacMini. I sign up for alerts from HP. I received an alert for my printer Officejet 6500 E710n-z. There are four drivers available for download. Two windows and two are for the Mac. I need to know this update is necessa

  • Smart albums

    Hello You can create a smart album that allows you to see all the pictures in a given month. I know that you can make one in a date range, but I want the picture taken in my library for leash knowledge January!

  • movement of jump software

    Just bought hp envy 15 x 360 touchsmart. I play the piano and put sheets of music on my laptop and found out there is no software on my laptop to turn the pages of music without actually in contact with the screen. I was wondering if it is possible t

  • Home premium window viata

    I buy don't pack widow vista home premium part No 10-52148 x Cd and part no printed in Malaysia is X 13-65749. I reboot and install window vista but can not active there. Please notify