An issue WHERE the parameter is a list of values
HelloI have a question how to set the WHERE clause of a VO when the condition is a list of values. The number of items in the list of values may vary.
For example I want to put a condition like this
WHERE < equal to a set of values > columnA
Is it possible to do this? Is there a recommended approach?
I am aware that there are setWhereClauseParam and setWhereClauseParams, but they do not work in my case.
Any contribution is appreciated.
Thank you.
Hello
I think that example 126 is what you are looking for:
http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
concerning
Peter
Tags: Oracle
Similar Questions
-
Hi all
We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.
Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?
I did a POC sample on it. I can share with you. I can't put in my dropbox because dropbox is blocked in my network. Share your email. I'll send the POC through
-
I tried this post a while ago, but I don't think I managed. I hope that this post is not a rehearsal. If this is the case, please forgive me for my mistake.
*
While I try to download the creative cloud at 60% of the original price for my smart phone, however, I get an error saying to remove the desktop application. I had tried earlier install the desktop version, a mistake. I thought that the installation was not complete because I received a message stating that the I need to connect to my computer at home and then try to install the desktop version of creative cloud.
How to uninstall the desktop version without losing the offer of 60% off the creative cloud?
How to return to the page where the error message to uninstall the desktop version?
Thanks for you help.
A.L.F.
I don't know what you saw that offered 60%, unless you qualify for an education discount, students & teachers . This is the page of adobe with plans of non-education, pricing and membership creative cloud | Adobe Creative Cloud
and you can uninstall any cc on your desktop.
clean through the use of the Adobe Creative Cloud cleaning tool to solve installation problems
Restart your computer
install the application of office cc, https://creative.adobe.com/products/creative-cloud
You can use the desktop application to install cc trials and, if you have or get a subscription, install non-epreuve versions and convert the non-proces tests.
-
Where the parameter value RepriceOrderChainId as repriceOrder in ExpressCheckoutF
Guys,
Do you have any ideas on below concern. Please share with us.
PurchaseProcessFormHandler is an abstract class.
ATG OOTB:
ExpressCheckoutFormHandler extends PurchaseProcessFormHandler {}
handleExpressCheckout () {}
runRepricingProcess();
}
}
RepriceOrderChainId property has getters and setters to PurchaseProcessFormHandler.
No RepriceOrderChainId value in the PurchaseProcessFormHandler and ExpressCheckoutFormHandler component.
But when I logdebug, RepriceOrderChainId values shows "repriceOrder".
Here, I have a problem where the RepriceOrderChainId value defined as repriceOrder in the flow of
ExpressCheckoutFormHandler - > PurchaseProcessFormHandler.
Thank youYes, because PurchaseProcessFormHandler is initialized to repriceOrder of the PurchaseProcessConfiguration.repriceOrderChainId. This happens in his doStartService(). PurchaseProcessConfiguration is located in ExpressCheckoutFormHandler.properties
If you want to change the mechanism, change it in PurchaseProcessConfiguration and it will reflect PurchaseProcessFormHandler and therefore ExpressCheckoutFormHandler.
-Kiss
-
I disabled the color ink to print in black only. Now can't find the setting to turn back. Only
black print and go back. Thank you.
Hello
The Setup program can vary from the printer to the printer but at the bottom (for Windows):
(a) double-click the desktop printer icon.
(b) click on set preferences.
(c) click on advanced.
d select 'Colours' for printing in grayscale menu drop-down options,
(e) click Ok/apply.
Kind regards. -
Where the old missed calls list?
I had a missed call, swiped down and saw the number on the notifications. I later wanted to see a second time to draw it, but of course, he had disappeared from notifications. How do I see all old missed calls?
Thanks in advance for a novice.
Mike.
Click on the phone application, click the icon of the clock at the bottom, click the tab missed at the top (or swipe to the left).
-
Anyone know where the parameter is to take off the box 'tick', icons are?
I just got my laptop fixed future shop and they have not setup with this semi * idea to check icon rather bring out anyone know how to remove it?
Click Start, type Folder Options in the search box and press {ENTER}.In the folder window Options, click the view tabUnder Settings Advanced and uncheck the option use check boxes to select itemsClick OK. -
Records for the parameter and previous months
Hello
I asked where the parameter user is calendar year month (YYYYMM). I need to display the records of the previous month and month.
For ex: If the user enters 201107, I need to display the records of 201107 and 201106.
In addition, I do not use dashboards.
Any suggestion...
Thank youThe only way I can see this with the restrictions is to make the line of the multiple selection column and have the user select the two months. Other that that, you will need to use the dashboard of the guests.
-
default value of the parameter date problematic SYSDATE
Hello
I finally discovered why a report of problems, but have no solution to the problem.
After the first run of the report and MORE (DESKTOP is no problem), I can open is no longer the LOV for any of the settings. The LOV icon is available, but nothing happens when you click it.
Now, I know the problem is a specific condition based on a date parameter.
The State is testing a date field against a setting that is based on NONE and has a default value of today. If I use effective dates in the setting I have no problem. If I use today or SYSDATE, then I can only run the report once. After that I can't choose any LOV in any of the settings. If I change the today or SYSDATE to a real, date is well again.
The State of origin that was used was based on a calculated field due2 defined as: DECODE (:due,'TODAY',SYSDATE,TO_DATE(:due,'DD/MM/YY'))
I tried to change the condition of:
date field < = TO_DATE(:due,'dd/mm/yyyy')
but also causing problems if I used SYSDATE or today in the parameter.
I then tried to change the calculated field to due2:
Decode (:due,'TODAY',to_date(sysdate,'dd/mm/yyyy'),to_date(:due,'DD/mm/YY'))
but it does not work.
Any suggestions?
Thank you.
LeahHi Lea,.
Try using 'CASES' instead of 'Decode' in your state:-case when: due = trunc (sysdate) then 'Today'
of other end TO_DATE(:due,'DD/MM/YY')Maybe it will solve your problem.
Note that this is problematic, because if the user enters an invalid date you will probably get an error.
I could do this a bit different...
1. create an optional parameter based on the date (so that I'll have the calendar)
2 create a condition where the parameter is empty, it will use SYSDATE.
for example:
=: due
OR (: due is null AND= trunc (sysdate)) Tamir
-
Boolean 'and' 'or' interpretation of the parameter values
It seems that when you enter a value in the parameter field, it is interpreted as a Boolean expression. For example, if the user enters "Analyst" in a parameter field, Pub BI deals "or" at the end of the main as a Boolean 'or '. For some reason, it does not, and then the defaultvalue is substituted for the value of the parameter. The same problem occurs with words that end with 'and '.
I've created a minimum report using the following datatemplate to illustrate this problem. The .rtf report itself includes a field for the parameter MyParm and the value of "sysdate" of the sql statement. When the user enters "Analyst" in the parameter, the report is generated with a ' *' according to the defaultValue specified in the data model rather the status of value "analyst."
< name of dataTemplate = than one dataSourceRef 'DATA' = "OPTDev" >
< Parameters >
< = "MyParm" dataType = "character" defaultValue = parameter name "*" / >
< / Parameter >
< dataQuery >
< SQLStatement instance name = 'MYSQL' >
<! [CDATA]
Select sysdate double
[]] >
< / sqlStatement >
< / dataQuery >
< dataStructure >
< name of group = "G_MYSQL" source = "MYSQL" >
< element name = "sysdate" value = "sysdate" / >
< / Group >
< / dataStructure >
< / dataTemplate >
I use BI Publisher 10.1.3.4.Its a bug, reported to Oracle.
If they find a GOLD or AND in the value of the parameter, they reject as invalid value, as they say, it could lead way for SQL injection.
I would ask you to go to the support of Oracle or Log SR for that.
-
Hello
I want to use the case (or decode etc.) in which a part of sql.
I want to find the number of rows depending on where the conditions.
For example, I have a table b, d, e, p and s are fields of this table.
If the value of the field b is 1 then my condition clause that will be value fields d, e value fields
If the value of the fields of b is 2 then my condition clause where the declaration will be p field value < s value fields.
Select count (*) of A
where
(if b = 1 then) d, e
(if b = 2 then) p < s
How can I achieve this?where (b = 1 and d
-
How to access a value of "List of values" by giving a name?
I have a "list of values" defined in my report of BI. It includes a list of pairs of value of the label.
I've defined a parameter: p_Value for the definition of "List of values" above. This parameter is used in the definition of sql data source to filter the query results. I set up a model that has a table which shows all the parameters used for filtering the results of the query. If I give <? $p_Value? > in the model, then the value parameter is returned to this subject. But I want the 'name' of the setting, not the value. Can someone tell me how to access the name of the parameter that refers to a value in the definition of "value list"?option 1:
You can get the value of the DB in the sql report?You have the code inside the report query, if you can get the decoded form of value which
option 2:
create another parameter, LOV and query, make the most hidden and use the first: param_1_value in the lov query in the second param and decoding the value.Now you can check the: PARAM_2_value in the model that will be decoded value.
-
people,
use jdveeloper11g 11.1.1.4.0
first fall I want to make in the text with a list of values
If I select the means of the city
country / State must be posted.
can a guideme or other
Paste the link in this regard.chk this
http://andrejusb.blogspot.com/2008/12/cascading-lovs-in-Oracle-ADF-11g-update.html
http://www.YouTube.com/watch?v=nXwL2_RP7AQ -
Hello comrades!
I'm new to PHP and now I'm stuck at list(); and each(); functions.
Can someone explain to me the meaning of:
list ($index; $value) = each ($array) ?
I understand that the meaning of the variables in the present code:
$array [index] = 'value ';
But what is the meaning of the equation in the parenthesis of the cycle while ?
Thank you people!
DissidentPJ
ya that's how to use it. I had to search what each() done haha coz I do not use it
-
issues related to the parameter in the procedure
Hi all
I have a procedure which the code is given below:
create or replace PROCEDURE seods01.get_cert_tx_lot_tmp (acct_alt_id_in in VARCHAR2
, acct_alt_id_cntx_cde_in IN VARCHAR2 default 'COLA account number.
, ibd_id_in IN INTEGER
qry_rslt_out to sys_refcursor)
IS
BEGIN
OPEN FOR Qry_rslt_out
SELECT L.tx_lot_seq_nbr
L.hld_prd_dte
L.orig_purc_dte
L.tx_lot_amt
L.updt_tx_lot_amt
L.tran_desc_txt
OF v_acct_alt_id A
v_cd_tx_lot L
WHERE A.acct_alt_id = acct_alt_id_in
AND A.acct_alt_id_cntx_cde = acct_alt_id_cntx_cde_in
AND A.ibd_id = ibd_id_in
AND L.eods_acct_id = A.eods_acct_id;
EXCEPTION
WHILE OTHERS THEN
dbms_output.put_line(SQLCODE||) SQLERRM);
END get_cert_tx_lot_tmp;
now when I run the SP in the following way it works fine:
VAR C1 REFCURSOR EXECUTE SEODS01.get_cert_tx_lot_tmp ('004000000000000093108026740', 'Number of COLA account', '1',: C1); PRINT C1
When I try to ignore this value by default setting, then it is throwing ' wrong number or types of arguments "error
VAR C1 REFCURSOR EXECUTE SEODS01.get_cert_tx_lot_tmp ('004000000000000093108026740 ', ' 1',: C1); PRINT C1
and when I tried to put this as null or "then it gives me no results. only way through which I can produce results of this procedure without giving the default parameter is the name of the column with the value of the parameter as follows:
VAR C1 REFCURSOR RUN SEODS01.get_cert_tx_lot_tmp (acct_alt_id_in = > '004000000000000093108026740', ibd_id_in = > '1', qry_rslt_out = >: C1); PRINT C1
but the condition is that we do not want our consumers to put names of columns when they do not pass the default value setting, I hope that there should be a way to do it. Could someone help me please on this issue.
Hello
If you want to use positional notation, then you can only omit parameters by default when they are at the end of the parameter list. In your case, this would mean
(acct_alt_id_in in VARCHAR2
ibd_id_in in FULL
qry_rslt_out ON sys_refcursor
acct_alt_id_cntx_cde_in IN VARCHAR2 default 'COLA account number')
Or you can put the procedure in a package and overload
PROCEDURE seods01.get_cert_tx_lot_tmp
(acct_alt_id_in in VARCHAR2
acct_alt_id_cntx_cde_in IN VARCHAR2
ibd_id_in in FULL
qry_rslt_out to sys_refcursor)
PROCEDURE seods01.get_cert_tx_lot_tmp
(acct_alt_id_in in VARCHAR2
ibd_id_in in FULL
qry_rslt_out to sys_refcursor)
In the procedure without the acct_alt_id_cntx_cde_in parameter, you can call the other version and provide the default value.
Concerning
Marcus
Maybe you are looking for
-
Blue screen @ iPhone 5s
I get a blue screen more and more to my iPhone 5s, but I can't connect to an App or feature. I happens all the time randomly, even with the active screen lock. I have a lot of data from diagnosis to my iPhone including panic-... ResetCounter... + Cor
-
Intel GMA - disabling access keys rotation has no effect
I want to use ctrl + alt + down, alt + top and ctrl in some application, so I want to disable these access keys. I did it in Intel Graphics Media Accelerator Driver for Mobile settings but it has no effect: these key combinations are always turning m
-
I tried to update microsoft and it gave an error message indicating the display / Web site might not be page could not be found. ER 0 X 80244019 #.
-
Get computer back to where it was a week ago!
I was wondering if anyone knew how to reset the computer, so it will function and be the way it was a week ago. There are things on my computer that I don't need and I need that I don't have. I had a few programs last week before I went on vacation a
-
I transferred files from my Tablet Toshiba thrive on a flash drive USB of Dane-Elec 4 GB. It appeared to work for a few weeks, but now it does not work on the tablet or on my laptop (HP dv7). On the laptop, it says that it needs to be formatted. This