Bug? HTMLDB changing formats when no_translate setting!

This question relates to version 1.6.1.00.02
I have my database,apache and DAD set to NLS_DATE_FORMAT='MM/DD/YYYY'
for the DAD, It is done this way...
dad calls this procedure for each connect (via "PlsqlBeforeProcedure" in dads.conf):
PROCEDURE set_dad_nls IS
BEGIN
DBMS_SESSION.SET_NLS('NLS_DATE_FORMAT','"MM/DD/YYYY"');
END;
It works and is verified if I call a procedure outside of htmldb via the URL method that just does
begin
htp.p(sysdate);
end;
it prints it in the MM/DD/YYYY format
however inside HTMLDB, the same print: htp.p(sysdate); in a pl/sql area prints in the DD-MON-YY format.
If I change my application attribute called:
"Application Language Derived From"
from "NO_NLS APPLICATION NOT TRANSLATED" to "USE_APPLICATION_PRIMARY_LAUNGAGUE"
Then I get the date inside HTMLDB returned in the MM/DD/YYYY format
However, the first setting is telling it to "not translate" yet evidently HTLMDB is translating.
What gives? Is this a bug or a misunderstanding.
I read this and still could not understand:
http://www.oracle.com/technology/products/database/htmldb/howtos/howto_handle_dates.html
In addition to the bug question (my primary question), my goal is for everything to default to MM/DD/YYYY. I have many apps, can I set MM/DD/YYYY in one place for all of HTMLDB apps (including PL/SQL areas)...or is some other method I am not following an option.

Meyer,
This is not a bug.
By default, modplsql pools database connections. Every page view in HTML DB uses one of these connections, does its stuff, and then the connection is returned to the pool.
HTML DB sets the NLS settings (language and territory) for every page view and submission. If it did not, then your page view would "inherit" the NLS settings from some other user's previous page view.
If your Application Language Derived From is set to "No NLS (Application not translated)", that means that HTML DB will do no processing to derive your application langauge and territory settings. But this doesn't remove the fact that you could still inherit some other user's NLS settings, so we must reset it to something. That "something" is the NLS language and territory of the database.
The language setting of HTML DB determines how the NLS_LANGUAGE and NLS_TERRITORY will be set for a particular page view. But for all page views in HTML DB, NLS_LANGUAGE and NLS_TERRITORY must be explicitly set to something.
For evidence of the previous bug in HTML DB where we did not properly reset these NLS settings, check out the first few comments at:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:7913917986287
So you have at least four choices:
1) Change the database settings. Via SQL*Plus, you can issue "show parameters nls" to see everything you can set.
or
2) In HTML DB, set your application primary language to some language which has territory settings corresponding to NLS_DATE_FORMAT of MM/DD/YYYY.
or
3) Add an application level before header process which performs your DBMS_SESSION.SET_NLS procedure
or
4) Add an application level substitution string, let's say called DATE_FORMAT with a value of MM/DD/YYYY, then any place you display dates (in reports, as items), set the format mask to &DATE_FORMAT. (including the trailing period).
Hope this helps.
Joel

