TopLink map a field which name in low case

I used Oracle ADF to modeling my database table. My table name and all filed names are in low cases. I used TopLink Create Java Objects from Tables wizard to crate Java objects from my table, and created map. In the TopLink mapping, the query keys are in low cases. But when my session bean execute the named query, the query statement from executeQuery doesn't put double quotes around the filed name and table name. The query statement like: select name from space. So it will cause error like "java.sql.SQLException: ORA-00942: table or view does not exist". The query statement should like:
select "name" from "space";
Can anyone tell me where to edit the mapping or customize code to put double quotes around field name and table name?

I'm not sure if the JDev UI has an option to output table and field names with quotes. You could use a SessionCustomizer in your TopLink sessions.xml file to iterate over the Session's descriptors and change each of their table and field names to include the " character.
In general you will make you life much easier if you just create the tables and field using normal upper case or case insensitive names.
It would be nice to have an easier way to quote all table and field names, please feel free to log this issues on EclipseLink Bugzilla.
James : http://www.eclipselink.org

Similar Messages

  • Accessing Informix tables that have their names in lower case from BW

    Can anyone please help with this?
    Has anyone done it using views?
    Thanks

    Hi Frank,
    I assume you are talking about using DB Connect functionality. If this is the case, the usual workaround is to create a view on the table and have all the fields and the view name in upper case. BI would then read the meta data from the view and be able to issue select statements.
    This restrictions is not in place if you use UDI functionality as the drivers can use mixed case.
    I hope this helps,
    Mike.

  • GRC CUP - How to change SNC Name to lower case during user creation.

    Hi All,
    We are using GRC 5.3. CUP automatically creates user in R3 but SNC p:username'@'DOMAIN.COM is in upper case.
    1. During automated user creation.
    2. How change default DOMAIN.COM to lower case "domain.com"
    Currently we have to manually change is via SU01 after user has been created.
    Thank you
    Regards,
    Jacky

    Sorry please ignore this thread. I got the wrong details. Post cancelled

  • Mapping for field which appear more than once.

    Hi experts.
    My source and target structure is:
    Field1
    Field2
    Field3
    ___Child1
    ___Child2
    ___Child3
    Field4
    Field3 may appear a few times in the source message.
    For example:
    Field1
    Field2
    Field3
    ___Child1
    ___Child2
    ___Child3
    Field3[1]
    ___Child1
    ___Child2
    ___Child3
    Field3[2]
    ___Child1
    ___Child2
    ___Child3
    Field4
    I need to pass to the target structure the "Field3" who's "Child1" is greater than 5 and  "Child2" is greater than 10 and  "Child3" is greater than 15.
    My problem is that the condition is executed only once for the first "Field3",
    and if the check returns
    "True" all the "Field3" are copied.
    if "False" is returns no one of the "Field3" is passed.
    How should i hold the context for it, in order each of the "Field3" elements passes the condition?
    Regards Max.

    hi,
    map required Field3& Child1 field with the target with the required conditions and set the context of both to  the higher level.
    Regards,
    NJ

  • Mapping same fields which appear a few times

    Hi experts.
    My source and target structure is:
    Field1
    Field2
    Field3
    ___Child1
    ___Child2
    ___Child3
    Field4
    Field3 may appear a few times in the source message.
    For example:
    Field1
    Field2
    Field3
    ___Child1
    ___Child2
    ___Child3
    Field3[1]
    ___Child1
    ___Child2
    ___Child3
    Field3[2]
    ___Child1
    ___Child2
    ___Child3
    Field4
    I need to pass to the target structure the "Field3" who's "Child1" is bigger than 5.
    My problem is that the condition is executed  only once for the first "Field3",
    and if the check returns
    "True" all the "Field3" are copied.
    if "False" is returns no one of the "Field3" is passed.
    How do I make it check each of the "Field3" elements?
    Regards Max.
    Edited by: Udi Dekel on May 12, 2010 7:58 AM

    Hi Udi,
    Please try as follows:-
    If the structure is like below -
    parent segment
    --Field1
    --Field2
    Field3    -mapping--->Targetsegment
    ___Child1
    ___Child2
    ___Child3
    --Field4
    where Targetsegment is like
    Targetsegment
    ---child1
    ---child2
    ---chilld3
    So to achieve ur requirment map the TargetSegment first as follows and then the do the mapping for child of Feild3-
    Child1---> check for value >5 -
    > cretae if (Node funtcion) ---> Targetsegment
    Where the context of the child1 should be changed to the parent segment of the Feild3.
    Try this , i hope it works.
    Regards,
    Jyoti

  • ZCM 11-TP: device names always in lower case

    Hello,
    I'm just wonder why ZCM registers all linux device names in lower case, independent if the host name on the device itself is written in upper or lower case.
    Is this how ZCM did it all the time or is there a specific reason for this ?
    Rainer

    I'll investigate and let you know.
    Jason

  • How to Convert Lower Case name to Upper Case?

    Hi Friends,
    I have a requirement in my Application.
    When User gives Student's name in Lower Case, always convert to Upper case and send it to SAP(R/3).
    How is this possible?
    Can anyone help me out in this regard,if possible please provide some sample code so that i can understand a bit clearly.
    Thanks and regards,
    Chandrashekar.

    Check for java String methods.
    http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html
    String nameString = "Name".toUpperCase();
    or
    String nameString = nameString  = wdContext().currentContext().getName().toUpperCase() ;
    Regards,
    Sridhar

  • Lower case in variable substitution

    Hi experts,
    in my scenario I have a receiver CC that put an xml file in a target server.
    The requirement is to dynamically determine target directory based on a field on mapping header.
    I have used variabile substitution to retrieve the value of the field, and with %% i have put this value on field target directory.
    The problem is: value from mapping is in capital letter, but the name of the target directory in which I have to put the file is in lower case letters, and target server is case sensitive.
    Obviously I cannot change value in mapping, but I need to put variable in variable substituion in lower letters.
    Is it possible?
    Thanks
    Fabio

    Fabio Boni wrote:
    Hi,
    > I don't want to make changes on mapping, is not possible to put lower case in variable substituion?
    > Thanks
    > Fabio
    no
    also in case you want to put small case in variable substitution why cant you use dynamic configuration and set the values to lower case?

  • Changing images and folders to lower case

    I modified my Apache software so that all the URL's in my websites default to lower case before I realized that my images would also be affected. I also modified it so that underscores are changed to dashes. Thus, an image located at images/Maps/South_America.png now gets left behind when the URL defaults to images/maps/south-america.png.
    So I have two choices - 1) Figure out a way to exempt image links from the new defaults, or 2) rename all my images and the folders that contain them.
    As I haven't yet figured out how to do the former, I need to learn how to do the latter.
    So I guess we're talking about as many as three or four operations here - change all folder names to lower case, change all images names to lower case and replace underscores in folders and images with dashes.
    Can anyone tell me how to get started? I believe there are lots of tools and software programs that accomplish at least some of these, but I'd like to find out which operations, if any, Apple can do first. Ideally, I'd like to dump my entire images folder into some program and let it change everything. (I've already made a backup of my images folders, of course.)
    Thanks.

    First of all be sure the font you're using has small letters and not just caps. If it does, then click the tiny triangle at the far left of the options bar and choose Reset Tool.

  • Batch Master Creation with lower case letters

    Hi,
    While creating batch master via msc1n, sytem automatically change lower case letters of bach ID to upper case letters.
    Can anyone please guide me, where are the settings in the system for this change?
    Regards,
    M.S.Baraneedharan

    Conversion Routine
    Conversion takes place when converting the contents of a screen field from display format to SAP-internal format and vice versa and when outputting with the ABAP statement WRITE, depending on the data type of the field.
    If standard conversion is not suitable, it can be overridden by specifying a conversion routine in the underlying domain.
    A conversion routine is identified by its five-place name and is stored as a group of two function modules. The function modules have a fixed naming convention. The following function modules are assigned to conversion routine xxxxx:
    CONVERSION_EXIT_xxxxx_INPUT
    CONVERSION_EXIT_xxxxx_OUTPUT
    The INPUT module performs the conversion from display format to internal format. The OUTPUT module performs the conversion from internal format to display format.
    If a screen field refers to a domain with a conversion routine, this conversion routine is executed automatically each time an entry is made in this screen field or when values are displayed with this screen field.
    I have to correct myself . if the entry in small letters is allowed or not is already defined in the domain of the field.
    You can see this in  SE11.
    set radio button to Domain and enter CHARG in the domain field and click display.
    in the definition tab you can see a box for Lower Case, which means that lower case entries are only allowed if this box is activated. (btw: the field for the conversion routine can be seen  above)

  • Case statement to find if 3rd character is lower case

    Hi,
    Im trying to write a query that checks if the value's 3rd character in not a capital print Y if it is print N.
    Select Name, (Case 3rd charter of Name is lower case then 'Y' else then 'N'), age from persons table;
    Results:
    John Y 50
    Mary Y 40
    TED N 30
    Any ideas?
    Thanks,
    Sean

    WITH PERSONS AS (
                     SELECT 'John' name,50 age from dual union all
                     SELECT 'Mary' name,40 age from dual union all
                     SELECT 'TED' name,30 age from dual
    SELECT  NAME,
            CASE SUBSTR(NAME,3,1) WHEN LOWER(SUBSTR(NAME,3,1)) THEN 'Y' ELSE 'N' END X,
            AGE
      FROM  PERSONS
    NAME X        AGE
    John Y         50
    Mary Y         40
    TED  N         30
    SQL> SY.

  • ORDS (2.0.7) - URL Mapping - Names need to be lower case

    Using the latest ORDS (2.0.7) - when using settings to setup multiple databases, I have noticed that the the "URL Mapping" rule will not be picked up if the "Name" of the connection is not all lower case.
    The "Routing Rule" can be mixed case, but the "Name" of the rule can not.
    I found this to be an odd behavior.
    Has anyone else come across this?
    -- Tim St.

    Using the latest ORDS (2.0.7) - when using settings to setup multiple databases, I have noticed that the the "URL Mapping" rule will not be picked up if the "Name" of the connection is not all lower case.
    The "Routing Rule" can be mixed case, but the "Name" of the rule can not.
    I found this to be an odd behavior.
    Has anyone else come across this?
    -- Tim St.

  • Mapping authorization field IDs to field names (description)

    Hello Folks,
    I am trying to map the authorization field (technical ) names to field descriptions (long names)
    Backgroud: I do not have enough input from the functional team yet on restrictions at data level. I have pulled out a list of orgfield values from USORG. Now i am trying to map the other authorization fields to their descriptions.
    Table AUTHX only maps the field to the data element and while table DD04V lists the long field names for a given data element, i need to drill down before i get the description and thats for each fieldname / data element.
    Question: Is going through SU20 for each object the best way to map the field description or is there a better way to map the auth field IDs to their description. And i mean for multiple input as there are scores of auth fields...
    Regards,
    Prashant

    Thanks Jurjen, that helped a lot.
    I downloaded the authorizations into an excel tough, (did not use uncoverted format).
    Solution in Excel: Since there are a lot of blank cell values
    -- name the columns clearly
    create a pivot table
    In the pivot select only the field technical name and field description columns
    For some reason when the other columns are selected, everything is going blank for values
    I am sure others are better with Excel than i am
    Regards,
    Prashant

  • Which is preferred, sid name in lower or upper caps?

    Hello,
    Which is better, the sid name in lower or upper case? When I created a database with sid name in UPPER case, my file_name in dba_data_files is something like this, /u01/oradata/TESTDB/users01.dbf.
    So base on your experience, should the sid name be in lower or upper case? Thank you in advance.

    I've habituated to upper case, even though as a unix bigot I tend to do things in lower case. Don't forget dbname and service names in their various places too, obscure bugs in various places have popped up with those over the years.
    See Bug 9438890 - DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL does not work for AUDIT_TRAIL=OS with uppercase ORACLE_SID for a recent silly example. Someone somewhere must have been slapping their forehead over that one.

  • Date is not getting populated soon after a change in a field which has LOV.

    Hi friends,
    I have a requirement in my form......
    I have a two fields, in my form......
    One field which has a LOV's list---------------> the name of the field is "PRIORITY" and it has following LOV's
    *) LOW *) MEDIUM *) HIGH..
    Second field is of date field-----------------> the name of the field is "DUEDATE"....
    I needed is that soon after i select anyone of values from the list in "PRIORITY" column for example assume it has "LOW"...
    The due date column should automatically populate the date, accordingly that is setted for LOW..
    The same is in case of "MEDIUM" and "HIGH"....
    How it is possible to populate the date accordingly soon after i picked one of the LOV's from the priority column...
    Whether i need to set any dynamic actions for the due date column...or else....if so means......
    guide me friends..in stepwise manner......whether to write any query in back end....
    i also tried with query it didnt worked.......
    regards,
    Harry......

    Hi,
    If i gave the query that i mentioned above post, in my sql statement, the dynamic action is working but not fetching the correct date for the selected priority..
    what is the answer that im getting is
    When i select priority as low means
    what is populating in my due date field is not the date im expecting........
    it is giving some thing in the due date field like the below i mentioned.......
    " ,,11/10/10 0:0:0,11/10/10 0:0:0,,,,,,,,,,11/24/10 0:0:0,11/24/10 0:0:0,,,,,,,,,,,11/04/10 0:0:0,,,,,,,11/24/10 0:0:0,,,,,,,,,,,,,,,,,,,11/18/10 0:0:0,,,,,,11/24/10 0:0:0,,,11/24/10 0:0:0,11/24/10 0:0:0,,,,11/27/10 0:0:0,11/26/10 0:0:0,,,,,,,11/05/10 0:0:0,,,,11/24/10 0:0:0,11/24/10 0:0:0,,,,,,,,,,,11/19/10 0:0:0,11/05/10 0:0:0,11/24/10 0:0:0"
    i dont know why it is returning like this......please help me........
    Regards,]
    Harry......

