How to compare number 1 in an expression of router?
Hi, OTN,.I have a router activity on my taskflow ADF schema.
One of the expressions must compare a value of database (i.e. oracle.jbo.domain.Number) with 1.
I type an expression #{bindings. NumberAttribute.inputValue == 1} but it throws an exception that is quite understandable - number may not be cast in Long
Can I compare those values without Java code?
Thank you.
JDev 11.1.1.1.0
Hi ILya,
Try this (note that 1 in EL is placed inside the quotation marks):
#{bindings.NumberAttribute.inputValue == '1'}
Jean Lou
Tags: Java
Similar Questions
-
How to compare the original value of table size and the changed value
juice I took a table and then took the function of the size of the array so that it shows me the number of the elements present in it. so it'll be the original table size value. If the items in the table even changes another value, then I want to compare the original table size value and the value of table size has changed. How to compare... Please help me. you are looking for a possible solution. Thank you
Hi stara,
the attached picture shows the ony solution.
It will be useful.
Mike
-
How to compare the new values with the old values in triggers.
Dear all,
Please tell me how to compare the new values with the old values in triggers.Hi, the employee example is in the document. You'd better read yourself.
CREATE OR REPLACE TRIGGER Print_salary_changes BEFORE DELETE OR INSERT OR UPDATE ON Emp_tab FOR EACH ROW WHEN (new.Empno > 0) DECLARE sal_diff number; BEGIN sal_diff := :new.sal - :old.sal; dbms_output.put('Old salary: ' || :old.sal); dbms_output.put(' New salary: ' || :new.sal); dbms_output.put_line(' Difference ' || sal_diff); END; /
-
Please, tell me how to compare between the field two Nina in the date format?
There is a script in this format, which takes the beginning and end of treatment records.
--=========
SELECT (SELECT MIN (start_TIME)
OF APP_HISTORY HPA
WHERE APH. APPLICATION_FK IN
(SELECT APP.ID
OF THE APP APPLICATION
WHERE APP. APPID = "D4TEST4NMA-19'.
)
) start_app,.
(SELECT MAX (end_TIME)
OF APP_HISTORY HPA
WHERE APH. APPLICATION_FK IN
(SELECT APP.ID
OF THE APP APPLICATION
WHERE APP. APPID = "D4TEST4NMA-19'.
)
) end_app
DOUBLE;
--=========
To calculate how much time between the beginning and the end of the treatment required in order to to deal with in the time format "dd.mm.yyyy hh24:mi:ss.Tips
1 you have a relational database. Relational databases address tables, lines and columns. No fields. There are no fields in any RDBMS
2 the unit of a DATE column is a DAY
3 you can add and subtract two DATE columns, the result will be in DAYS
4 allows you to convert that number to any other unit by making a date has 24 * 60 minutes and 24 * 60 * 60 seconds.------------
Sybrand Bakker
Senior Oracle DBA -
How to turn gv$ transaction Oracle 10 Express
Hello
I need help on how to enable gv$ transaction Oracle 10 Express.
I use this table to compare against the saddr ses_addr.
Thank you in advance.user3112983, Oracle Express is no RAC Oracle's version, so I suggest you use the sight of xxx $ v instead of the vesion of xxx $ gv from the points of view of dynamic performance anyway.
You can see the content in the transaction $ v only when a change contains is pending, i.e. only the active transactions is displayed in the view.
The column of v$ session.taddr is equal to the corresponding column in the v$ transaction.addr.
HTH - Mark D Powell.
-
How can I send emails with outlook express from firefox
How can I send emails with outlook express from firefox
See change the program used to open e-mail links for how to configure Firefox to use Outlook Express.
-
How to compare the 2 versions of the same document in Pages?
How to compare the 2 versions of the same document on Pages?
There is no OS X Visual tool which can open two Pages document and show the differences between them - other than the human eye.
What information are you interested in identify as different between the two documents? What specific version of Pages?
-
How do you access Newsgroups through Outlook Express?
Original title: Access Newsgroups
How do you access Newsgroups through Outlook Express? I had been using Gmail, but cannot remove the objectionable material.
I put this under the e-mail and communication because I couldn't find discussion groups. If anyone knows where I should put it, please advise.Thanks for your help.
Curiosity
- What server do you use?
- Which groups of news are you looking for?
-
How can I find extention for outlook Express
How can I find extention for Outlook Express
Thank you
God bless you
taddydad
You should know what type of program is supposed to be used to open this file - and this program must be installed on your computer.
What kind of file is it? What is the file extension (3 or 4 characters after the point)?
If you know what type of program is needed and you already have this program installed, the best way to create the association is
- find a file with the extension in question
- Right click on it
- Select "open with > choose program.
- Select the correct application of the list
- Check the box "always use the program selected to open this type of file"
- Click OK.
If the program you need is not in the list, click on the "Browse" button and locate the program exe file in C:\Program Files.
-
How can I back-up/copy outlook express files to transfer them to a new PC?
How can I back-up/copy outlook express files to transfer them to a new PC?
Hi lizbuff,
You can read the following article that should help you to do so.
How to back up and restore Outlook Express data
You can save your Outlook Express data to removable media and then restore it on another computer.
-
How do I uninstall and reinstall Outlook Express
How do I uninstall and reinstall Outlook Express
The only way to really uninstall and reinstall, reinstall XP as OE is a part of it.
What problem are you having? I'm sure there is an easier way.
-
How can I change the default language express outlook of the French to English
Original title: language windows xp outlook setting
How can I change the default language express outlook of the French to English
will thankful for all respounce
MUNIR
I think you need to get the English version of Windows, since OE comes with Windows.Stevewrote in message News: * e-mail address is removed from the privacy *... How can I change the default language express outlook of the French to English
will thankful for all respounce
MUNIR
-
How to compare the content of two Wordpad / documents notebook without reading them line by line?
Hello
Without this feature is included in the operating system.
However, you can use your favorite search engine to look for software that needs to perform these tasks.
WARNING of THIRD PARTY SOFTWARE: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.
Hope this information helps.
-
How to compare two dates and find exactly
How to compare two dates and find the exact age of the person, no one could be an age of child 2 days or a month, or other.
I'd really appreciate if someone help o
Concerning
After spending 2 hours, I go out with a solution by myself, how ever the function can be customize to check if the user enters date right.
function findAge(subjectName,fromdate, todate) { console.log("findAge(fromdate, todate) is called now "+subjectName+"-->"+fromdate+"-->"+todate); if(todate) todate= new Date(todate); else todate= new Date(); var age= [], fromdate= new Date(fromdate), y= [todate.getFullYear(), fromdate.getFullYear()], ydiff= y[0]-y[1], m= [todate.getMonth(), fromdate.getMonth()], mdiff= m[0]-m[1], d= [todate.getDate(), fromdate.getDate()], ddiff= d[0]-d[1]; if(mdiff < 0 || (mdiff=== 0 && ddiff<0))--ydiff; if(mdiff<0) mdiff+= 11; if(ddiff<0){ fromdate.setMonth(m[1]+1, 0); ddiff= fromdate.getDate()-d[1]+d[0]; --mdiff; } if(ydiff> 0) age.push(ydiff+ ' year'+(ydiff> 1? 's ':' ')); if(mdiff> 0) age.push(mdiff+ ' month'+(mdiff> 1? 's':'')); if(ddiff> 0) age.push(ddiff+ ' day'+(ddiff> 1? 's':'')); if(age.length>1) age.splice(age.length-1,0,' and '); console.log("==============================="); console.log("Subject age is = "+age.join('')); console.log(" age Day = "+ddiff); console.log(" age Month = "+mdiff); console.log(" age Year = "+ydiff); console.log("==============================="); var subjectAGE = age.join(''); }
peardox Thanks for the reply
-
How to compare installed Windows with a disk
How to compare Windows with a DVD disc and product installed?
Me once again.
Just read the error 0xC004F063 code indicates that the license service is not in the BIOS of the computer, the required license. This occurs when the parts have been replaced. Here, you should try an activation of the phone.See you soon
Julia
Maybe you are looking for
-
HP dx7500 microtour format: multiple video cards
I need more then 2 monitors and I think to install 2-3 video card on supprt additional monitors. Is this possible with this model? s/n mxl9340qzl
-
AirPlay expose works such as extended display but will not itunes library flow
On a MBP and can use my apple TV as office extended, but if I try to stream a video from my iTunes library I get an error message saying: the network connection has expired. That happen all the time and sometimes it works perfectly, sometimes may tak
-
With the external disc to open
Hello Long time no see! I have now opened and ambient light on the same external drive. After I close the program, I often have to force eject the drive to disconnect from my computer. Here's the alert I receive. Any ideas? Thank you very much.
-
Connected HP - Server errors / cannot add a device
The new "HP" connected problems? I migrated to the eprintcenter at this thought, that it would be better, but so far, I have not been able to add my printer that I wouldn't have to do anyway because everything was supposed to go and whenever I click
-
How can I fix this. He ocured sudenly without action on my part that I know.