Similar Messages

  • How do you transfer files from mac to word pc for school?  Paper keeps changing format when professor opens it on PC

    I have Word 2011 on Mac 10.6.8.  I write my papers and save them as .docx  I submit them to my school online but every time My professor opens them he says the margins are set wrong.  He said to save them as a Word-Pc format.  How do I do this? Do I save it as RTF or as PDF?  He has to be able to make comments on the paper after along the right side.  I can not ask him to download anything t make it easier for me. I should be the one doing it correctly. I just do not know how.  Can you please tell me how I should be saving my papers so that they do not change format when he opens them on his PC?
    And I do recheck and open and repen my paper to check and recheck my margins before I submit it and all is fine on my end.
    Thanks for your help.

    nnigel, Welcome to the discussion area!
    I've been reading thru the discussions and yet to find a clear answer on how to transfer files from my external HD to time capsule.
    If it is directly connected to your Mac via USB or FireWire, Time Machine will include it in the backup.
    ...but is it difficult to point the library to the music file on the Time Capsule?
    iTunes for Windows: Moving your iTunes Music folder

  • Ability to change format when transferring to pla

    Has the ability to change the format of files as they are transferred to the player been requested?
    I transfer a large number of audio books to my player. I'd like to keep the original ripped files on my PC in a high quality format, but convert them to a much smaller format when transferring.

    Swiftie wrote: So, the fact that NOTMAD does this (I used it for a while but was happier with MediaSource) raises a glimmer of hope that the feature may appear in a future version of MediaSource?
    Not specifically, but it could happen.
    Is there a good place for making such suggestions? I have a few suggestions, mostly about keyboard navigation.
    There's no specific place, but I have a public wishlist page here. Other than that, email your suggestion to support, but unless there's a huge number of people wanting it it's unlikely it will be changed specifically for that reason.

  • How to change format when wrong export

    I think i have first given the wrong edit format-setting by importing clips in th timeline. It looked nomal so i did't notice that.
    I imported a DV 16:9 movie.
    After export the summery gave 768 x 576. That looks normal to me. (DV)
    but in de inspector: 982 x 540 NTSC!
    I don't understand that; NTSC and not PAL (in wich i always work, Europe) and the other figures.
    The mean question now is:
    how and were to change settings in fcpX that the export to .mov is 16:9 and PAL version?Or: w(I can't find nothing to do so.)
    What other can i do (exept editting it all over again...)
    Thanks!
    bruce

    Thanks! I chose file/ project properties and than something happend but i could nothing change to it. But after a while: in the inspector indeed: PAL and 720 x 576 DV.
    Then by share/export: 768 x 576.
    I hope it will be o.k. now, it is making a .mov file now.
    But how can this change has happened because i did 'nt. And why do you not see that in time?
    Any idea?
    Thanks!
    bruce

  • Date Dimension changes format when in dashboard prompt

    Hi
    I have created a report in OBIEE 10g wherein a dimension is DATE. It displays as MM-DD-YYYY. I also created a dashboard prompt using this dimension.
    However, when I select a value from the prompt in the dashboard, it says that:
    "A date value was expected (received "2007-01-05 00:00:00")"
    I hope you can help me with this problem.

    Hi,
    In the physical layer, go to the properties of the field(Your Date dimension column) and change it's type from Timestamp into Date. Hope this will solve your issue.
    Thanks,
    Balaa...

  • Why are my files changing format when I log out?

    help

    Hi merenoff,
    Where are you seeing this odd behavior? Are you using ExportPDF to convert PDF to Word format? When you convert a file, your original is maintained (wherever it was when you converted it). But the converted file is uploaded to your online account at https://cloud.acrobat.com/files. So, if you're converting files you should have both the original on your computer, and the converted file in your online account.
    Please let us know if that isn't the case.
    Best,
    Sara

  • Completed QT movie changes format when imported into iDVD and DVD Studio

    I made a few movies and I simply want them on a DVD. I convert them into QT movies and everything looks great. I filmed both movie using my Canon Vixia M30 in 60i and maximum quality. When I move the files into iDVD, it squishes the actual movie into 4:3 even though the original QT movie is 16:9 and iDVD is set up for 16:9 and the quality is horrible. I check the "Project Info" and my 3.1GB file has shrunk down to a 376MB file. I tried to put the file into DVD Studio and the same thing happened.This has happened with the last two movies I made. I'm really getting frustrated. What am I doing wrong? Help!!

    A DVD uses the highly compressed MPEG2 codec. So it is impossible to have it look exactly the same.
    Nothing you can do about that, the DVD video specification is strictly set out.
    First of all, export from FCP. Self contained with Current Settings (same as the Timeline).
    Bring that file into Compressor and apply one of the time based DVD presets that the running time of your video fits into -for example: *DVD 90 mins Best Quality 16:9*. Import the resulting MPEG2 and AC3 files into DVD Studio Pro. You must also tell DVD SP that your film is 16:9.

  • Can you control format when setting variable from dashboard prompt?

    I'm setting a session variable from a calendar date prompt in a dashboard prompt, and the variable is referenced in a calculation in the business model. I'm initializing the date prompt from another variable which returns format TIMESTAMP 'YYYY-MM-DD 00:00:00', and the initial load of the dashboard is successful. After changing the value of the date prompt, the query fails because the prompt sets the variable to 'mm/dd/yyyy'.
    My question is: Is there any way to control the formatting when setting a variable from a dashboard prompt? I would like to get the timestamp format.
    Thanks,
    Greg

    If You wants time than in dashboard prompt's coloumn formula use cast function as "cast(date as time)" if date than "cast(date_col_name as date)". But I also have that one problem.Firstly tell me, Is it possible that using two dates in using betwwen operator in dashboard. We access server variable. If not working one thing more that u should have filter on date coloumn in report layout.And in action coloumn u select prompted. Than It will must work.
    Thanks
    Haroon

  • Why is it that it would take a very long time [if ever] to change or adjust the tempo of a loop in the audio track when i set it to adjust regions to locators? Until now the spinning wheel of death is still very much spinning. thanks for any help.   Is th

    Why is it that it would take a very long time [if ever] to change or adjust the tempo of a loop in the audio track when i set it to adjust regions to locators? Until now the spinning wheel of death is still very much spinning. thanks for any help.
    Is there another way to adjust tempo of loops the faster way, any other technique?

    No clue why the final processes have suddenly started to take so long. Two things I'd try: a) capture from an older tape to see if some problem with the new tape is at fault.  And b) check the health of your RAM and the hard drive.
    The red frame sounds a bit like a glitch we used to have in OnLocation (actually in its predecessor HDV Rack) which was caused by a partial GOP. But that was a product of HDV Rack recording from the live video stream. It turned out that HDV cameras intentionally interrupt the data stream for an instant upon starting to record--specifically to avoid recording a partial GOP to tape. So my gut says that the tape has partial GOPs at the points where you stopped/started recording.

  • How do I change the name I have called my MacBook Air so I can add 11" and 13" into the title of whose computer this is for more clarity when I set up Time Machine and save to it with both computers?  Both are named with "my name and MacBook Air"

    I'm still learning the whole Mac thing but these are great machines!  I purchased a MacBook Air 13" and then thought I should also get a MacBook Air 11" for travel.  When I set it up at the Apple store I told the assistant the exact same name for each machine, i.e., "my name and MacBook Air."  What I want to do is go back in and rename both of them adding the 11" and 13" designation to the name so that when I set up Time Machine or whatever else I know exactly which machine is what.  I'm sure it is very simple but I cannot seem to figure it out.  Help please. Thanks.

    Go to System Preferences - Sharing and change the computer name there. You can also, optionally, change the name of your hard drive to further clarify the origin of your backups. Click once on the "Macintosh HD" on your desktop, then click its name to allow you to edit it.
    Matt

  • I no longer have access to the back up email address I used when I set up my apple ID. I have since forgotten the answers to my security questions and am having a problem making changes to my account. What can I do?

    I no longer have access to the back up email address I used when I set up my apple ID. I have since forgotten the answers to my security questions and am having a problem making changes to my account. What can I do?

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (114957)

  • HT204053 I bought the iPhone 5 today.  I have 2 apple IDs.  I entered the wrong one when I set up the phone.  How can I change it to the other ID?

    I bought the iPhone 5 today.  I have 2 apple IDs and I entered the wrong one when I set up the phone.  How can I change it to the other one?

    Start Over...
    ERASE / Clear All Data
    See  Erase your device  Here  >  http://support.apple.com/kb/HT4137
    Go to Settings > General > Reset > Erase all content and settings

  • I just installed itunes 11.1.5.5.  Now the format in Itunes is changed.  when I am trying to add music to my iphone, there is no longer an add button under the Iphone device.  Why did they have to change this?  Can anyone help, Im tryiong to add music.

    How do you add musci to the Iphone?  I just installed itunes 11.1.5.5.  Now the format in Itunes is changed.  when I am trying to add music to my iphone, there is no longer an add button under the Iphone device.  Why did they have to change this?  Can anyone help, Im tryiong to add music.

    Correct.  When you purchase devices, they would have stated the OS they needed to work, on the box.  This can be overlooked, but it is very important to check when purchasing. 
    You current OS, is so old, that they technology build into the new devices, is not something your OS understands.  It didn't exist when your OS was created, and therefore you need to upgrade the OS to work with the newer technology of these devices.
    10.6 software is not downloadable.  You must purchase a DVD disc.  You can order it from the on-line apple store
    - http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard.

  • When I set all the tracks in the latest Garageband to the same volume levels and save, when I open the file again they've changed back to a previous setting?

    I'm trying to mix a recording in the latest 2014 version of Garageband, but when I set all the tracks in the latest Garageband to the same volume levels and save, when I open the file again they've changed back to a previous setting? Does anyone know why it changes even after saving the file?
    Below is my iMac settings.

    Do you have a back up?
    If not you're into using file recovery software like  File Salvage - you can download a free trial and it will scan the disk for you and tell you with might be recoverable. Actual recovery will require that you purchase the app. There may be many files with the same or similar names. Always recover the largest file size.
    There are other such apps. Search on Macupdate or the App Store

  • I am in Muse 2014.3. When I edit a page, in the preview everything looks fine, but when I upload it to FTP, the page does not change, even when I upload the whole site. Is this a bug? I don't know what to do.

    I am in Muse 2014.3. When I edit a page, in the preview everything looks fine, but when I upload it to FTP, the page does not change, even when I upload the whole site. Is this a bug? I don't know what to do.

    Hi Jaap,
    Are you sure about your FTP credentials (FTP folder and site URL) that you are using for the upload? Are you able to see the updated files in the remote directory of the FTP server, after you finish uploading the muse file, using an external FTP client like FileZilla?
    Thanks
    -Prashanth

Maybe you are looking for

  • Facebook-skype account -- how can I get my old acc...

    Long story short, after the frustration of trying numerous ways to log in to Skype with facebook, on of which consists of disconnecting Skype from my Facebook Apps, I found that though I have successfully gotten the dektop client to work, my old "fac

  • How to run long background jobs in ADF applications

    Hi, I'm looking for some guidance on how to run an asynchronous job within an ADF application with proper progress notification in the current page. Let's assume we have some long running task (e.g. generating notification emails from a bunch of rows

  • Asynch Web Service Call

    HI I want to call Async web service using WS addressing.Can anybody know how to achieve it in OSB? Thanks

  • How not to increment rownum...

    i have a sql that i am trying to use some kind of funtion where i get my rownum incremented WHEN I WANT IT....So here is the situation....below is my sql .... select rownum as StudyDay, ssi.phase_day , ssi.phase_day_of_week, ssi.phase_name, ssi.phase

  • Creating a planning layout in BW BPS(3.5 unicode) and use it in crm 5.0 ?

    How can i create a planning layout in BW BPS(3.5 unicode) and use it in crm 5.0 ? Any thoughts how to do it please. Regards, Rao