Maybe you are looking for

  • CUCM 7.1.5 to 9.1.2 Upgrade issue

    Hello all, I am running into an issue where I receive the error "No valid upgrade options were found" when I attempt to initiate an in-place direct upgrade from CUCM version 7.1.5.3000-1 to version 9.1.2.1000-28 using SFTP. I have verified I am using

  • Documents number is cleared automatically with clearing doc. ALE-extern

    Hi Mr./Mis. I'm  from China, I found that when I posted one invoice and planned to clear it manually, but I failed to do this due to it was cleared automatically with clearing doc. ALE-extern, could you advise the reason and the solution, thank you i

  • Dual boot with WinXp and Arch-Solved

    Hi friends, I was using windows boot loader to boot into arch instead of grub. I used this: dd if=/dev/hda7 of=arch.lnx bs=512 count=1 to get the first 512 bytes of the partition in which I installed arch and then added a line directing towards arch.

  • Deleted AAD not really gone

    Hi all, I have a probleem after deleting my active directory from the azure portal. I'm trying to create a new active directory for over more than 72 hours, but I'm getting the message that the domain name [domain].onmicrosoft.com is already in use.

  • Code to sort un-common elements in arrays

    the code which i made so far class ArraySetExample      public static void main (String [] args)           String rainbow [] = {"red","orange","yellow","green","blue","indigo","violet"};           String flag [] = {"red","white","blue"};           //