Read-only complex queries in redhat Jdev 11.1.2.3 5.8

Hello:

I have a complex select statement for a particular use case. There is no requirement to update all the columns in the tables, it is display only. What are the advantages and disadvantages to simply create your who do not rely on the EOs? Or should normally base us these complex queries on EOs because the EO puts in cache the rows returned? Given the following Select statement, would you experts this based on the underlying tables in OT or simply use a VO that is not entity founded, given that there is no update necessary?
Thank you...


SELECT distinct AUD_KEY,
AUD_STATUS,
AUD_TYPE,
GET_PROJECT_CODE('AUD',AUD_KEY) NUMERO_PROJET,
P_FNS. CLIENT_NAME, CLIENT_NAME (AUD_CLI_KEY),
(SELECT COUNT (*) IN RESULTS
WHERE FND_AUD_KEY = AUD_KEY
AND UPPER (FND_CATEGORY) = 'IMPORTANT'),
(SELECT COUNT (*) IN RESULTS
WHERE FND_AUD_KEY = AUD_KEY
AND UPPER (FND_CATEGORY) = "SHIFT") major.
(SELECT COUNT (*) IN RESULTS
WHERE FND_AUD_KEY = AUD_KEY
and upper (fnd_category) = 'MIN') minor,.
(SELECT COUNT (*) IN RESULTS
WHERE FND_AUD_KEY = AUD_KEY
AND UPPER (FND_CATEGORY) = 'o') other
FROM AUD, DNF
WHERE AUD_KEY = FND_AUD_KEY (+)
AND)
(UPPER (FND_STATUS) = 'o' AND (FND_OWNER =: p_aa_emp_key)) OR
(UPPER (FND_STATUS) = 'R' AND (FND_APPR =: p_aa_emp_key)) OR
(UPPER (AUD_STATUS) = 'P' AND (AUD_CREATED_BY =: p_aa_emp_key)) OR
(Room in UPPER (AUD_STATUS)', 'A', 'IP', 'RA', 'RR') AND (AUD_AUDITOR =: p_aa_emp_key)))

I would use a VO based on a query (the).
However, the widespread use of the UPPERCASE function need some attention. This needs to be optimized. Check out my blog on this (http://tompeez.wordpress.com/2012/04/05/jdeveloper-case-insensitive-search-and-performance/).

Timo

Tags: Java

Similar Questions

  • How to display the box around a text field read-only - Jdev 11.1.2

    Hello:

    In an ADF Web application:

    I have an af:inputText field, but I want to say read-only. So I put the readonly = true property, but when I did I lost the video box around the field. How can I make the text read field only but keep the box around the text display? I also tried setting to off but then it displays in gray. Is it possible to have the look of text just like a field of regular text input field but make unmodifiable?

    Thanks for the help.

    Hello

    I think that you should use the disabled property and with skinning, change the color of what you want.

    For example:

    af|inputText:disabled::content {
    background-color: White;
    font-size: 10px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #000000;
    }
    

    Kind regards

  • Win Server 2003 network share, the files are read-only

    Friday, the server crashed, I reinstalled the operating system of windows server 2003 and was able to use the old hard drive as a slave for the files to transfer the files to a network drive, that they appear only as read-only, and users can not save files that I changed every permission that I see but nothing works thanks for your help

    Mike Zamora

    Hello

    Try to post your queries in the link below for the best results:

    http://social.technet.microsoft.com/Forums/en-US/category/windowsserver.

    Hope the helps of information provided.

  • my computer is READING ONLY MODEhow can I change this?

    Read only mode does not check disk (chkdsk) to operate effectively. Every time at startup, the computer is
    asking to scan drive for consistency, but then he says "DISC CHECK CANCELLED"
    What procedure should I do to change that one mode of reading?

    Frankly, if you have too much talk about event viewer errors - and you do not have a Windows install CD - you probably will be better served by taking your computer to a local professional reputable (not a type BigBoxStoreUSA or rather geeksquad).

    However, you can see if these steps help you:

    • If you have a Spyware Doctor installed, uninstall it.
    • If you have ZoneAlarm installed, open it, click on the "Présentation" tab, then select 'Préférences' and uncheck 'Protect ZA customer'.

    Click Start, then run, type cmd in the Open box, and then click on 'Ok '. At the prompt in the command window, type the following commands, pressing "Enter" after each of them: (Please note the spaces in the following commands.)

    • chkntfs/d: ... (This will reset autocheck default options)
    • chkntfs /c C: ... (This allows you to check drive C :)
    • fsutil dirty query c: ... (This queries the drive and will probably tell you that it is dirty)
    • chkntfs /x c: ... (The switch x tells Windows to NOT check the drive specified at the next startup)

    At this point, restart your computer, it won't do a chkdsk and will start directly to Windows.

    This step is important because it is where the dirty Bit will be disabled.
    Click Start, then run, type cmd in the Open box, and then click on 'Ok '. At the command prompt, type the following, and then press "Enter" after each of them: (still once, note the spaces).

    • chkdsk /f /r c: ... (To run manually complete a chkdsk operation)
    • Y ..... (To accept him running at the next startup)

    This should take you through 5 stages of analysis and will unset that dirty little. Be patient... it is a very thorough control and will take some time... it may even appear again during the last two steps... 60 to 90 minutes would be unreasonable for it in some cases.

    Finally, when the chkdsk operation is complete, type fsutil dirty query c:, press 'Enter' and Windows will confirm that the dirty Bit is not set on this drive.

    Now, restart again and see if chkdsk always runs at startup.

    If chkdsk still runs when you restart, you will have to create a bootable CD with the Windows Recovery Console and run chkdsk from there:

    Follow the directions here: http://www.bleepingcomputer.com/forums/topic270018.html (scroll down to ""How to create an XP Bootable CD Console collection "")

    Once you start the Recovery Console, type

    CHKDSK c: /r

    and press enter

  • Application of file level read only permissions to a single file in different subfolders

    Hello
    I would level permissions Setup file to read-only for a particular file, only users who are inside subfolders in win 2 k 3 sp2 environment for users of the AD. For admin group, that it should be permitted for normal users, they should be able to add/edit content, but does not delete the contents of the folder. At the same time, they should be able to read the content of a particular file located in different subfolders.  Please advise me on how to do this.

    Here is the structure:
    Test1 >
    sup test 1 >
    1 > aa, bb, cc files it contains
    2 > aa, bb, cc files it contains
    3 > dd, ff, cc files it contains
    sup test 2 >
    1 > aa, bb, cc files it contains
    2 > aa, bb, cc files it contains
    3 > dd, ff, cc files it contains
    ----
    ----
    sup 300 test >
    1 > aa, bb, cc files it contains
    2 > aa, bb, cc files it contains
    3 > dd, ff, cc files it contains
    1,2 and 3 and so forth like that are again subfolders in the test with different files under folder in each file void like that.

    All I need is to assign only read permissions to a particular file which will be in each of these subfolders (subfolders test) for the ad groups.

    Thanks in advance

    Hi ATAS.
     
    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums since it is related to the problem with the server. Appropriate in instances of Windows Server.
     

    Please post your question in the Forums of Windows Server.

  • How can I view the repository of 12 c OBIEE 'active' in read-only mode

    After using the data-model file - cmd.cmd batch download a SPR, SPR becomes a sequentially numbered file in this directory:

    'C:\Oracle\Middleware\user_projects\domains\bi\bidata\service_instances\ssi\metadata\datamodel\customizations '.

    And I presume that the new file numbered sequentially (for example, liverpd.rpd_2) is now the repository that is actively used as referential 'live' by OBIEE.

    Is there a way to open this deposit 'live' in the Administration tool?  If I try to do, I am notified that I can only open it read-only.  Well Yes, that's fine, that makes perfect sense.  (It also means I'm trying to open the 'live'.  So far so good.)  I am prompted for the password for the repository.  Type the correct password repository fails.  A simple dialog: the connection has failed.

    Certainly, I type the correct password repository.  Is it maybe a bug?

    Does not work like that more. This password is there for a reason (RPDs live in 12 c are MUCH more complex than before) and nobody knows - because you don't need.

    You can Open the RPD online, or you can use the data-model-cmd downloadrpd to get a copy of the current version of live.

  • How to show total for an Object(read only, not based on entity) view based query

    Hi Experts,

    JDEV version 12.1.3.0

    I want to show the total of column salary for reading only VO (not based on the entity, but the query based).

    The readonlyVO has some display criteria to display the data. So the total should appear only for values, I see in the user interface.

    Thank you

    Roy

    Looks like JDEV problem which was not allowing me to add the transition attribute. After the reboot of jdev im able to add the transition attribute.

  • How to do a bunch of fields read only value-based

    IM using jdev 12.1.2.

    I have a fragment with a few dozen jsff fields. I need to make these read-only or editable fields based on a value. I know how to do this for each field, but I was hoping there was a way to do this for each of them with a single property. For instance, all the fields are in a panelgrouplayout or a panelformlayout can I set a property on this provision which will set then all areas reporting to him read-only. I was just trying not to put the property read-only on each field of monkey.

    There is none of these goods or componentwhich allows you to do. All you can do is to set the readonly property of each field to the same property (bean or pagedef) and ppr the container so that the components are updated.

    Or you use a bean method that sets all the fields editiable readonly properties in a contianer orf true false. It would save that you set the property for each field.

    Timo

  • Granting of flashback to a user read-only

    Is it possible to give a 'read only' user access to query flashback on a table in another schema while ensuring that they remain a user 'read only '?  I am thinking particularly of a query like the one below.  There are cases where a 'read only' user would see the previous status of a given table.  In this case, one way to read the user can perform only in select queries.

    SELECT *.

    OF SCHEMA1. TABLE1:

    FROM TIMESTAMP (SYSTIMESTAMP - INTERVAL 0 ' 00:05:00 ' DAY TO SECOND)

    Just privilege of flashback for the object to the required user.

    Kind regards

    Ivica Arsov

  • How to activate a field read-only for data entry.

    Dear all,

    In fact, I'm bring a form simply queries the table of database data and shows it. It presents the data in readonly textfields.

    There is a button that can create a new line. The problem is when the system is to create the line he is creating the messagefield readoly.

    In order to overcome the situation that I wrote the code below

    mainVO.last () .setAttribute ("IsTextReadable", Boolean.TRUE); To make the last row entrable for the user.

    But the system gives the error when the user is pressing the button create

    Details of the exception.

    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: Houston-25058:

    IsTextReadable of the type definition of that attribute is not found in XxphccamsfdbmstdtlrVO1

    Could you please suggest me how to make the textfield readonly can be changed dynamically.

    Concerning

    Rajat

    Dear Stephanie,

    Thanks for your reply. I solved the problem and it was pretty simple.

    I created a transient in the VO and attached attribute the transitional attribute to the property read-only from the field using SPEL (${oa.) XxamsfdbdtlrVO1.Viewenb}).

    Select the line that you want to update and run it.

    row.setAttribute ("Viewenb", Boolean.TRUE);

    Concerning

    Rajat

  • [ADF, JDev12.1.3] How to create a page that is read-only or allowing changes according to the menu by which item it is accessible?

    Hallo,

    I'd like to go to the page that contains an af:table of 2 different menus: "Edit/insert data" and "read data".

    Is it possible to make a page that is read-only when the user accesses by "Read data" and that allows for changes when you access it through 'edit/insert data?

    Or do I have to create 2 different pages?

    Thank you

    Federico

    If the menu is outside the region, you must pass a parameter in the area and read this parameter passed within the region. You cannot directly access the bean of expanded view of inside the workflow.

    You can check out my blog 11.1.1.5.0 JDeveloper: router to use to create new or modify existing line | JDev & ADF Goodies

    That uses a router within a workflow to decide which page to display based on the parameter. Using this solution you can easily implement your use case using two different pages to show the table, a read-only, and the other to change.

    Timo

  • Reader only a physical standby Clock Data Guard?

    Hi all

    We try to use TimesTen 11.2.2.4.1 as a memory cache read-only for a 11.2.3.0.7 on Linus RedHat 6.3 Oracle schema, all using Oracle Data Guard to replicate the Oracle instance through geographically remote sites. At each site, we would like to have two instances of TT, synchronization with the local instance of Oracle 11 g. It works very well against the master DB, but TT agents will be able to synchronize against physical standby instances?

    The problem, seems, is that the agent of TT uses structures dedicated in the master Oracle (related to the grid of cache), instance that will be replicated to instances of Eve. Is TT agent able to use the read-only, structures to complete replication synchronization, or is this unworkable approach? What would be your advisor as a way to do this?

    Thanks for your help,

    Chris

    No, I'm afraid that will not work and is not supported. We support the use of groups of READONLY and AWT cache in collaboration with Data Guard in the following configuration (documented in the Guide of Cache TimesTen IMDB):

    1 data Guard is configured as synchronous physical standby

    2. all the caches of TT run against Oracle DB

    3. in the event of a failover of Data Guard, TT hiding can be migrated to run against the DB who now has beed promoted active to standby

    It is the only supported configuration.

    Kind regards

    Chris

  • Under certain conditions (by program) make MessageCheckBox read-only for the specific rows in a table

    Hello

    I have a table (on a custom page) which includes the columns MessageStyledText and MessageCheckBox column, I want to put the MessageCheckBox to read-only if the value of the column MessageStyledText of the line is "XYZ", could someone give me some advice on how this can be achieved?

    Oracle EBS: 12.1.3

    JDEV: 10.1.3.3.0.3

    Kind regards
    Carl

    Sorting using SPEL (according to https://forums.oracle.com/message/1815932#1815932).

  • How to do a table read only based on a button click event

    I have two tables: table of an insert and a single table reading and calculate the button between the two.
    When the user has entered the values of the first array and push the button calculate, the second table is supposed to show the result.
    I want to calculate the first table to read only when the user clicks the button.

    JDev 11.1.1.5.0
    ADF BC

    You will need to write an EL to the readOnly attributes property in the table representing a Boolean parameter and put a PPR on the table during the click on the button calculate

    readOnly=#{pageFlowScope.isCalculateButtonClicked}
    
  • VMware Consolidated Backup, LInux Machines go read-only

    We have a strange problem, the scenario is as follows:

    3 knots x 3650, hba qlogic, Vmware 3.5 Update 4

    1 SATA ds3400 dual ctrl

    1 x 3650 dedicated to the VCB nodes

    A lot from time to time, virtual Linux machines, VCB has completed the backup, rest with the read-only file system, the only chance to solve the problem is to restart the virtual machines: we already checked the vmware tools and are all up to date.

    Any suggestions?

    Thank you very much

    As a general rule, it is not realistic to adjust the waiting times for the LSI or buslogic drivers scsi as they would need to be recompiled. To my knowledge there is no kernel option, you can pass to them on this issue. Some versions of redhat specifically deal with it is bad and flipping in read-only mode. I think RHEL 4 U4 and precedent are touched by this, U5 has been set, and the problem was inexplicably re-introduced in U6 (I hope those updated numbers are right, I have to look back through my SRs to understand). If I were you, I would look at the upgrade to vSphere 4 that has a couple of cool things.

    1. new options scsi (LSI SAS, paravitual SCSI driver pvscsi virtual controller)

    2 VMFS 3.33 (which will require you to reformat your LUN with the new VMFS however) has up-to-date SAN attempts, which means that wait times do not necessarily make the LSI/Buslogic controller in the first place and will be dealt with at the level of the VMFS layer. It is possible that you could put a LUN with the VMFS 3.33 using host vSphere 4.0.0 and not spend the rest of your hosts, but I'm not positive on this one here.

Maybe you are looking for

  • omni27 connections

    Hi I have an omni271180ea and I want to connect it to a more widescreen lcd which has a pc imput. Is anyone know how I can do this and what leads I need? I tried a hdmi and it does not work.Thanks steve

  • Can not find the drivers for Windows XP on a Qosmio G30-155

    Hi all I have Windows Vista Ultimate installed (by default) in my laptop. As you know, Vista comes with a lot of errors and a huge amount of compatibility issues. But I am not able to find any BIOS drivers and devices on the laptop, so I can't instal

  • HP pavilion dv6-2040 El: upgrading Ram

    I have 2 x 2 GB ram samsung. What is the maximum speed that I can put I what is the max ram volume? It's just 1 slot, 2 is the same. This is my model o - hp pavilion dv6-2040 el ent.notebook.

  • Problems of network HP P3015

    Hello We have in our society 10 printers HP P3015 installed on our print server hosted on server 2008r2 and more shared and installed on the clients. Beside that, we have a lot of Canon printers. Problem is that somethimes (no time/day) these HP prin

  • Redudancy

    Hi all, I am a beginner with VMWARE.I have 3 servers and NAS 2.The first server running VMWARE. The other 2 are running virtual machines with redudancy. The NAS 2 use databases.My question is: If the server that is running VMware is blocking down due