getFetchedRowCount() in CO always returns 1. Help, please!
HelloI'm trying to get the number of lines read in my CO. But he always returns 1. But form OPS that I get 4 rows.but in the controller, he is always clothed 1 for the first time I click on go button but when I click on the second time it gives me correct number of lines in the page. Please find the code below... Let me know how to solve this problem.
The code in my controller PFR:
If (pageContext.getParameter ("Go")! = null) {}
partyId = (String) pageContext.getParameter ("partyId");
acctNum = (String) pageContext.getParameter ("AccountNumber");
[Serializable] parameters = {partyId, acctNum};
am.invokeMethod ("initAccount", parameters);
OAViewObject vo = (OAViewObject) am.findViewObject ("AccountMappingVO1");
vo.executeQuery ();
System.out.println ("vo. GetQuery () "+ vo. GetQuery());
int fetchedRowCount = vo.getFetchedRowCount ();
System.out.println ("fetchedRowCount->" + fetchedRowCount);
}
AM code:
{} public void initAccount (String partyId)
AccountMappingVOImpl vo = getAccountMappingVO1();
vo.initActVal (partyId, acctNum);
}
code vo:
' public void initActVal (String partyId, String actNum) {}
Number of partyIdNo = null;
try {}
partyIdNo = new Number (partyId);
acctIdNo = new Number (actNum);
}
catch (Exception e) {}
Error string = try ();
throw new OAException (error, OAException.ERROR);
}
setWhereClauseParams (null); Always reset
setWhereClauseParam (0, partyIdNo);
setWhereClauseParam (1, acctIdNo);
executeQuery();
}
Thank you
Robet
Hello
VO is connected to the module of the application, he must not repeatedly run VO
Try with vo.getRowCount () will give you the exact number of County.
Also use vo.reset () in the view rowImpl.
Thank you
Kumar
Tags: Oracle Applications
Similar Questions
-
I am having trouble with the text tool in Photoshop cs6. I used it in my computer in my class, and it's a little weird. I put my photo at 300 DPI and the resolution is slightly more than 1000 x 1300 pixels. When I use the text tool, words are always pixely, could someone PLEASE tell me why this is happening? I know that PS is not super great text as illustrator is, but when I do the same in Cs4 and set it to actual pixels, the text was not entirely pixely. Help, please.
Select the text and check the setting of the AA in the Options bar. You probably set to None
-
No return 'GALACTIC' help please...
Okay, don't know how to explain this issue yet... (I use to be able to do this in RageMaker years)
Here is an example. Let's say you have a proper name, maybe a product name. This name is two words, lets say... "Blue Square." And you NEVER want 'Blue square' to be divided at the end of a line. That is to say. "Blue on the first line and place on the next line. I can force this name to the word "two" behaves like a name of word "ONE"?
(I know I can go through the document and 'hand' return but I have hundreds of instance in a large document)
Thank you
Dan
There are several ways to do so. Apply the character style "no pause" as mentioned above works (it will also keep the words of hyphenation). I recommend that you set up a character for "no pause" style so that you can easily apply and get him.
There is also a non-breaking space character - choose space space: non-breaking Type: white Insert. If you use a lot, assign a keyboard shortcut (on Mac, it is already assigned to the command-option-x, but this can be remapped) or you can use find/replace to change your favorite phrases to include in the document.
You could probably even set up a "GREP Style" so that if a particular sequence of words appear in your paragraph, it automatically gets a "seamless" character style applied. In this way, you can place stories and once you have applied your paragraph style, no research or retype are necessary.
-
Despite my constant removal of Yahoo in all search preferences, it keeps returning automatically to my defaul for Firefox search. Help, please! I hate Yahoo!
On Mac, this most commonly seems to be caused by Spigot or pipe modules, or something else that snuck in without being detected with other software that you downloaded.
Please try to disable all non-essential or unrecognized extensions on page modules. Either:
- CMD + SHIFT + a
- "3-bar" menu button (or tools) > Add-ons
In the left column, click Extensions. Then, in case of doubt, disable (or delete). Especially if you find something called SearchMe.
Often, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.
Is that what helps you regain control?
-
problem iPhone 5s load is reduced to
My iPhone 5 s a problem that the accusation itself decreases without using the phone, I changed the battery it is always the same and I put it in airplane mode it's always the same problem how to solve this help please?
Please help me anyone
-
I filled my printer with an hp1200 cartridgeworld cartridge and now the printer always says "check printer cartridge? any ideas help please, PS is not the first time I used these cartridges, but this is the first time I had no problem
Hello
Follow these steps and check if that helps:
Method 1:
Try to run the printer Troubleshooter and check that if it helps, here is the link:
http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-TroubleshooterMethod 2:
Try to run the below fixit and check if this may help:
http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-printIt will be useful.
-
I have a problem whit security for Microsoft Works 8 (KB977304), appear always 646 error Code? Help, please!
Hello
1. what operating system do you use?
2 are you able to install all other updates on your computer?Try to download and install the update from the link below and check for the issue.
http://www.Microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=807426a1-8b78-4681-A606-dc39f4d7b64aFor more information visit http://support.microsoft.com/kb/977304I hope this helps.Thanks and greetings
Umesh P - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
[If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.] -
I want to return a plug-in, I accidentally deleted.i to play online snooker.can someone at - it need help please?
Hello
1. What plugin you are talking about?
2. on which site Web you are trying to play the game of billiards online?
3. what web browser do you use?
4. how exactly did you uninstall the plug?
Plug-ins are provided by third-party providers, you can try to load the game of billiards and verification that branch is needed.
Please come back with more information on the issue so that we can help you better.
You can also visit the link of the article of Microsoft that will guide you on how to ask questions below.
Suggestions for a question on the help forums
-
Can someone help me please, I don't know how to use a computer I was googlen 4 days! When I opened my computer it always tells me that the file is damaged and unreadable. Please run the Chkdsk utility... I searched my computer for "chkdsk utility" and can't find that. Help, please!
From what you say, you are probably unable to start Windows.
In this case, when you start the computer, keep tapping the key "F8" on the keyboard until the Advanced menu comes up. Then choose "Safe Mode".
You will see something like your ordinary, here to enter office "chkdsk volume: /f" (replace with your hard drive volume, in most cases, it's 'c') at the command prompt.
For reference:
http://support.Microsoft.com/kb/315265
Hope this helps
Post back if necessary
____________________
If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
put an item into the basket, made an empty recycle bin, need return the item, please help, I did nothing since the drain, so the machine is in the same condition as when I emptied
If you have xp, you can do system restore
-
I can't connect to creative cloud, and so I can not install the Photoshop account I paid for. I changed my ID adobe several times, but I can't connect to creative cloud, he always says I have the wrong password. Help, please. Thank U
Hello
Please contact the support.
Concerning
-
I bought a picture but when I downloaded it, it always says "Adobe Stock" on it. Is this normal? I thought that once I bought article which could disappear as I would really like to use the point on Web sites, etc. Help, please.
You can also check:FAQ: where can I find useful links on the use of Adobe Stock?
I'm moving this discussion Adobe stock
-
I have Mac 10.7.5 on Safari, tried to install FlashPlayer a dozen times tried all the troubleshooting suggestions. Moved to about 75% and always says "unable to install. Help, please. Bruce
Thanks Maria, I took it to my local MAC store and it took 30 minutes but they solved. Bruce
-
All my pictures have disappeared? I work on a lot that I had downloaded, and then I selected, then went to create a new collection and baptized DH slideshow 2015, then press return and now it is gone! Help, please!
You have created a new CATALOG... ! not a collection! (looking at your screen-clip)
Re-open your correct catalogue-'Lightroom Catalog.lrcat 5' in the Menu > file > open recent element.
Select the pictures again, click [+] on the header of the COLLECTIONS Panel.
Before going further, learn from this video tutorial-
-
I bought a single image, and after downloading my image always has the watermark please help.
Please follow the following steps
Maybe you are looking for
-
I was wondering how to crop the video images as they run. Is there a module vi which can be used to do this? Examples I've seen online used a nonexistent moment IMAQ extracted.
-
Windows xp don't does not correctly read memory
BIOS reads 8 gb, windows is reading 3 GB
-
Aero theme Vista theme aand are just the classic windows theme
Original title: my vista Theme aand aero theme are just windows Classic theme may select and change them, but it looks like classic pls helpMy theme looks like clssic but he says: I have aero or vista theme it's like they were deleted but it was fine
-
my profile by default TEMP is called
Hi, I am running Vista 32 bit on a HP TX1000 and my profile by default TEMP is called, I tried a lot of things, namely, activate the account administrator by using CMD, create a new user as administrator and by removing the previous one, but it will
-
How can I disable the touchpad on my laptop Pavilion dv4155cl?
I have a Pavilion laptop dv4155cl and HATE the touchpad, mainly because when you type on the keyboard, the keypad is just under my Palm of the right hand, and it hinders so try to type as the guard cushion see my Palm by tapping the touchpad, and mes