How to force the object mixed case names in REST GET SQL service

Hello

Version of ADR: 3.0.1.177.18.02

Apex version: 5.0.1.00.06

DB version: 12.1.0.2

GlassFish 4.1 Community Edition

I am creating a web service using the method = GET and source type = query using names of objects with different cases.  The web service is forcing my lowercase object names.

I know I can set the web service by changing the type of PL/SQL source to hand and create manually using htp.prn, mixed case works when I do this.

But it is a huge SQL except for the forced lowercase, such works as required.

Example of

Create a simple web service test, type GET, type source query.

select sysdate as "currentDate" from dual

The result will be

{"currentdate": "2015-11 - 23 T 12: 44:25Z '}

and not the expected

{"currentDate": "2015-11 - 23 T 12: 44:25Z '}

Is there a way to tell the engine to keep the case and do not force lowercase?  apex_json is case-sensitive, which makes this weird behavior.

declare
   json   varchar2 (32767) := '{"firstName":"Olafur Tryggvason"}';
begin
   apex_json.parse (json);
   dbms_output.put_line ('Mixed case: ' || apex_json.GET_VARCHAR2 ('firstName'));
   dbms_output.put_line ('Lowercase: ' || apex_json.GET_VARCHAR2 ('firstname'));
end;

Will display:

Executed PL/SQL block

Mixed case: Olafur Tryggvason

Tiny:

Concerning

Olafur,

Post edited by: Olafur T Added version information

Just got a response from an SR that I created.  camelCase is not supported.  Workaround is creating it in pl/sql.

Tags: Database

Similar Questions

  • I know how to force the Spotlight for re - index a drive or a folder. But how then do I mail?

    I know how to force the Spotlight for re - index a drive or a folder.

    But how then do I mail? I drag this file to the window?

    Thank you.

    Try re-indexing of mailboxes mailbox. This can take some time if you have a lot of mail.

    Reindex messages           For El Capitan, try looking in V3.

    Reindex messages (2)        See post by Linc Davis

  • How to force the old games in a window instead of full screen__

    How to force the old games in a window instead of full screen
    to lighten my load of vid card and switch between windows without minimize
    This is for vista

    Some games have a function of window mode and others are not.

    as:

    If you put at the end of the section 'target' shortcut in the Sims 2, the command w as follows:

    | "X:\programs\games\sims 2\bin\Sims2.exe" w |

    The Sims 2 will run in windowed mode those that run you it!

    but not all games have the option!

    then go to Google and look for some info there ;)

  • How to rename the temporary tablespace group name

    How to rename the temporary tablespace group name?  I have to remove all the temporary tablespace under the Group and then re-create the temporary tablespace again.

    EBS r12.1.1

    Database 11.0.1.7

    Please see any id doc.

    concerning

    pritesh Rodriguez

    Thanks for your update. I have solved my problem by creating a new group and add temporary tablespace to new goup.

    concerning

    pritesh Rodriguez

  • How to create the object rectangular box with a pure action script.

    How to create the object rectangular box with a pure action script?

    I think, it can be done through the clip library, but I'm not sure. Please, I want to take the suggestion to create a rectangular box as a script through

    Take a new file and write about the first image the code below, it works fine:

    var rect = new Shape();
    rect.graphics.beginFill (0xFF0000);
    rect.graphics.drawRect (0, 0, 100,50);
    rect.graphics.endFill ();

    var MC = new MovieClip();
    mc.addChild (rect);
    addChild (mc);

    If this doesn't solve your problem then paste the error you get

  • How to activate the screen of welcome and fast user switch client services for netware

    How to activate the screen of welcome and fast user switch client Services for NetWare...

    How to restore and step to uninstall client services for netware

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the public on the TechNet site. Please post your question in the below link: http://social.technet.microsoft.com/Forums/en-US/winserverPN

  • How to query the object module for the interface of the module interface specific, I need

    Hello.

    Currently using LabVIEW TestStand/2012 2012.

    I am looking to change the sequence of LabVIEW text translator, and in the CreateStep.vi I am trying to create a step of type WIS_Sequence_Call (a customized version of NI_Types.ini--> SequenceCall).

    I need set the file path, name and step sequence parameter values.  I think I need to access the SequenceCallModule class to do this.

    This will help the States of SequenceCallModule in the description of the file: "To access the properties and methods of a specific module class, ask the object Module for the specific module interface interface, you want to acquire".

    What, exactly, is "request" here?  It looks to "Clarify" might be what I'm after, but I want that result programmatically, IE no dialog box.

    See my excerpt below.

    Thank you.

    Use the connectivity-> ActiveX--> consider Variant. Define the type of SequenceCallModule, giving the interface as input Module. You must close the interfaces of the Module and the SequenceCallModule when you are finished with them.

    What he does is to call QueryInterface on the entry. The COM Module object implements the interfaces of the Module and the SequenceCallModule in this case to use.

    Hope this helps,

    -Doug

  • How to recover the object dropped 1 hour ago

    Hi all

    11.2.0.4

    Rhel6.5

    The developer used GUI by accessing the database and informed me that she accidentally dropped and object.

    She didn't know if it was a table or view, or synonym. But she was sure, that she dropped something

    How can I check which object she dropped.

    Thank you very much

    JC

    Hello

    In your case you don't have your trash or flashback on you can't get back the object fell.

    You need to perform a recovery of logical or physical, according to the backup strategy that you have at home.

    Here in your case because users do not know the object abandoned by them then you will need to make a point in time recovery.

    RMAN > run

    {

    allocate channel dev1 type disk;

    until ' to_date ('2015 - 11 - 11:00:00:00 ',' yyyy-mm - dd:hh24:mi:ss');

    restore the database;

    recover the database; }

    here talk about the time when the object was dropped. There will be a loss of data in this case, but again this depends on the criticality of the fall of the user.

    Or you can create an alternative scheme in the test environment by using the logical backup and compare the user_objects objects and their creation on the environment where it was abandoned.

    Ajay

  • How to create the ADC for first name

    Hello

    I have the situation here, I need display the default in the e-mail (Dear) when the value in the first name field is less than 2 characters long or it is empty. Otherwise, I need to insert the value of the field name (Dear John).

    Please let me know how to create an ADC for this.

    Thank you

    Rama

    Use wildcards for searching.

    ? = any 1 character

    * = 0 or any number of characters

    In order to find people with more than 2 characters in this area?: *

    Then, build your default rule to merge the content in case they encounter more rule of character 2.

  • How to read the objects and collections dynamically?

    Hello
    I want to read database/collection objects dynamically. Please advice!
    Here is an example

    Create the user as an object type (name varchar2 (100), number (3)) of the age
    /

    create a family of fonts as a user table
    /

    I want to do something like this

    DECLARE
    user of the var;
    BEGIN
    ...
    ...
    SELECT "family (1)" INTO var FROM DUAL;
    ...
    ...
    END;
    /

    Thank you

    As I suggested, you can define your own method of "diff" for the object. You haven't told us exactly what form you would like to work to take. I'll define a (pretty useless) function which will just create a string that tells you how to modify the data of an object to match the data in another. Obviously, you would like a more useful output. Potentially, rather than a member function, you can choose a procedure Member who emits DML is required for the underlying table is necessary.

    SQL> ed
    Wrote file afiedt.buf
    
      1  CREATE OR REPLACE TYPE location_typ AS
      2  OBJECT
      3  (
      4    building_no NUMBER,
      5    city        VARCHAR2(40),
      6    MEMBER FUNCTION diff(
      7                l location_typ)
      8    RETURN VARCHAR2
      9  )
     10* ;
    SQL> /
    
    Type created.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  CREATE OR REPLACE TYPE BODY location_typ
      2  AS
      3    MEMBER FUNCTION diff(
      4      l location_typ)
      5    RETURN VARCHAR2
      6    IS
      7      l_diff_str varchar2(4000);
      8    BEGIN
      9      IF building_no != l.building_no THEN
     10        l_diff_str := 'Building_no needs to change from ' || building_no ||
     11                         ' to ' || l.building_no;
     12      END IF;
     13      IF city != l.city THEN
     14        l_diff_str := l_diff_str ||
     15                        'City needs to change from ' || city ||
     16                          ' to ' || l.city;
     17      END IF;
     18      RETURN l_diff_str;
     19    END;
     20* END;
     21  /
    
    Type body created.
    
    SQL> DECLARE
      2    loc location_typ;
      3    secloc location_typ;
      4    a NUMBER;
      5  BEGIN
      6    loc    :=NEW location_typ(300, 'San Francisco');
      7    secloc :=NEW location_typ(200, 'Redwood Shores');
      8    dbms_output.put_line( loc.diff( secloc ) );
      9  END;
     10  /
    Building_no needs to change from 300 to 200City needs to change from San
    Francisco to Redwood Shores
    
    PL/SQL procedure successfully completed.
    

    Justin

    Published by: Justin Cave on 9 April 2012 14:12

  • How to force the screen sharing to use Ethernet 2 port?

    Hello

    I have 3 MacPros connected in my studio. MP1 is the master and I use screen apart to see MP2 and MP3. Now, I bought a very quick switch to connect these 3 between them via the Ethernet Port 2 MP1 and at the same time have the MP1 connected to the internet and printers, servers and so on with 1 Port Ethernet. But this is not possible, because the screen sharing will prefer to use the port where the internet/router is connected.

    When ONLY Ethernet Port 2 is active, screen sharing using this port and it works perfectly, but when turn on again once, 1 Port Ethernet 2 remote Mac loses connection.

    Is there a way to force the screen sharing to use Port Ethernet 2?

    It would be useful:

    NC-port-number-on-Mac-OS-x http://superuser.com/questions/148095/How-to-change-the-default-Screen-Sharing-v

  • Satellite C55 - how to force the games to use gforce GPU?

    Hello

    It seems that I have 2 graphics cards on my Satellite C55: a 4000 Intel and a gforce 740 m. I tried to force the games to use the gforce on Panel nvidia configuration, but in the games settings (for example in the Hardware tab of flight simulator 2004), shows only the Intel.

    No idea how to resolve this?

    Thank you

    > it seems that I have 2 graphics cards on my Satellite C55: a 4000 Intel and a gforce 740 m.

    The Intel GPU is part of the Intel
    The nVidia GeForce is the external graphics card and it can be used for the application of strong performance as games

    Check these youtube videos how to do this:
    https://www.YouTube.com/watch?v=WVBEPhE_Osg
    https://www.YouTube.com/watch?v=Zh4HCadTY_A

    You can assign any application to use the dedicated made Intel or nVidia GPU card.
    This can be done in the nvidia Control Panel.

    1. click on start and then Control Panel. Select Classic view in the left side of the window.
    2. double-click on the NVIDIA Control Panel.
    3. click view, and then add the "Run with graphic processor" Option to the context Menu. Close the NVIDIA Control Panel.
    4. right click on the title of the application and select run with GPU. Then, click on NVIDIA processor high performance.

  • How to force the Win7 to see the printer wireless

    I installed the software for my HP6310 printer on my laptop Presario CQ56 but he did not see my printer wireless networking so she set up a second printer connected. How can I force the HP Solution Center to use a wireless please. O/s is win7 SP2.

    Thank you

    Teriel9

    teriel9 wrote:

    I installed the software for my HP6310 printer on my laptop Presario CQ56 but he did not see my printer wireless networking so she set up a second printer connected. How can I force the HP Solution Center to use a wireless please. O/s is win7 SP2.

    Thank you

    Teriel9

    I don't see 802.11 a/b/g/n wireless as a capacity of connectivity for each model (6310 and 6310xi) of your printer. It is most likely the reason why your laptop is not 'see' it.

    There is a bluetooth wireless connectivity. It's a different way of connection that allows only printing capacity.

    You give more than the number of series in your laptop so I have no idea if bluetooth wireless is installed as a standard option. If it is not installed, you must buy a bluetooth dongle to wWalMart and set it up to use that feature.

    Best regards
    ERICO

  • How to analyze the object in the soap response in Blackberry

    I am new to blackberry develipment.i developed using Momentics IDE. Now, I'm working on the integration of Soap Web service. Now my webservice function call works. I answer also. My webservice response, it's like

    http://shidhints.com/">booleanstringstringint    string    string
    

    While parese the answer, now I can analyze and get the token, NumberofReferral but I can't analyze the ListEmails object. How do I analyze this ListEmails, me, pleasehelp

    const QtSoapMessage& response = m_soap.getResponse();const QtSoapType& responseValue = response.returnValue();
    
    m_Token = responseValue["Token"].value().toString();
    m_NumberofReferral = responseValue["NumberofReferral"].value().toString();
    

    use QtSoapArray for that.

    I think this could work:
    QtSoapArray & email = (QtSoapArray &) responseValue ["ListEmails"];
    work with count() and iterate over the table to retrieve the values.

  • How to test the object lost focus?

    How that test an object lost focus?

    Van you listen to the accent of the event

Maybe you are looking for

  • Hulu App broken

    For the last two or three days (likely since I upgraded Apple TV to the latest version of the software) my Hulu application has refused to connect.  I run the app and it immediately displays "error: Sorry, Hulu has encountered a network error."  Plea

  • How to remove "My movie" screen iMovie

    Have created a movie in iMovie for the first time. On the first stage, there are 'My Movie', written on the lower left corner of the image. How can I remove this? Using iMovie version 10.0.6, with Yosemite. Thank you!

  • Open the link in a new tab next to the original tab?

    I noticed since the update to FF12 that now when I click to get "Open link in a new tab", the new tab opens on the far right of my tabs, rather than next to the tab, I clicked, as he did in FF3.6. Is it possible to operate the old way? Thank youEllen

  • Operation failed without status of eligible adapter when I typed ipconfig/renew

    original title: Windows Vista n I typed ipconfig/renew message operation does not have any State eligible adapter Vista windows n I typed ipconfig/renew message operation does not have any State eligible adapter

  • How can I remove topic of file Type in Windows Explorer?

    How can I get the title of 'Type' of the track without having to move out of the site whenever I have access to a folder?  I can see the file simply type by looking at the extension of file and/or icon, in order to have a column dedicated to tell us