ADF 11 generating differents ids for panel box
Hello,
I want to generate differents ids for panel box from an iterator because the drag and drop functionality doesn't work. I saw that the component ids doesn't support EL.
It is any chance to generate my ids dinamically and how?
My code from my page is :
<af:panelGroupLayout id="pgl8">
<af:iterator id="i2" var="row"
value="#{bindings.MeniuVO1.collectionModel}">
<af:panelBox text="#{row.Description}"
binding="#{WelcomeBean.pb1}"
inlineStyle="width:167px;">
<f:facet name="toolbar"/>
<af:dropTarget dropListener="#{DragAndDropBean.handleContainerDrag}"
actions="MOVE">
<af:dataFlavor flavorClass="javax.faces.component.UIComponent"/>
</af:dropTarget>
<af:componentDragSource/>
</af:panelBox>
</af:iterator>
</af:panelGroupLayout>
Thank you.
Hi,
can you try with <af:forEach/>
like
<af:forEach var="row"
items="#{bindings.MeniuVO1.rangeSet}">
<af:panelBox text="#{row.Description}"
inlineStyle="width:167px;">
<f:facet name="toolbar"/>
<af:dropTarget dropListener="#{DragAndDropBean.handleContainerDrag}"
actions="MOVE">
<af:dataFlavor flavorClass="javax.faces.component.UIComponent"/>
</af:dropTarget>
<af:componentDragSource/>
</af:panelBox>
</af:forEach>Edited by: Santosh Vaza on Apr 10, 2012 12:56 PM
Similar Messages
-
How to generate unique IDs for a metadata field
Hi,
We have a requirement to generate a unique ID for a metadata field. Does anybody know how this can be achieved? Ideally I would want to have a database sequence and specify the metadata field to get value from this database sequence, similar to how Content ID is generated.
Any help is appreciated. Thank you in advance.
Regards,
TimLook into the Counters table. You should be able to create a component install filter to add in your field to the Counters table.
You could then create some Java code to fetch the next value from the Counters database for your field (and increment the value).
Jonathan
http://redstonecontentsolutions.com
http://corecontentonly.com -
hi
im using a panel box layout in my page. i have background color for my page.
i dont want the border of the panel box to be visible so tht the screen appears more perfect.
i tried giving the inline styles.but i didnt succeed.
and i didnt find any skin selectors for panel box also.
so plz tell me how to remove the border of the panel box.there is no text for panel box.
rgds.Hi,
at least in the upcoming TP3, the skin selectors for panelBox are
af|panelBox The selector on the root dom element of this component. The root style contains default setting of the width of the panel Box to 100%.
af|panelBox::header-start Style the start side of the header of the panel box. Used to render rounded corners for the panelBox. The available pseudo-classes are: ((:core or :highlight) and (:default, :light, :medium, or :dark). The pseudo-classes correspond with the ramp and background attributes of the component. For example, the ramp is set to 'core' and background set to 'default' the style used for this is "af:panelBox::header-start:core:default". This includes the .AFPanelBoxHeader* alias, for example af|panelBox::header-start:core:default includes .AFPanelBoxHeaderCoreDefault:alias.
af|panelBox::header-center Style the center side of the header of the panel box. Used to render rounded corners for the panelBox. The available pseudo-classes are: ((:core or :highlight) and (:default, :light, :medium, or :dark). The pseudo-classes correspond with the ramp and background attributes of the component. This includes the .AFPanelBoxHeader* alias, for example af|panelBox::header-center:core:default includes .AFPanelBoxHeaderCoreDefault:alias.
af|panelBox::header-end Style the end side of the header of the panel box. Used to render rounded corners for the panelBox. The available pseudo-classes are: ((:core or :highlight) and (:default, :light, :medium, or :dark). The pseudo-classes correspond with the ramp and background attributes of the component. This includes the .AFPanelBoxHeader* alias, for example af|panelBox::header-end:core:default includes .AFPanelBoxHeaderCoreDefault:alias.
af|panelBox::content Style the content area of the panel box. The available pseudo-classes are: ((:core or :highlight) and (:default, :light, :medium, or :dark). The pseudo-classes correspond with the ramp and background attributes of the component. This includes the .AFPanelBoxContent* alias, for example af|panelBox::content:core:default includes .AFPanelBoxContentCoreDefault:alias.
af|panelBox::icon-style Style to support an icon to the left of the header title
af|panelBox::disclosure-link Selector for the anchor element that contains the disclosure icon.
.AFPanelBoxHeaderCoreDefault:alias Alias to change the properties on the panelbox header for the panelbox whose 'ramp' is set to 'core' and 'color' is set to 'default'. Using this style class significantly simplifies the work required to style the header. Instead of changing three classes (for header-start, header, header-end) you only need to change this one. The region component uses this alias as well.
.AFPanelBoxContentCoreDefault:alias Alias to change the properties on the panelbox content for the panelbox whose 'ramp' is set to 'core' and 'color' is set to 'default'. The region component uses this alias as well.
.AFPanelBoxHeaderCoreLight:alias Same as .AFPanelBoxHeaderCoreDefault:alias, but for color=light.
.AFPanelBoxContentCoreLight:alias Same as .AFPanelBoxContentCoreDefault:alias, but for color=light.
.AFPanelBoxHeaderCoreMedium:alias Same as .AFPanelBoxHeaderCoreDefault:alias, but for color=medium.
.AFPanelBoxContentCoreMedium:alias Same as .AFPanelBoxContentCoreDefault:alias, but for color=medium.
.AFPanelBoxHeaderCoreDark:alias Same as .AFPanelBoxHeaderCoreDefault:alias, but for color=dark.
.AFPanelBoxContentCoreDark:alias Same as .AFPanelBoxContentCoreDefault:alias, but for color=dark.
.AFPanelBoxHeaderHighlightDefault:alias Alias to change the properties on the panelbox header for the panelbox whose 'ramp' is set to 'highlight' and 'color' is set to 'default'. Using this style class significantly simplifies the work required to style the header. Instead of changing three classes (for header-start, header, header-end) you only need to change this one. The region component uses this alias as well.
.AFPanelBoxContentHighlightDefault:alias Alias to change the properties on the panelbox content for the panelbox whose 'ramp' is set to 'highlight' and 'color' is set to 'default'. The region component uses this alias as well.
.AFPanelBoxHeaderHighlightLight:alias Same as .AFPanelBoxHeaderHighlightDefault:alias, but for color=light.
.AFPanelBoxContentHighlightLight:alias Same as .AFPanelBoxContentHighlightDefault:alias, but for color=light.
.AFPanelBoxHeaderHighlightMedium:alias Same as .AFPanelBoxHeaderHighlightDefault:alias, but for color=medium.
.AFPanelBoxContentHighlightMedium:alias Same as .AFPanelBoxContentHighlightDefault:alias, but for color=medium.
.AFPanelBoxHeaderHighlightDark:alias Same as .AFPanelBoxHeaderHighlightDefault:alias, but for color=dark.
.AFPanelBoxContentHighlightDark:alias Same as .AFPanelBoxContentHighlightDefault:alias, but for color=dark.
.AFPanelBoxHeaderStart:alias Alias to change the dom element at the start of the header. Use this alias to modify the css properties that are needed for all ramp/background of panelBoxes. Common css properties are padding and border.
.AFPanelBoxHeaderCenter:alias Alias to change the dom element at the center of the header. Use this alias to modify the css properties that are needed for all ramp/background of panelBoxes. Common css properties for the header center dom element are width and font information.
.AFPanelBoxHeaderEnd:alias Alias to change the dom element at the end of the header. Use this alias to modify the css properties that are needed for all ramp/background of panelBoxes. Common css properties are padding and border.
Frank -
How to make a report based on a search box containg IDs for multiple rows
Hello everyone,
I'm using APEX to build a database application. My users want to search a table by submitting multiple IDs in a search box. They want to list the row IDs for all the rows they want to search in one input box, and after clicking the Submit botton, all the rows should be displyed. Any idea to make it with APEX. I appreciate all your help.
GuangUnless your search is all numbers, each one will have to be separated by a '. That's probably why the multiple select isn't working. Try and add that around your SQL query, but I think you'll have to escape it for it to work.
And about the error-checking, you can create a short PL/SQL snippet to check/format the string in :PXX_SEARCH. You could start with something as simple as having it attach the ' you''ll need.
declare
srch_tmp VARCHAR2(200);
begin
srch_tmp := ''||:PXX_SEARCH||'';
:PXX_SEARCH := srch_tmp;
end;Note that this is incomplete and won't do everything you need. You'll have to use some string manipulators like REGEXP to parse the search string.
Edited by: blarman74 on Nov 12, 2009 10:06 AM -
Oracle Best Practices for generating Transactions IDs in high OLTP systems
We are in the process of designing a high OLTP system using Oracle 11g Database with the following NFRs:
1) 1 million transactions per day
2) 100,000 concurrent users
There are close to about 160-180 entities in the database and we want to know the best approach/practice in deriving the transaction IDs for the OLTP system. Our preferences are given below:
1) Use Oracle Sequence starting with 1,000,000,000 (1 billion) - This is to make the TXN ID look meaningful when it starts with 1 billion instead of starting it with 1.
2) Use timestamp and cast it to number instead of using Oracle sequence.
Note: Transaction IDs must appear in sequence as they are inserted - be it sequence/timestamp
I would like to know pros/cons of the above methods and their impacts on performance. Also, appreciate if you could share any any best practices/methods that Oracle supports.
Thanks in advance.
Ken RKen R wrote:
I did a quick PoC using both Oracle Sequence & Timestamp for 1 million inserts in a Non-RAC environment. Code used is given below:
create sequence testseq start with 1 cache 10000 order;
create table test1 (txnid number, txndate timestamp(9));
create table test2 (txnid number, txndate timestamp(9));
begin
for i in 1..1000000
loop
insert into test1 values(testseq.nextval,systimestamp(9));
end loop;
commit;
end;
begin
for i in 1..1000000
loop
insert into test2 values(to_number(to_char(systimestamp(9),'yyyymmddhh24missff9')), systimestamp(9));
end loop;
commit;
end;
Here are the results:
select max(txndate)-min(txndate) from test1;
Result >> 0 0:3:3.514891000
select max(txndate)-min(txndate) from test2;
Result >> 0 0:1:32.386923000
It appears that Timestamp is faster than sequence... Any thought is highly appreciated...Interesting that your sequence timing is so slow. You say this was a non-RAC environment, but I wonder if you had Oracle linked in RAC mode even though you were running single instance - this would result in the ORDERed sequence running through RAC's "DFS Lock Handle" mechanism which might account for the timing anomaly.
Unfortunately your test is not particularly relevant. As DomBrooks points out there are lots of problems with sequence-based or time-based columns, especially in RAC, and most particularly if you think you want a "no-gap" sequence. On top of this, of course, your test doesn't include an index on the relevant column, and it's single user and doesn't test for any concurrency effects.
Typical performance problems are: your RAC instances spend all their time negotiating who gets to use the next value; the index you use to enforce uniqueness suffers from massive contention on the "high-value" block unless you create a reverse-key index - at which point you have to be able to cache the entire index to minimise I/O overheads; you can hash partition the index to avoid using the reverse-key option - but that costs a lot of money if you don't already license the partitioning option.
Regards
Jonathan Lewis -
ADF: Generate dynamic adf components. Jdev 11.1.2.3
Hi Experts,
I am trying to build a page where the user selects a table from a list of table values eg(Department table, Employee table). Once he selects this table, it displays a list of values of all the columns for that table Department (eg: Department Id, Department Name, Employee Id, Location etc..). The user can now select the column he wants and enters a value. My requirement is that When the user selects for example Department Name, adf should automatically display a Text Box or if a user selects Employee id it should automatically display an LOV which shows all the employee ids under that department.
Please note that this is just an example that I have provided. In my scenario, I may have 20 different tables and each of these can have 10-20 different columns and depending on the column the user selects that particular adf component should be displayed (text box, list of values, input list of values, checkbox).
It would be great if you could let us know how we can go about doing this.
ThanksHi,
I followed the steps mentioned in the video and was able to dynamically display the output text but I was not able to dynamically display the List Of values. Any suggestion will be really helpful.
Thanks -
ADF generated HTML code performance issue
ADF generated code has lot of unnecessary html tags (when you check in Firebug). browser takes time to load the page . It means performance low.
As a Front end engineer . My aim is to give end user good browsing feeling , he doesn't like to weighting till page loads.
So from end user perspective page should load faster.
Normal Html pages and other applications i have full control over html code.
But in ADF , i don't have full control over all html tags ,which is generated by server dynamically.
So, can anyone suggest how i can improve my page loading performance ?Anil,
so in real - world terms, what you are saying is that a Ferrari 360 which has a weight of 1,350 kg is slower than a FIAT Panda, which only weights 840 kg. There is a catch to this theory of yours:
1. ADF Faces is based on JavaServer Faces, which is a component based framework for writing web based applications. Renderer classes are used to build the user front end. It is not the intention of JSF to allow application developers - but component developers - to tweak the generated component output. If you want something lean, use the default JSF HTML component set, which comes extremely light (but also with less functionality - like a Fiat Panda)
2. Performance is not alone defined by the HTML downloaded to a client - especially given that static HTML can be cached in browsers and ADF supports page templating for this. There are other factors that play in to this like network bandwidth, latency, query time, business logic execution time, image sizes, CSS and JavaScript
3. The real load in ADF Faces, as in other AJAX frameworks, is JavaScript. Most of the ADF Faces functionality is created dynamically on the client side using JavaScript objects
4. ADF Faces has more complex components than HTML. If you compare a HTML table with the table rendered in ADF, you see a difference in the look and behavior
Btw, here's the tuning guide for ADF: http://download.oracle.com/docs/cd/E21764_01/core.1111/e10108/adf.htm#CIHHGADG . You also may want to test and consider partial page navigation, which speeds up page to page navigation big times.
Frank -
BPM- ADF binding files architecture for ADF human taskflow.
Hi,
I wast to know what is the architecture behind the hundreds of the file generated for the BPM adf integration for the human taskflow.
Is there any method of debugging why data coming to BPM human taskflow is not coming properly to ADF.
I appeciate any debug pointers, although these files are clearly xml files and we have no control over generation of these files but still we want to know how data been populated and how if any error occured of data corruption, how we will resolve.
REF we are facing major issues with the data corruption issues with the ADF BPM components.
Thanks
VIpinHi Vipin
This post has an interesting discussion related to your question. I am glad BPM is infact generating all these complex xml files behind the screens and taking care of so many things. Thanks to ADF framework. Yes, I totally agree, debugging may be nightmare to begin with. But with divide and rule, you can get over it. End of the Day its just pure Workflow and a complex ADF. ADF can be stripped out carefully and run all the actonis from a normal web application. If we design properly as pure SOA, we create back end services like EJBs that can be consumed from WebServices or ADF Layer. Once we have this we can integrate these Services into any BPM Process.
Re: Integrating BPM taskflows into an ADF application
Now, coming back to your questions:
1. You have a Complex BPM Process with complex BO (business objects), Arrays of BOs. I hope you have XSD for your BOs and using them only you created BusinesObjects and ProcessDataObjects. Now lets assume you have a BPM Process that uses this complex data structure. Lets take a very first Human Task initiaor who may see a Task Details page with your compelx objects. Lets say, in Task Details page, he says a header section with 10 fields. Another section with a Table of Multiple Rows and columns (arrays of Data), etc etc.
2. NOW the main question is, when this User Saves or Submits the Task, you should be doing something with that Data ? Am I right. Are you Saving it to any Database or everything is in the Payload itself. If so, I hope you have complex. If its payload itself, then I hope you have a complex strucutre to pass arrays of data through out the process.
3. Assuming all this gets Stored into backend Database. Lets not worry about retrieving it back when task goes to second user. Always Payload will store the key IDs lke dataId like OrderId, CustomerId etc and using that it can pull any data from backend and show on task details page.
4. This is where the ADF comes into picture. So even before you integrate your complex backend data with Process, first create a simple WebAppilcation. If you have EJB methods to handle this data, you create Data controls, bindings. Bindings will help generate the Screens. So you can first test your application completely here. Once all this is working, thats when you call these Services from your Process.
And beauty is with new release of BPM Suite (should be in BPM 11.5 + FP (Feature Pack)), they have a concept of Simulation. This should help you to simulate the Process without any real data and JUST focus and test on the Flow of the Process. This comes real handy for testing.
And for the data used in your process, you have ADF Tools to create stand alone ADF Application.
We have some applications like yours with very complex data structure, arrays that gets stored like in 25 tables with references going everywhere. First we built a simple data layer using EJBs and JPA layer (JPA Entities). These Entities have annotated methods to take care of most of the things. In the EJB we exposed some generic methods instead of adf generating them, due to complex data structre. Then we created data controls and bindings. Create Custom JSPX Files. This is where we ended up having our own Layout for the Data. I hope you have already seen by default, task details layout page generated is NOT usabe at all. It generates all the data in one Single Long column. We do not use that. Since we know data, we created our own Task details page. The only thing we add is the Actions bar and comments and attachment section. When you auto generate a taskdetails page for any .TASK file, you will see DataBindins created for Payload, Actions, and also separately for coments and attachmetns. Just drag these comments and attachments on to your page and define your own layout.
Re: deploying a large Oracle BPM Application with multiple UI projects (Single taskdetails for multiple UIs and Tasks)
Re: What exactly 'PAYLOAD' Means??? (Simple definition for Payload word referred in any Process)
If you see one of the old posts, there is a way to reuse just one Single TaskDetals page for Multiple different Human .TASK files. All that matters iis the top Actions Menu that are differenet for each human task like someone can Submit, someone can only Approve or Reject etc. We can club all these Actions into single actionsMenu.jsff and put this on TaskDetails page and assing to all the .task files. Menus are automatically disabled/enabled using workflow APIs. You do not need any special coding for them. Look at code snipet for any actions button that has like isAllowedAction and pass the name of the action. Workflow APIs see if that .TASK file has a Action named with that internally.
In conclusion, there is a decent clear gap between Process and the ADF Generated Task Details page.
Thanks
Ravi Jegga -
Error while generating CW kin for the new BG created for Taiwan
HiAll,
Please provide your help to resolve this issue,
Iam getting error while generating CW kin for the new BG created for Taiwan, China.
Error : Value TW is not a Valid context for the Descriptive Flexfield Person Developer DF.
Please let me know, is there any step missed to create CW kins for new BG's.
Thanks-
Sowmya.
Edited by: user13419037 on Jul 2, 2012 3:41 AMHello ,
Your solution can be solved by enabling the displayed check Box in Location Address DFF
Thanks
Bindu -
CBO generating different plans for the same data in similar Environments
Hi All
I have been trying to compare an SQL from 2 different but similar environments build of the same hardware specs .The issue I am facing is environment A, the query executes in less than 2 minutes with plan mostly showing full table scans and hash join whereas in environment B(problematic), it times out after 2 hours with an error of unable to extend table space . The statistics are up to date in both environments for both tables and indexes . System parameters are exactly similar(default oracle for except for multiblock_read_count ).
Both Environment have same db parameter for db_file_multiblock_read_count(16), optimizer(refer below),hash_area_size (131072),pga_aggregate_target(1G),db_block_size(8192) etc . SREADTIM, MREADTIM, CPUSPEED, MBRC are all null in aux_stats in both environment because workload was never collected i believe.
Attached is details about the SQL with table stats, SQL and index stats my main concern is CBO generating different plans for the similar data and statistics and same hardware and software specs. Is there any thing else I should consider .I generally see environment B being very slow and always plans tend to nested loops and index scan whereas what we really need is a sensible FTS in many cases. One of the very surprising thing is METER_CONFIG_HEADER below which has just 80 blocks of data is being asked for index scan.
show parameter optimizer
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 10.2.0.4
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
**Environment**
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Note: : There are slight difference in the no of records in the attached sheet.However, I wanted to tell that i have tested with exact same data and was getting similar results but I couldn't retain the data untill collecting the details in the attachment
TEST1 COMPARE TABLE LEVE STATS used by CBO
ENVIRONMENT A
TABLE_NAME NUM_ROWS BLOCKS LAST_ANALYZED
ASSET 3607425 167760 5/02/2013 22:11
METER_CONFIG_HEADER 3658 80 5/01/2013 0:07
METER_CONFIG_ITEM 32310 496 5/01/2013 0:07
NMI 1899024 33557 18/02/2013 10:55
REGISTER 4830153 101504 18/02/2013 9:57
SDP_LOGICAL_ASSET 1607456 19137 18/02/2013 15:48
SDP_LOGICAL_REGISTER 5110781 78691 18/02/2013 9:56
SERVICE_DELIVERY_POINT 1425890 42468 18/02/2013 13:54
ENVIRONMENT B
TABLE_NAME NUM_ROWS BLOCKS LAST_ANALYZED
ASSET 4133939 198570 16/02/2013 10:02
METER_CONFIG_HEADER 3779 80 16/02/2013 10:55
METER_CONFIG_ITEM 33720 510 16/02/2013 10:55
NMI 1969000 33113 16/02/2013 10:58
REGISTER 5837874 120104 16/02/2013 11:05
SDP_LOGICAL_ASSET 1788152 22325 16/02/2013 11:06
SDP_LOGICAL_REGISTER 6101934 91088 16/02/2013 11:07
SERVICE_DELIVERY_POINT 1447589 43804 16/02/2013 11:11
TEST ITEM 2 COMPARE INDEX STATS used by CBO
ENVIRONMENT A
TABLE_NAME INDEX_NAME UNIQUENESS BLEVEL LEAF_BLOCKS DISTINCT_KEYS AVG_LEAF_BLOCKS_PER_KEY AVG_DATA_BLOCKS_PER_KEY CLUSTERING_FACTOR NUM_ROWS
ASSET IDX_AST_DEVICE_CATEGORY_SK NONUNIQUE 2 9878 67 147 12982 869801 3553095
ASSET IDX_A_SAPINTLOGDEV_SK NONUNIQUE 2 7291 2747 2 639 1755977 3597916
ASSET SYS_C00102592 UNIQUE 2 12488 3733831 1 1 3726639 3733831
METER_CONFIG_HEADER SYS_C0092052 UNIQUE 1 12 3670 1 1 3590 3670
METER_CONFIG_ITEM SYS_C0092074 UNIQUE 1 104 32310 1 1 32132 32310
NMI IDX_NMI_ID NONUNIQUE 2 6298 844853 1 2 1964769 1965029
NMI IDX_NMI_ID_NK NONUNIQUE 2 6701 1923072 1 1 1922831 1923084
NMI IDX_NMI_STATS NONUNIQUE 1 106 4 26 52 211 211
REGISTER REG_EFFECTIVE_DTM NONUNIQUE 2 12498 795 15 2899 2304831 4711808
REGISTER SYS_C00102653 UNIQUE 2 16942 5065660 1 1 5056855 5065660
SDP_LOGICAL_ASSET IDX_SLA_SAPINTLOGDEV_SK NONUNIQUE 2 3667 1607968 1 1 1607689 1607982
SDP_LOGICAL_ASSET IDX_SLA_SDP_SK NONUNIQUE 2 3811 668727 1 2 1606204 1607982
SDP_LOGICAL_ASSET SYS_C00102665 UNIQUE 2 5116 1529606 1 1 1528136 1529606
SDP_LOGICAL_REGISTER SYS_C00102677 UNIQUE 2 17370 5193638 1 1 5193623 5193638
SERVICE_DELIVERY_POINT IDX_SDP_NMI_SK NONUNIQUE 2 4406 676523 1 2 1423247 1425890
SERVICE_DELIVERY_POINT IDX_SDP_SAP_INT_NMI_SK NONUNIQUE 2 7374 676523 1 2 1458238 1461108
SERVICE_DELIVERY_POINT SYS_C00102687 UNIQUE 2 4737 1416207 1 1 1415022 1416207
ENVIRONMENT B
TABLE_NAME INDEX_NAME UNIQUENESS BLEVEL LEAF_BLOCKS DISTINCT_KEYS AVG_LEAF_BLOCKS_PER_KEY AVG_DATA_BLOCKS_PER_KEY CLUSTERING_FACTOR NUM_ROWS
ASSET IDX_AST_DEVICE_CATEGORY_SK NONUNIQUE 2 8606 121 71 16428 1987833 4162257
ASSET IDX_A_SAPINTLOGDEV_SK NONUNIQUE 2 8432 1780146 1 1 2048170 4162257
ASSET SYS_C00116157 UNIQUE 2 13597 4162263 1 1 4158759 4162263
METER_CONFIG_HEADER SYS_C00116570 UNIQUE 1 12 3779 1 1 3734 3779
METER_CONFIG_ITEM SYS_C00116592 UNIQUE 1 107 33720 1 1 33459 33720
NMI IDX_NMI_ID NONUNIQUE 2 6319 683370 1 2 1970460 1971313
NMI IDX_NMI_ID_NK NONUNIQUE 2 6597 1971293 1 1 1970771 1971313
NMI IDX_NMI_STATS NONUNIQUE 1 98 48 2 4 196 196
REGISTER REG_EFFECTIVE_DTM NONUNIQUE 2 15615 1273 12 2109 2685924 5886582
REGISTER SYS_C00116748 UNIQUE 2 19533 5886582 1 1 5845565 5886582
SDP_LOGICAL_ASSET IDX_SLA_SAPINTLOGDEV_SK NONUNIQUE 2 4111 1795084 1 1 1758441 1795130
SDP_LOGICAL_ASSET IDX_SLA_SDP_SK NONUNIQUE 2 4003 674249 1 2 1787987 1795130
SDP_LOGICAL_ASSET SYS_C004520 UNIQUE 2 5864 1795130 1 1 1782147 1795130
SDP_LOGICAL_REGISTER SYS_C004539 UNIQUE 2 20413 6152850 1 1 6073059 6152850
SERVICE_DELIVERY_POINT IDX_SDP_NMI_SK NONUNIQUE 2 3227 660649 1 2 1422572 1447803
SERVICE_DELIVERY_POINT IDX_SDP_SAP_INT_NMI_SK NONUNIQUE 2 6399 646257 1 2 1346948 1349993
SERVICE_DELIVERY_POINT SYS_C00128706 UNIQUE 2 4643 1447946 1 1 1442796 1447946
TEST ITEM 3 COMPARE PLANS
ENVIRONMENT A
Plan hash value: 4109575732
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 13 | 2067 | | 135K (2)| 00:27:05 |
| 1 | HASH UNIQUE | | 13 | 2067 | | 135K (2)| 00:27:05 |
|* 2 | HASH JOIN | | 13 | 2067 | | 135K (2)| 00:27:05 |
|* 3 | HASH JOIN | | 6 | 900 | | 135K (2)| 00:27:04 |
|* 4 | HASH JOIN ANTI | | 1 | 137 | | 135K (2)| 00:27:03 |
|* 5 | TABLE ACCESS BY INDEX ROWID| NMI | 1 | 22 | | 5 (0)| 00:00:01 |
| 6 | NESTED LOOPS | | 1 | 131 | | 95137 (2)| 00:19:02 |
|* 7 | HASH JOIN | | 1 | 109 | | 95132 (2)| 00:19:02 |
|* 8 | TABLE ACCESS FULL | ASSET | 36074 | 1021K| | 38553 (2)| 00:07:43 |
|* 9 | HASH JOIN | | 90361 | 7059K| 4040K| 56578 (2)| 00:11:19 |
|* 10 | HASH JOIN | | 52977 | 3414K| 2248K| 50654 (2)| 00:10:08 |
|* 11 | HASH JOIN | | 39674 | 1782K| | 40101 (2)| 00:08:02 |
|* 12 | TABLE ACCESS FULL | REGISTER | 39439 | 1232K| | 22584 (2)| 00:04:32 |
|* 13 | TABLE ACCESS FULL | SDP_LOGICAL_REGISTER | 4206K| 56M| | 17490 (2)| 00:03:30 |
|* 14 | TABLE ACCESS FULL | SERVICE_DELIVERY_POINT | 675K| 12M| | 9412 (2)| 00:01:53 |
|* 15 | TABLE ACCESS FULL | SDP_LOGICAL_ASSET | 1178K| 15M| | 4262 (2)| 00:00:52 |
|* 16 | INDEX RANGE SCAN | IDX_NMI_ID_NK | 2 | | | 2 (0)| 00:00:01 |
| 17 | VIEW | | 39674 | 232K| | 40101 (2)| 00:08:02 |
|* 18 | HASH JOIN | | 39674 | 1046K| | 40101 (2)| 00:08:02 |
|* 19 | TABLE ACCESS FULL | REGISTER | 39439 | 500K| | 22584 (2)| 00:04:32 |
|* 20 | TABLE ACCESS FULL | SDP_LOGICAL_REGISTER | 4206K| 56M| | 17490 (2)| 00:03:30 |
|* 21 | TABLE ACCESS FULL | METER_CONFIG_HEADER | 3658 | 47554 | | 19 (0)| 00:00:01 |
|* 22 | TABLE ACCESS FULL | METER_CONFIG_ITEM | 7590 | 68310 | | 112 (2)| 00:00:02 |
Predicate Information (identified by operation id):
2 - access("METER_CONFIG_HEADER_SK"="METER_CONFIG_HEADER_SK")
3 - access("NETWORK_TARIFF_CD"="NETWORK_TARIFF_CD")
4 - access("SERVICE_DELIVERY_POINT_SK"="TMP"."SERVICE_DELIVERY_POINT_SK")
5 - filter("ROW_CURRENT_IND"='Y' AND ("NMI_STATUS_CD"='A' OR "NMI_STATUS_CD"='D'))
7 - access("ASSET_CD"="EQUIP_CD" AND "SAP_INT_LOG_DEVICE_SK"="SAP_INT_LOG_DEVICE_SK")
8 - filter("ROW_CURRENT_IND"='Y')
9 - access("SERVICE_DELIVERY_POINT_SK"="SERVICE_DELIVERY_POINT_SK")
10 - access("SERVICE_DELIVERY_POINT_SK"="SERVICE_DELIVERY_POINT_SK")
11 - access("SAP_INT_LOGICAL_REGISTER_SK"="SAP_INT_LOGICAL_REGISTER_SK")
12 - filter("REGISTER_TYPE_CD"='C' AND (SUBSTR("REGISTER_ID_CD",1,1)='4' OR
SUBSTR("REGISTER_ID_CD",1,1)='5' OR SUBSTR("REGISTER_ID_CD",1,1)='6') AND "ROW_CURRENT_IND"='Y')
13 - filter("ROW_CURRENT_IND"='Y')
14 - filter("ROW_CURRENT_IND"='Y')
15 - filter("ROW_CURRENT_IND"='Y')
16 - access("NMI_SK"="NMI_SK")
18 - access("SAP_INT_LOGICAL_REGISTER_SK"="SAP_INT_LOGICAL_REGISTER_SK")
19 - filter("REGISTER_TYPE_CD"='C' AND (SUBSTR("REGISTER_ID_CD",1,1)='1' OR
SUBSTR("REGISTER_ID_CD",1,1)='2' OR SUBSTR("REGISTER_ID_CD",1,1)='3') AND "ROW_CURRENT_IND"='Y')
20 - filter("ROW_CURRENT_IND"='Y')
21 - filter("ROW_CURRENT_IND"='Y')
22 - filter("ROW_CURRENT_IND"='Y' AND "CONROL_REGISTER"='X')
ENVIRONMENT B
Plan hash value: 2826260434
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 181 | 103K (2)| 00:20:47 |
| 1 | HASH UNIQUE | | 1 | 181 | 103K (2)| 00:20:47 |
|* 2 | HASH JOIN ANTI | | 1 | 181 | 103K (2)| 00:20:47 |
|* 3 | HASH JOIN | | 1 | 176 | 56855 (2)| 00:11:23 |
|* 4 | HASH JOIN | | 1 | 163 | 36577 (2)| 00:07:19 |
|* 5 | TABLE ACCESS BY INDEX ROWID | ASSET | 1 | 44 | 4 (0)| 00:00:01 |
| 6 | NESTED LOOPS | | 1 | 131 | 9834 (2)| 00:01:59 |
| 7 | NESTED LOOPS | | 1 | 87 | 9830 (2)| 00:01:58 |
| 8 | NESTED LOOPS | | 1 | 74 | 9825 (2)| 00:01:58 |
|* 9 | HASH JOIN | | 1 | 52 | 9820 (2)| 00:01:58 |
|* 10 | TABLE ACCESS BY INDEX ROWID| METER_CONFIG_HEADER | 1 | 14 | 1 (0)| 00:00:01 |
| 11 | NESTED LOOPS | | 1 | 33 | 116 (2)| 00:00:02 |
|* 12 | TABLE ACCESS FULL | METER_CONFIG_ITEM | 1 | 19 | 115 (2)| 00:00:02 |
|* 13 | INDEX RANGE SCAN | SYS_C00116570 | 1 | | 1 (0)| 00:00:01 |
|* 14 | TABLE ACCESS FULL | SERVICE_DELIVERY_POINT | 723K| 13M| 9699 (2)| 00:01:57 |
|* 15 | TABLE ACCESS BY INDEX ROWID | NMI | 1 | 22 | 5 (0)| 00:00:01 |
|* 16 | INDEX RANGE SCAN | IDX_NMI_ID_NK | 2 | | 2 (0)| 00:00:01 |
|* 17 | TABLE ACCESS BY INDEX ROWID | SDP_LOGICAL_ASSET | 1 | 13 | 5 (0)| 00:00:01 |
|* 18 | INDEX RANGE SCAN | IDX_SLA_SDP_SK | 2 | | 2 (0)| 00:00:01 |
|* 19 | INDEX RANGE SCAN | IDX_A_SAPINTLOGDEV_SK | 2 | | 2 (0)| 00:00:01 |
|* 20 | TABLE ACCESS FULL | REGISTER | 76113 | 2378K| 26743 (2)| 00:05:21 |
|* 21 | TABLE ACCESS FULL | SDP_LOGICAL_REGISTER | 5095K| 63M| 20245 (2)| 00:04:03 |
| 22 | VIEW | | 90889 | 443K| 47021 (2)| 00:09:25 |
|* 23 | HASH JOIN | | 90889 | 2307K| 47021 (2)| 00:09:25 |
|* 24 | TABLE ACCESS FULL | REGISTER | 76113 | 966K| 26743 (2)| 00:05:21 |
|* 25 | TABLE ACCESS FULL | SDP_LOGICAL_REGISTER | 5095K| 63M| 20245 (2)| 00:04:03 |
Predicate Information (identified by operation id):
2 - access("SERVICE_DELIVERY_POINT_SK"="TMP"."SERVICE_DELIVERY_POINT_SK")
3 - access("SERVICE_DELIVERY_POINT_SK"="SERVICE_DELIVERY_POINT_SK" AND
"SAP_INT_LOGICAL_REGISTER_SK"="SAP_INT_LOGICAL_REGISTER_SK")
4 - access("ASSET_CD"="EQUIP_CD")
5 - filter("ROW_CURRENT_IND"='Y')
9 - access("NETWORK_TARIFF_CD"="NETWORK_TARIFF_CD")
10 - filter("ROW_CURRENT_IND"='Y')
12 - filter("ROW_CURRENT_IND"='Y' AND "CONROL_REGISTER"='X')
13 - access("METER_CONFIG_HEADER_SK"="METER_CONFIG_HEADER_SK")
14 - filter("ROW_CURRENT_IND"='Y')
15 - filter("ROW_CURRENT_IND"='Y' AND ("NMI_STATUS_CD"='A' OR "NMI_STATUS_CD"='D'))
16 - access("NMI_SK"="NMI_SK")
17 - filter("ROW_CURRENT_IND"='Y')
18 - access("SERVICE_DELIVERY_POINT_SK"="SERVICE_DELIVERY_POINT_SK")
19 - access("SAP_INT_LOG_DEVICE_SK"="SAP_INT_LOG_DEVICE_SK")
20 - filter((SUBSTR("REGISTER_ID_CD",1,1)='4' OR SUBSTR("REGISTER_ID_CD",1,1)='5' OR
SUBSTR("REGISTER_ID_CD",1,1)='6') AND "REGISTER_TYPE_CD"='C' AND "ROW_CURRENT_IND"='Y')
21 - filter("ROW_CURRENT_IND"='Y')
23 - access("SAP_INT_LOGICAL_REGISTER_SK"="SAP_INT_LOGICAL_REGISTER_SK")
24 - filter((SUBSTR("REGISTER_ID_CD",1,1)='1' OR SUBSTR("REGISTER_ID_CD",1,1)='2' OR
SUBSTR("REGISTER_ID_CD",1,1)='3') AND "REGISTER_TYPE_CD"='C' AND "ROW_CURRENT_IND"='Y')
25 - filter("ROW_CURRENT_IND"='Y')Edited by: abhilash173 on Feb 24, 2013 9:16 PM
Edited by: abhilash173 on Feb 24, 2013 9:18 PMHi Paul,
I misread your question initially .The system stats are outdated in both ( same result as seen from aux_stats) .I am not a DBA and do not have access to gather system stats fresh.
select * from sys.aux_stats$
SNAME PNAME PVAL1 PVAL2
SYSSTATS_INFO STATUS NULL COMPLETED
SYSSTATS_INFO DSTART NULL 02-16-2011 15:24
SYSSTATS_INFO DSTOP NULL 02-16-2011 15:24
SYSSTATS_INFO FLAGS 1 NULL
SYSSTATS_MAIN CPUSPEEDNW 1321.20523 NULL
SYSSTATS_MAIN IOSEEKTIM 10 NULL
SYSSTATS_MAIN IOTFRSPEED 4096 NULL
SYSSTATS_MAIN SREADTIM NULL NULL
SYSSTATS_MAIN MREADTIM NULL NULL
SYSSTATS_MAIN CPUSPEED NULL NULL
SYSSTATS_MAIN MBRC NULL NULL
SYSSTATS_MAIN MAXTHR NULL NULL
SYSSTATS_MAIN SLAVETHR NULL NULL -
How to use 2 Iphones with 2 difference IDs in one computer
I and my girlfriend have 2 difference apple IDs. I am going to buy iphone 5s and will transfer my old iphone 5 to my girlfriend. She and I have difference music, difference app. What can i do to use 2 apple IDs for 2 iPhone in one computer without sharing anything (music, app, photo, etc.). Last time she connect her iphone 4s to my computer, her app were transfered to my library. I don't want it to happen again.
http://support.apple.com/kb/TS1323
http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf
The iphone is designed to be synced with a computer. It is not a stand alone device. If the only place the contacts are is the iphone, then this (in my opinion) is a major mistake and not the way the iphone was designed. -
Change color for validation box
Hi,
I am using JDev 11.1.1.6.0.
If i have required="true" validation on an input text, Red color box surrounds and shows the validation.
Is there any way to change the color of that box?
Thanks
NitishIf there is any you have to use skinning. For this you have to find out which selector is used for the box. You can disable the style compression in your web.xml and run the app, then when you see the box use firebug or any other tool which allows to inspect the page elements. If you select the box you should see the style class names. They normally are the same as the corresponding skin selectors (there is a syntax difference, but you get it when you see it )
Timo -
Exact Steps to Generate Installation keys for other systems In SolMgr4.0
Hi friends,
Please provide me exact Steps to Generate Installation keys for other systems In SolMgr 4.0 SR1.
I have steps to make this thing in solmgr 3.2 as please change as it in solmgr4.0 sr1
txn SMSY
Expand Landscape components -> Systems
Right click on Systems ->New System
Type SAPID, & Installation No. (S44 , 0040099252) & sAVE
Expand Newly Added system
Right Click & Create
Now we can use the key provided by the system.
Please make required changes as applicable in solmgr4.0 So that I can proceed.
Also clear vat is the difference between ECC & ERP as solmgr4.0 mention both as two systems.
Thanks & regards
Jaswant
+91 9949676055
Cheers 'N' JoyceHi Jaswant,
to generate a Solution Manager Key you can process a little bit easier.
Call transaction SMSY, press shift+F5 (you get the "other objects" popup).
As System enter the SID of your Solution Manager.
->select gen.Installation/Upgrade Key (shiftctrlF10))
then you get a new popup. In this popup you DELETE all values, enter SID of the new system, the message server of the new system and the system number of the new system. Then press generate key.
With this procedure you do not have to add the system to SMSY to generate the key.
Later you should add it to SMSY, maybe you have added an SLD to SMSY then the system will be added automatically. If not you have to add it manually.
Second question ERP <> ECC
Good question, ECC is part (a main instance) of ERP, so it is up to you if you classify your system as an ERP or ECC.
Regards,
Udo Lang -
Hide/Show a Panel group or Panel Box with a command link
I need to show and hide a panel group/box that has a lot of components inside ..with a command link ...I need to do this with partial submit ....please advise.
<af:commandLink >
hide the panel box with all the comps inside it ..change commandlink text ....
use the same command link to show the panel box and change the command link
text back
</af:commandLink>
<af:panelGroup layout="vertical">
<af:panelBox>
<af:panelGroup>
ALOT of components .......
</af:panelGroup>
</af:panelBox>
</af:panelGroup>
I tried with partial trigger ..I tried everything i know ..it did not work .....it only worked I do a I full submit and setting some processScope(session) variables ..
Thanks.Hi,
- have a managed bean in session scope
- define a boolean variable that is set to true
- expose the variable through a public method
- use EL on the panelBox rendered property to link to this boolean method
- define an action listener on the command link and set the autosubmit property to true
- use the action listener to set the boolean value
- define a value for the ID property of the command link
- set the ID vaule to the PartialTrigger property of the panelGroup component
Frank -
Remove panel box in search criteria
Hi!
I am using jdeveloper 11.1.1.5
I had dragged and dropped my view criteria in y jspx page
I need to remove the panel box which had been set default to the querry
Could any body pls help meHi,
how about this one
<af:query id="qryId1" headerText=" Search" disclosed="true"
value=""
model="}"
queryListener=""
queryOperationListener="}"
displayMode="compact" saveQueryMode="hidden" rows="2" maxColumns="2">
<f:verbatim>
<blockquote>
<p>
</p>
</blockquote>
</f:verbatim>
<f:facet name="toolbar"/>
<f:facet name="footer"/> // look like you added some button here
<f:facet name="info"/>
</af:query>
JDeveloper generated Default query like,
<af:panelHeader>
<af:query>
</af:query>
</af:panelHeader>
your one is look like(I"m not sure)
<af:panelBox text="General Journal">
<af:panelHeader>
<af:query>
</af:query>
<af:panelHeader>
<af:panelCollection>
<af:table>
</af:panelCollection>
<af:panelBox>
if I were you, I will use panlesplitter like this,
<af:panelSplitter id="" splitterPosition="" orientation="vertical" disabled="false">
<f:facet name="first">
<af:panelHeader text=" General Journal ">
<af:query>
</af:query>
</af:panelHeader>
</f:facet>
<f:facet name="second">
<af:panelCollection>
<af:table>
</af:table>
</af:panelCollection>
</facet>
</af:panelSplitter>
Regards
KT
Edited by: KT on Dec 8, 2011 12:20 PM
Edited by: KT on Dec 8, 2011 12:21 PM
Edited by: KT on Dec 8, 2011 12:22 PM
Maybe you are looking for
-
Hi, i really need help... I think i by accident deleted the "download manager" i´m not shore what the program is called in English ( Swedish : filhämtaren), but its symbol looks like a grey little box and when you download a file it appears on a list
-
How do I fix error 126 in installing the latest itunes update?
How do I fix windows error 126 in installing the latest itunes update?
-
I recently installed OS X Mountain Lion on my MacBook and got the new iMessages application with it. It's nice, but every time I video chat with someone who doesn't have mountain lion it disconnects saying it hasn't received data in 10 seconds. Last
-
Respected gurus, while i am in f-53 ,i got one error,to see that error if i double click on that one it gives some message no 3245,how can i find out that error description. regards jana
-
Why won't my tabs close when I close a window?
I click the "X" in the top corner to close out the window. When I open Firefox after, the tabs from the previous window reopen. Before, if I closed the window the tabs would close too unless there was some sort of issue. There doesn't appear to be an