<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8668672897850605330</id><updated>2012-01-29T16:02:16.156-08:00</updated><category term='Tuning'/><category term='Input field'/><category term='AM Pooling'/><category term='Dialog'/><category term='Migration'/><category term='Menu items'/><category term='graphs'/><category term='Security'/><category term='SOA'/><category term='Oracle Ace'/><category term='misc'/><category term='Train'/><category term='jdeveloper'/><category term='Cascading'/><category term='WorkArounds'/><category term='User Customization'/><category term='View Criteria'/><category term='Table'/><category term='Database'/><category term='Access Keys'/><category term='Region'/><category term='combo box'/><category term='Validations'/><category term='Choice List'/><category term='New Features'/><category term='MDS'/><category term='RowIterator'/><category term='LOV'/><category term='Transaction Management'/><title type='text'>ADF BUGS FACTS &amp; Workarounds</title><subtitle type='html'>What is a bug? especialy in a framework that is used to develop applications? Is it only something that is described diferently in manual? I will be writing more about that in this blog by presenting the functionality of the framework i am working on. Jdeveloper 11 and fusion applications</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default?start-index=101&amp;max-results=100'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>116</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-1196684350213400653</id><published>2011-12-20T01:33:00.000-08:00</published><updated>2011-12-20T01:49:57.185-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Access Keys'/><category scheme='http://www.blogger.com/atom/ns#' term='Dialog'/><title type='text'>Access Keys are accessible even from a modal popup</title><content type='html'>When a popup is open in a page in default (modal) mode then the rest of  the components of the page are not accessible with mouse, yet if buttons  have Access keys they are still functional allowing the user to brake  the functionality.&lt;br /&gt;&lt;br /&gt;n the attached test case run testpopup page&lt;br /&gt;Press Edit button to open popup&lt;br /&gt;Press Alt+Shift+c access key of Commit button&lt;br /&gt;&lt;br /&gt;Expected: Nothing should happen&lt;br /&gt;Actual: Commit is performed and popup is closed.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-lojvajesAbE/TvBYq78j7UI/AAAAAAAAAzk/ix5qY4IIxmY/s1600/popupAccessKey.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 227px;" src="http://1.bp.blogspot.com/-lojvajesAbE/TvBYq78j7UI/AAAAAAAAAzk/ix5qY4IIxmY/s400/popupAccessKey.jpg" alt="" id="BLOGGER_PHOTO_ID_5688143824038391106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/ShortcutKeyPopup.zip"&gt;Test case.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;SR is posted for this and Bug 13338347: ACCESS KEYS SHOLD BE DISABLED BASED ON THE CONTEXT&lt;br /&gt;&lt;br /&gt;Yet the Oracle development consider this as a Browser issue. &lt;span style="font-style: italic;"&gt;'The issue is not in the scope of the ADF Product as this is the feature of the browser. '&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We are working on a workaround about this issue.&lt;br /&gt;We are based on the fact that when a button is disabled then the access key is not functional.&lt;br /&gt;So on popup FetchListeners we disable the buttons of the main page and on popupCancelListeners we enable buttons again.&lt;br /&gt;It seems to work, yet we need to check any side effect and we need to implement it for all popups.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-1196684350213400653?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/1196684350213400653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/12/access-keys-are-accessible-even-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/1196684350213400653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/1196684350213400653'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/12/access-keys-are-accessible-even-from.html' title='Access Keys are accessible even from a modal popup'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-lojvajesAbE/TvBYq78j7UI/AAAAAAAAAzk/ix5qY4IIxmY/s72-c/popupAccessKey.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6084617344164094721</id><published>2011-10-06T00:10:00.000-07:00</published><updated>2011-10-14T02:56:11.097-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><title type='text'>Pressing 'Tab' in LOV field new bug in jdeveloper 11.1.2.1</title><content type='html'>Trying to evaluate latest version of jdeveloper 11.1.2.1 in order to migrate our applications that is still in 11.1.1.4 i hit on the following bug.&lt;br /&gt;&lt;br /&gt;While navigating through panel form fields with tab key, all validations of the page are thrown as if a full submit was performed.&lt;br /&gt;This happens when you have input list of value field and the focus is on the field and you press tab key. The input list of value is autosubmit in order to refresh other fields&lt;br /&gt;&lt;br /&gt;In the test case run testTab page and press CreateInsert button. Click on Department or Job List of value field and press Tab key. All validations of the page appear.&lt;br /&gt;I also notice that errors appear in Greek even though my browser language is in English.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-jLHqvmPHCY4/To1WpmPT0sI/AAAAAAAAAzA/sqUY2ODKdf0/s1600/LOVTab.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 292px;" src="http://1.bp.blogspot.com/-jLHqvmPHCY4/To1WpmPT0sI/AAAAAAAAAzA/sqUY2ODKdf0/s400/LOVTab.jpg" alt="" id="BLOGGER_PHOTO_ID_5660275579313967810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestLOVTab.zip"&gt;http://adfbugs.googlecode.com/files/TestLOVTab.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Bug 11939353 was already logged in oracle support which is fixed in a future release.&lt;br /&gt;&lt;br /&gt;also in OTN Thread: Validation issue&lt;br /&gt;&lt;a href="https://forums.oracle.com/forums/thread.jspa?threadID=2254388&amp;amp;start=15&amp;amp;tstart=0"&gt;https://forums.oracle.com/forums/thread.jspa?threadID=2254388&amp;amp;start=15&amp;amp;tstart=0&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;According to this thread a workaround exist in Didier's blog:&lt;br /&gt;&lt;a href="http://blogs.oracle.com/Didier/entry/how_to_avoid_the_jbo27014_erro"&gt;How To Avoid The JBO-27014 Error During The AutoSubmit&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6084617344164094721?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6084617344164094721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/10/pressing-tab-in-lov-field-new-bug-in.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6084617344164094721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6084617344164094721'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/10/pressing-tab-in-lov-field-new-bug-in.html' title='Pressing &apos;Tab&apos; in LOV field new bug in jdeveloper 11.1.2.1'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-jLHqvmPHCY4/To1WpmPT0sI/AAAAAAAAAzA/sqUY2ODKdf0/s72-c/LOVTab.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4484923819231619570</id><published>2011-08-28T02:49:00.000-07:00</published><updated>2011-08-28T04:47:06.429-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Region'/><title type='text'>Cannot use a region in a page more than one time?</title><content type='html'>In our application we use regions for reusability and consistency.&lt;br /&gt;For example we have An address region that we reuse in order to show and edit a person address and a company address. We pass the address owner as a parameter to the region in order to show corresponding data.&lt;br /&gt;&lt;br /&gt;Yet if regions are placed in the same page then both regions show the same data even if they get different parameters.&lt;br /&gt;&lt;br /&gt;This is because of automatic application modules nesting.&lt;br /&gt;The framework see that AddressModule is already in data control and it use the same for both regions due to shared data control scope.&lt;br /&gt;&lt;br /&gt;It does not happen if we don't use shared data control scope, yet then we have a different database connection for each region. It does not seems right to have different connection to get different data!!?&lt;br /&gt;&lt;br /&gt;In the test case i have a simple Department Task flow that query for specific department depending on passed parameter inDepId&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-wu8-bANDFk8/TloQwHrbMiI/AAAAAAAAAyw/tSgzcdRGswE/s1600/regions1.jpg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 226px;" src="http://4.bp.blogspot.com/-wu8-bANDFk8/TloQwHrbMiI/AAAAAAAAAyw/tSgzcdRGswE/s400/regions1.jpg" alt="" id="BLOGGER_PHOTO_ID_5645843501743288866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Then in a page i place the same region 2 times with different parameter passed in each region.&lt;br /&gt;Yet when i run the application both regions show the same data.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-6dWjMlPp9_A/TloQ2AuA3QI/AAAAAAAAAy4/qg9JpG_qB8A/s1600/regions.jpg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 281px;" src="http://1.bp.blogspot.com/-6dWjMlPp9_A/TloQ2AuA3QI/AAAAAAAAAy4/qg9JpG_qB8A/s400/regions.jpg" alt="" id="BLOGGER_PHOTO_ID_5645843602954312962" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Is there a way to show different data without having different database connection?&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestRegions.rar"&gt;http://adfbugs.googlecode.com/files/TestRegions.rar&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4484923819231619570?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4484923819231619570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/08/cannot-use-region-in-page-more-than-one.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4484923819231619570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4484923819231619570'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/08/cannot-use-region-in-page-more-than-one.html' title='Cannot use a region in a page more than one time?'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-wu8-bANDFk8/TloQwHrbMiI/AAAAAAAAAyw/tSgzcdRGswE/s72-c/regions1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4362871882838724029</id><published>2011-08-16T06:10:00.000-07:00</published><updated>2011-10-18T12:45:27.933-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Region'/><category scheme='http://www.blogger.com/atom/ns#' term='Transaction Management'/><title type='text'>Rollback is executed when a region is refreshed</title><content type='html'>We are using Task flows as regions in jdeveloper 11.1.1.4 in the latest project.&lt;br /&gt;I have just noticed that when a region refreshes then a data control transaction rollback is executed transparently.&lt;br /&gt;This does not happen the first time the region is displayed but every time it is refreshed after that.&lt;br /&gt;This cause unexpected behavior of loosing data and the current rows of any other shared transaction task flow.&lt;br /&gt;&lt;br /&gt;Could this be an expected (designed) functionality? Why?&lt;br /&gt;&lt;br /&gt;As a test case I have 2 application modules (DepartmentsModule and Employees module) and a page that has departments and a region that has Employees with ‘share transaction if possible’ in the EmployeesTaskFlow.&lt;br /&gt;Also the EmployeesTaskFlow get as parameter the current DepartmentId and has Refresh condition ifNeeded so that it refresh every time I navigate into departments.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-wFyO-ottCcI/TkpsiyVBLhI/AAAAAAAAAyo/c5XHxHsOSj4/s1600/regionRollback.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5641440828116250130" style="width: 400px; height: 332px;" alt="" src="http://1.bp.blogspot.com/-wFyO-ottCcI/TkpsiyVBLhI/AAAAAAAAAyo/c5XHxHsOSj4/s400/regionRollback.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Yet when I press next button I loose any change made on current department and I stay in the same row.&lt;br /&gt;What I see in log is that Rollback is executed as a consequence of region Refresh and releaseViewPort.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-tVrkTHhOmQE/TkpseBfT8bI/AAAAAAAAAyg/Npg2lBucO2c/s1600/RegionRefreshRollback.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5641440746286608818" style="width: 400px; height: 170px;" alt="" src="http://4.bp.blogspot.com/-tVrkTHhOmQE/TkpseBfT8bI/AAAAAAAAAyg/Npg2lBucO2c/s400/RegionRefreshRollback.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Is this expected behavior or a bug?&lt;br /&gt;&lt;br /&gt;I will check also what happens in 11.1.2 that it seems the nesting implementation have changed:&lt;br /&gt;&lt;a href="http://one-size-doesnt-fit-all.blogspot.com/2011/08/task-flows-sayonara-auto-am-nesting-in.html"&gt;http://one-size-doesnt-fit-all.blogspot.com/2011/08/task-flows-sayonara-auto-am-nesting-in.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It reproduce also in 11.1.2&lt;br /&gt;&lt;br /&gt;Test Case&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestRegionRollback.zip"&gt;http://adfbugs.googlecode.com/files/TestRegionRollback.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A Perfect explanation and solution is given by Oracle Support. I will put it as is here:&lt;br /&gt;@ At the point when the customer decided the region should share the&lt;br /&gt;@ transaction with its parent, he also made the region a potential actor on the&lt;br /&gt;@ parent transaction. Since the transaction mode on the region is not 'Always&lt;br /&gt;@ Use Existing Transaction', the region transaction is not necessarily created&lt;br /&gt;@ by the parent (and I will come back to that later),  the behavior of the&lt;br /&gt;@ region becomes the behavior of the parent even if they don't share the same&lt;br /&gt;@ datacontrol. That is because both datacontrol are in one transaction since&lt;br /&gt;@ the transaction is shared. When the region refresh, it rollback the&lt;br /&gt;@ transaction which rollback both datacontrol.&lt;br /&gt;@ .&lt;br /&gt;@ To make the share mode work, the main point the customer should pay attention&lt;br /&gt;@ to is that the transaction should be created by the parent, not by the&lt;br /&gt;@ region. If it is created by the region, then the region become the owner of&lt;br /&gt;@ the transaction and will rollback when the region is refreshed. If the&lt;br /&gt;@ transaction was created by the parent it will work as expected.&lt;br /&gt;@ .&lt;br /&gt;@ What you need to do is ensure that the transaction is owned by the parent.&lt;br /&gt;@ You need to have it created before the region. They are several ways to do&lt;br /&gt;@ that:&lt;br /&gt;@ 1) Have the parent page in a bounded taskflow with 'Always Begin New&lt;br /&gt;@ Transaction' mode on.&lt;br /&gt;@ 2) Call beginTransaction() on the DataControlFrame in an action that&lt;br /&gt;@ navigates to the parent page with the region.&lt;br /&gt;@ 3) Have a method activity that executes beginTransaction() on a request bean&lt;br /&gt;@ before navigating to the parent page with the region.&lt;br /&gt;@ The code to do begin the transaction is:&lt;br /&gt;@ .&lt;br /&gt;@   public void beginTransaction()&lt;br /&gt;@   {&lt;br /&gt;@     BindingContext context = BindingContext.getCurrent();&lt;br /&gt;@ .&lt;br /&gt;@     String dcFrameName = context.getCurrentDataControlFrame();&lt;br /&gt;@     DataControlFrame dcFrame = context.findDataControlFrame(dcFrameName);&lt;br /&gt;@     dcFrame.beginTransaction(new TransactionProperties());&lt;br /&gt;@   }&lt;br /&gt;@ .&lt;br /&gt;@ To prevent the region from owning the transaction and run into these types of&lt;br /&gt;@ issue for share mode, you can set the transaction mode on the taskflow to:&lt;br /&gt;@ &lt;requires-existing-transaction&gt; or 'Always Use Existing Transaction' in the&lt;br /&gt;@ property inspector. If the transaction does not exist, an exception is&lt;br /&gt;@ thrown.&lt;br /&gt;@ .&lt;br /&gt;@ I modified the original test case to illustrate the different options. Open&lt;br /&gt;@ the workspace and look at adfc-config.xml. Run the Start page, withoutTrans&lt;br /&gt;@ is the original test case, withTrans and beginTrans are 2 options that work.&lt;br /&gt;@ .&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-hbLU4cbo7XM/TpfznQCs7kI/AAAAAAAAAzI/IM0gnj-ru6Y/s1600/regionRollbackResolution.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 370px;" src="http://3.bp.blogspot.com/-hbLU4cbo7XM/TpfznQCs7kI/AAAAAAAAAzI/IM0gnj-ru6Y/s400/regionRollbackResolution.jpg" alt="" id="BLOGGER_PHOTO_ID_5663262912088436290" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Resolution Test Case&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestRegionRollback2.zip"&gt;http://adfbugs.googlecode.com/files/TestRegionRollback2.zip&lt;/a&gt;&lt;br /&gt;&lt;/requires-existing-transaction&gt;Hello&lt;br /&gt;&lt;br /&gt;Unfortunately it seems that the issue is not fully resolved.&lt;br /&gt;This works until a Data control frame commit or Rollback is executed.&lt;br /&gt;Then it seems that the parrent looses control again of the transaction and regions rollback again on every refresh...&lt;br /&gt;In the test case i added 2 buttons that do :&lt;br /&gt;&lt;br /&gt;   DataControlFrame dcFrame = context.findDataControlFrame(dcFrameName);&lt;br /&gt;   dcFrame.commit();&lt;br /&gt;and&lt;br /&gt;   DataControlFrame dcFrame = context.findDataControlFrame(dcFrameName);&lt;br /&gt;   dcFrame.rollback(); &lt;br /&gt;&lt;br /&gt;The test case work fine until any of the commit or rollback transaction is pressed&lt;br /&gt;Then Next button still causes rollback to be executed.&lt;br /&gt;&lt;br /&gt;This means that still i cannot control the full data control frame transaction when i have regions with parameters.&lt;br /&gt;&lt;br /&gt;New test case&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestRegionRollback3.zip"&gt;http://adfbugs.googlecode.com/files/TestRegionRollback3.zip&lt;/a&gt;&lt;br /&gt;&lt;requires-existing-transaction&gt;&lt;/requires-existing-transaction&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4362871882838724029?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4362871882838724029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/08/rollback-is-executed-when-region-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4362871882838724029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4362871882838724029'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/08/rollback-is-executed-when-region-is.html' title='Rollback is executed when a region is refreshed'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-wFyO-ottCcI/TkpsiyVBLhI/AAAAAAAAAyo/c5XHxHsOSj4/s72-c/regionRollback.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-9111719529620279058</id><published>2011-06-26T11:10:00.000-07:00</published><updated>2011-06-26T13:49:47.629-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Table'/><title type='text'>Table Filter Number format bug</title><content type='html'>In a filterable table when we typed a number with decimals we got the following error:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-676tNkvbYgA/Tgd80_dFmnI/AAAAAAAAAyY/VqNQSXbxnOE/s1600/filter1.png"&gt;&lt;img style="WIDTH: 601px; HEIGHT: 256px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5622599909623831154" border="0" alt="" src="http://2.bp.blogspot.com/-676tNkvbYgA/Tgd80_dFmnI/AAAAAAAAAyY/VqNQSXbxnOE/s400/filter1.png" /&gt;&lt;/a&gt;&lt;br /&gt;It is an oracle database error that shows that the number entered in criteria is not converted correctly according to the locale of the database.&lt;br /&gt;Same value in Search criteria works correctly.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-lZLpHsvii8U/Tgd8sL7mWjI/AAAAAAAAAyQ/D3K6W6idULo/s1600/filter2.png"&gt;&lt;img style="WIDTH: 602px; HEIGHT: 258px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5622599758354209330" border="0" alt="" src="http://4.bp.blogspot.com/-lZLpHsvii8U/Tgd8sL7mWjI/AAAAAAAAAyQ/D3K6W6idULo/s400/filter2.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;So is this a bug?&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestTableFilter.zip"&gt;Test case is on 11.1.2&lt;/a&gt;. It reproduce also in 11.1.1.4&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;I guess you need a database with different locale to reproduce (a locale that decimal ceparator is ',')&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-9111719529620279058?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/9111719529620279058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/06/table-filter-number-format-bug.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/9111719529620279058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/9111719529620279058'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/06/table-filter-number-format-bug.html' title='Table Filter Number format bug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-676tNkvbYgA/Tgd80_dFmnI/AAAAAAAAAyY/VqNQSXbxnOE/s72-c/filter1.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-2915459847565455997</id><published>2011-06-19T02:35:00.000-07:00</published><updated>2011-06-19T09:40:08.499-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Bugs Review in jdeveloper 11.1.2</title><content type='html'>I reviewed my posted bugs in latest release of jdeveloper 11.1.2&lt;br /&gt;Posted bugs that still reproduce in latest version of jdeveloper are:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2011/05/combo-box-does-not-remember-values-in.html"&gt;Combo box does not remember values in table&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2011/03/invalid-values-in-choice-lists.html"&gt;Invalid values in choice lists &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2011/02/dependent-lov-in-table-shows-invalid.html"&gt;Dependent LOV in table shows invalid values&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Rollback does not refresh current row of af:table after validation errors.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/03/rollback-does-not-refresh-current-row.html"&gt;http://adfbugs.blogspot.com/2010/03/rollback-does-not-refresh-current-row.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Custom Attribute Validation on LOVs&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/11/attribute-validation-on-input-list-of.html"&gt;http://adfbugs.blogspot.com/2009/11/attribute-validation-on-input-list-of.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Number precision and scale&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/10/number-precision-and-scale-bug.html"&gt;http://adfbugs.blogspot.com/2009/10/number-precision-and-scale-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Range paging and Table Selected Row Bugs&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/range-paging-and-table-selected-row.html"&gt;http://adfbugs.blogspot.com/2009/07/range-paging-and-table-selected-row.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tab selection and Enable User Customization on Session bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html"&gt;http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Not Reproduced bugs in JDeveloper 11.1.2:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2011/05/jdeveloper-11115-serius-bug.html"&gt;Jdeveloper 11.1.1.5 severe bug&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2011/05/application-module-cannot-get-principal.html"&gt;Application Module cannot get principal when you use transaction controller in task flows &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ExecuteEmptyRowSet and Range Paging.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/09/executeemptyrowset-and-range-paging.html"&gt;http://adfbugs.blogspot.com/2009/09/executeemptyrowset-and-range-paging.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Partial Page Rendering ChangeEventPolicy="ppr" bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/partial-page-rendering.html"&gt;http://adfbugs.blogspot.com/2009/07/partial-page-rendering.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-2915459847565455997?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/2915459847565455997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/06/bugs-review-in-jdeveloper-1112.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2915459847565455997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2915459847565455997'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/06/bugs-review-in-jdeveloper-1112.html' title='Bugs Review in jdeveloper 11.1.2'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-950602072749559269</id><published>2011-06-07T13:44:00.000-07:00</published><updated>2011-06-07T14:03:26.319-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>First jdeveloper 11.1.2 bug</title><content type='html'>For start let me say that i am impressed positively with the new jdeveloper development experience.&lt;br /&gt;Fast and furious&lt;br /&gt;Yet I hit on the first bug already.&lt;br /&gt;I used the default oracle three column layout and created a jsf page with a panel box&lt;br /&gt;On runtime when I tried to disclose first empty column I got a java script error&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-ocBdT0XPWlk/Te6RERiyyJI/AAAAAAAAAyI/UY244fA9JJQ/s1600/Firstbug.png"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 258px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5615585287992428690" border="0" alt="" src="http://4.bp.blogspot.com/-ocBdT0XPWlk/Te6RERiyyJI/AAAAAAAAAyI/UY244fA9JJQ/s400/Firstbug.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Is it a problem of old template?&lt;br /&gt;Is it a problem of combination of jspx template with Facelet page?&lt;br /&gt;Will see…&lt;br /&gt;Test case&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/Application5.rar"&gt;http://adfbugs.googlecode.com/files/Application5.rar&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-950602072749559269?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/950602072749559269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/06/first-jdeveloper-1112-bug.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/950602072749559269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/950602072749559269'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/06/first-jdeveloper-1112-bug.html' title='First jdeveloper 11.1.2 bug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-ocBdT0XPWlk/Te6RERiyyJI/AAAAAAAAAyI/UY244fA9JJQ/s72-c/Firstbug.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8500867936049708387</id><published>2011-06-07T12:03:00.000-07:00</published><updated>2011-06-07T12:10:52.860-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Major : Jdeveloper 11.1.2 release</title><content type='html'>Less than a month after the 'tricky' release of 11.1.1.5 the major release is here.&lt;br /&gt;Not yet for SOA and Web Center.&lt;br /&gt;Yet it is much earlier than i expected.&lt;br /&gt;&lt;a href="http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html"&gt;http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html&lt;/a&gt;&lt;br /&gt;Lets hope it is the stable and promissing release we expected.&lt;br /&gt;I have done over 10 migrations already of applications from TP1.&lt;br /&gt;More than 3 every year, and it was a tricky task every time.&lt;br /&gt;I am downloading at the moment.&lt;br /&gt;Lets see...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8500867936049708387?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8500867936049708387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/06/major-jdeveloper-1112-release.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8500867936049708387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8500867936049708387'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/06/major-jdeveloper-1112-release.html' title='Major : Jdeveloper 11.1.2 release'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3077686223688358352</id><published>2011-05-27T06:12:00.000-07:00</published><updated>2011-06-18T23:56:49.886-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='combo box'/><title type='text'>Combo box does not remember values in table</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;When you define a List of Values in a View object as Combo Box with List Of Values there is an option to define ‘Most Recently Used Count’ &lt;/span&gt;&lt;/p&gt;&lt;span lang="EN-US"   style="font-family:'Times New Roman';font-size:12;"&gt;Where you, enter the number of items to display in the choice list when you want to provide a shortcut to the end user to display their most recent selections.&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-c03pkijS6mk/Td-jnEqdlfI/AAAAAAAAAx8/Gv5v-sSufgA/s1600/combo1.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 400px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5611383552388994546" border="0" alt="" src="http://3.bp.blogspot.com/-c03pkijS6mk/Td-jnEqdlfI/AAAAAAAAAx8/Gv5v-sSufgA/s400/combo1.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang="EN-US"   style="font-family:'Times New Roman';font-size:12;"&gt;This is quite useful functionality and it work fine when the field is used in a panel form layout.&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-CDMMRf5norQ/Td-jgza0-2I/AAAAAAAAAx0/nvYALYt9wXQ/s1600/combo2.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 332px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5611383444680801122" border="0" alt="" src="http://1.bp.blogspot.com/-CDMMRf5norQ/Td-jgza0-2I/AAAAAAAAAx0/nvYALYt9wXQ/s400/combo2.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;Yet when it is used in table then it does not work, no matter how many times you select a value it does not remember the previously added values.&lt;/span&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-vz1R-KTEtRI/Td-jdL617lI/AAAAAAAAAxs/vw9OcOpAV4A/s1600/combo3.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 210px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5611383382538055250" border="0" alt="" src="http://3.bp.blogspot.com/-vz1R-KTEtRI/Td-jdL617lI/AAAAAAAAAxs/vw9OcOpAV4A/s400/combo3.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;Is this a bug?&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestComboBox.zip"&gt;http://adfbugs.googlecode.com/files/TestComboBox.zip&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;Still reproduce in jdeveloper 11.1.2 &lt;br /&gt;&lt;br /&gt;SR 3-3705906727 was posted for this.&lt;br /&gt;Enchancement request that was created was rejected by Oracle development team.&lt;br /&gt;&lt;br /&gt;=== ODM Answer ===&lt;br /&gt;&lt;br /&gt;The MRUCount when the inputComboboxListOfValues is in a table won't work when ADF bindings are used:&lt;br /&gt;&lt;br /&gt;The LOV bindings are created dynamically when used in a table and the "Most Recently Used Count" (MRU) feature is not enabled then.&lt;br /&gt;MRU doesn't work in af:query too.&lt;br /&gt;&lt;br /&gt;There is currently no plan to implement this feature in future releases.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3077686223688358352?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3077686223688358352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/05/combo-box-does-not-remember-values-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3077686223688358352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3077686223688358352'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/05/combo-box-does-not-remember-values-in.html' title='Combo box does not remember values in table'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-c03pkijS6mk/Td-jnEqdlfI/AAAAAAAAAx8/Gv5v-sSufgA/s72-c/combo1.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-5685676058176868700</id><published>2011-05-16T00:32:00.000-07:00</published><updated>2011-06-09T12:17:00.387-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Jdeveloper 11.1.1.5 severe bug (Fixed in 11.1.2)</title><content type='html'>We started evaluating jdeveloper 11.1.1.5 in order to see if and when we will use it.&lt;br /&gt;When you press rollback and the page has a table with editable fields, all fields get the same values as the last row of the table.This is a really blocking issue in order to use the latest version&lt;br /&gt;It seems the problem is in the immediate property of Rollback button&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-TELtiuEiJVA/TdDTlz113UI/AAAAAAAAAxk/krHK6eKlokg/s1600/rollbackTable.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 221px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5607214182600924482" border="0" alt="" src="http://3.bp.blogspot.com/-TELtiuEiJVA/TdDTlz113UI/AAAAAAAAAxk/krHK6eKlokg/s400/rollbackTable.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;This is also in forums&lt;br /&gt;&lt;a href="http://forums.oracle.com/forums/thread.jspa?messageID=9587923#9587923"&gt;http://forums.oracle.com/forums/thread.jspa?messageID=9587923#9587923&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Oracle have logged a bug 12551764 for it and an Alert in support&lt;br /&gt;Note 1321896.1 - 11.1.1.5.0 Regression: Rollback Button With Property immediate="true" Causes Replacing Existing Rows With Current One&lt;br /&gt;since it is possibly going to affect all users of 11.1.1.5&lt;br /&gt;Oracle is working on a patch for it.&lt;br /&gt;I will do more investigation about the posted bugs here when this patch is ready&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-5685676058176868700?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/5685676058176868700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/05/jdeveloper-11115-serius-bug.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5685676058176868700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5685676058176868700'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/05/jdeveloper-11115-serius-bug.html' title='Jdeveloper 11.1.1.5 severe bug (Fixed in 11.1.2)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-TELtiuEiJVA/TdDTlz113UI/AAAAAAAAAxk/krHK6eKlokg/s72-c/rollbackTable.JPG' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3449028277712359645</id><published>2011-05-03T00:47:00.001-07:00</published><updated>2011-06-19T00:07:35.009-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transaction Management'/><title type='text'>Application Module cannot get principal when you use transaction controller in task flows (Fixed in 11.1.2)</title><content type='html'>When you use Transaction behavior in Task flows then ApplicationModuleImpl.getUserPrincipalName gives a java.lang.NullPointerException&lt;br /&gt;To reproduce it I have an application module with an exposed method:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;em&gt;public void checkTransaction(){&lt;br /&gt;System.out.println(this.getDBTransaction().getSession().getEnvironment().get("jbo.user.principal"));&lt;br /&gt;System.out.println(this.getUserPrincipalName());&lt;br /&gt;}&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;I also have 2 ‘isolated’ task flows, StartNewTransaction with ‘Always Begin new Transaction’ and UseExistingTransaction with ‘Use existing transaction if possible’&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-lY1ZH_ylA_A/Tb-zVh8j-DI/AAAAAAAAAxc/PGkYfjgllOI/s1600/transactions.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5602393643943196722" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 261px" alt="" src="http://3.bp.blogspot.com/-lY1ZH_ylA_A/Tb-zVh8j-DI/AAAAAAAAAxc/PGkYfjgllOI/s400/transactions.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have user: ‘user1/welcome1’ and run TestTransactions page and loggin.&lt;br /&gt;In main page checkTransactions works as expected. Yet in other task flows it gives a:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-psxzmzVHk2o/Tb-zO1NyZlI/AAAAAAAAAxU/fliyKYOa6N8/s1600/transactions1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5602393528856634962" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 257px" alt="" src="http://3.bp.blogspot.com/-psxzmzVHk2o/Tb-zO1NyZlI/AAAAAAAAAxU/fliyKYOa6N8/s400/transactions1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;java.lang.NullPointerException&lt;br /&gt;at oracle.jbo.server.ApplicationModuleImpl.getUserPrincipalName(ApplicationModuleImpl.java:8429)&lt;br /&gt;at model.modules.AppModuleImpl.checkTransaction(AppModuleImpl.java:31)&lt;br /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;br /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br /&gt;at java.lang.reflect.Method.invoke(Method.java:597)&lt;br /&gt;…&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Is this a specific method bug?&lt;br /&gt;Will I have issues with history columns?&lt;br /&gt;Do I loose any other security context?&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/testTransactions.zip"&gt;http://adfbugs.googlecode.com/files/testTransactions.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Does not reproduce in jdeveloper 11.1.2&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3449028277712359645?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3449028277712359645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/05/application-module-cannot-get-principal.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3449028277712359645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3449028277712359645'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/05/application-module-cannot-get-principal.html' title='Application Module cannot get principal when you use transaction controller in task flows (Fixed in 11.1.2)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-lY1ZH_ylA_A/Tb-zVh8j-DI/AAAAAAAAAxc/PGkYfjgllOI/s72-c/transactions.JPG' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6192035365633111196</id><published>2011-03-21T01:43:00.000-07:00</published><updated>2011-06-19T00:18:38.731-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Choice List'/><title type='text'>Invalid values in choice lists</title><content type='html'>There are some cases that in database there are some values in fields that are not selectable any more in List for the specific fields.&lt;br /&gt;For example there can be a lookup table for Status that some values can be selected by user and other that only the system can set.&lt;br /&gt;An other case are Types that are not valid any more but exist for old data.&lt;br /&gt;So if you have limited the data of a choice list with a where statement there is a chance that, data exist for the limited rows. The behavior of choise list then is quite problematic.&lt;br /&gt;&lt;br /&gt;To demonstrate it in HR schema I limit the DepartmentView to have only departments that have managers (WHERE Departments.MANAGER_ID is not null) and jobs WHERE Jobs.MIN_SALARY&amp;lt;4000. In a simple adf form if you go to an Employee that has a department without a manager then the department choice list seems to have no value and 2 empty selections. &lt;a href="http://1.bp.blogspot.com/-sM_-UtB2t1I/TYcQEkARaTI/AAAAAAAAAxM/VJLbYef-MDY/s1600/choiseList1.JPG"&gt;&lt;img style="WIDTH: 287px; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5586451533346728242" border="0" alt="" src="http://1.bp.blogspot.com/-sM_-UtB2t1I/TYcQEkARaTI/AAAAAAAAAxM/VJLbYef-MDY/s400/choiseList1.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;Also in the log you see the message:&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;facesctrllistbinding&gt;&lt;getinputvalue&gt;ADFv: Could not find selected item matching value 210 of type: oracle.jbo.domain.Number in the list-of-values.&lt;br /&gt;&lt;/span&gt;User thinks there is no department for employee and he can make changes (not on department) and save yet the department is not set to null.&lt;br /&gt;&lt;br /&gt;If you go to an employee that has invalid job you see again the choice list empty, even though it has a value. If you try to change any other field and submit you get the required field error even though it has a value.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/-YnxjApj8CMU/TYcQAeSUCkI/AAAAAAAAAxE/5N2Juxs8syg/s1600/choiseList2.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 344px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5586451463092308546" border="0" alt="" src="http://3.bp.blogspot.com/-YnxjApj8CMU/TYcQAeSUCkI/AAAAAAAAAxE/5N2Juxs8syg/s400/choiseList2.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;Similar issue exists when Choice List is dependent to another field. Then if you change the other field and choice list does not have a valid value any more it shows empty even though the value still exist in view object. In this case you need to define dependency on view attributes so that the choice list becomes null every time you change the other field. This way though the choice list value will be lost even if it is valid.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Test Case:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestChoiseLists.zip"&gt;http://adfbugs.googlecode.com/files/TestChoiseLists.zip&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Still reproduce in 11.1.2&lt;/div&gt;&lt;br /&gt;&lt;div&gt;SR and bug Bug 12320392: JDEV 11.1.1.4.0 INVALID ENTRIES IN SELECTONECHOICE   &lt;br /&gt;was posted for this. Yet it is rejected by the Oracle development team with the answer:&lt;br /&gt;=== ODM Answer ===&lt;br /&gt;From the Bug request # 12320392 - JDEV 11.1.1.4.0 INVALID ENTRIES IN SELECTONECHOICE&lt;br /&gt;BDE team has answered as follows:&lt;br /&gt;&lt;br /&gt;Currently there is no way to do this automatically for selectonechoice component. Which is why for this use case you should use af:inputListOfValues or af:inputComboboxListOfValues (ADF LOV Choice List).&lt;br /&gt; &lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6192035365633111196?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6192035365633111196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/03/invalid-values-in-choice-lists.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6192035365633111196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6192035365633111196'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/03/invalid-values-in-choice-lists.html' title='Invalid values in choice lists'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-sM_-UtB2t1I/TYcQEkARaTI/AAAAAAAAAxM/VJLbYef-MDY/s72-c/choiseList1.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-5205320200493236430</id><published>2011-03-19T02:37:00.000-07:00</published><updated>2011-03-19T02:47:34.254-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='misc'/><title type='text'>Jhug</title><content type='html'>Jhug is Java Helenig User group&lt;br /&gt;&lt;a href="http://www.jhug.gr/"&gt;http://www.jhug.gr/&lt;/a&gt;&lt;br /&gt;It is a very active user group with great people that i had the pleasure to meet. Among others they organise monthly meetings in greece, discussing technology development and making presentations. I have attended 2 times and had the honor to make a presentation about jdeveloper 11g&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/Jdeveloper%20IDE.pdf"&gt;http://adfbugs.googlecode.com/files/Jdeveloper%20IDE.pdf&lt;/a&gt;&lt;br /&gt;I find this user group very usefull and helpfull and wish to continue like this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-5205320200493236430?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/5205320200493236430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/03/jhug.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5205320200493236430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5205320200493236430'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/03/jhug.html' title='Jhug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-9128875000170598760</id><published>2011-02-14T23:45:00.000-08:00</published><updated>2011-06-19T00:29:35.385-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><title type='text'>Dependent LOV in table shows invalid values</title><content type='html'>Dependent LOV in table sometimes show invalid values.&lt;br /&gt;This is reproduced in Jdeveloper 11.1.1.3 and 11.1.1.4&lt;br /&gt;For example lets say that there is a business rule that ‘The manager of an Employee must be from the same Department.’&lt;br /&gt;&lt;br /&gt;To implement this we usually have a list of value for departments and a list of values for Managers that is depended from the department field. Also added dependency on ManagerId attribute to DepartmentId attribute.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-XzUFa4ROJ-s/TVovonBJEyI/AAAAAAAAAw0/R7V1HjqaQV0/s1600/depLOV1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5573819863539454754" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 303px" alt="" src="http://4.bp.blogspot.com/-XzUFa4ROJ-s/TVovonBJEyI/AAAAAAAAAw0/R7V1HjqaQV0/s400/depLOV1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I have created an updatable table with the above fields and added auto-submit and partial trigger properties&lt;br /&gt;&lt;br /&gt;So for example (testTable.jspx)&lt;br /&gt;When Department is Administration there are 2 selectable employees (189,200) for manager Id&lt;br /&gt;When Department is Marketing there are 3 different selectable employees (190,201,202) for manager Id&lt;br /&gt;&lt;br /&gt;It works correctly as long as there is no validation error in manager id field.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-kk0dTgWJfro/TVovikUDF8I/AAAAAAAAAws/rXmJEdJ2xbM/s1600/depLOV2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5573819759734233026" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 284px" alt="" src="http://2.bp.blogspot.com/-kk0dTgWJfro/TVovikUDF8I/AAAAAAAAAws/rXmJEdJ2xbM/s400/depLOV2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To reproduce the problem, do the following:&lt;br /&gt;&lt;br /&gt;1. Select row for employee 190 that has department Marketing and type in ManagerId field the value 200.&lt;br /&gt;2. Select an other row. A validation error shows for Manager Id.&lt;br /&gt;3. Select again the same row and change Department to Administration. (Validation error continue to show)&lt;br /&gt;4. open ManagerId LOV. The values shown are wrong (190,201,202). The ManagerId LOV is not refreshed according to Department.&lt;br /&gt;5. Select or Type a value in field (i.e. 201 that is invalid) and press commit. The invalid value cleared. The row is saved to database with null value for manager id.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-apk70BkjBiw/TVoveXtL81I/AAAAAAAAAwk/EK0a59gDvj0/s1600/depLOV3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5573819687630533458" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 329px" alt="" src="http://1.bp.blogspot.com/-apk70BkjBiw/TVoveXtL81I/AAAAAAAAAwk/EK0a59gDvj0/s400/depLOV3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This issue does not reproduce in form layout (testForm.jspx) since Manager Lov always becomes null when department is changed.&lt;br /&gt;&lt;br /&gt;It is quite confusing for the users.&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/DependentLOVtest.zip"&gt;http://adfbugs.googlecode.com/files/DependentLOVtest.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Still reproduce in jdeveloper 11.1.2&lt;br /&gt;The workaround we found for this is in managed bean to resetValue of the LOV component in the value change listener of choise list&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-9128875000170598760?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/9128875000170598760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/02/dependent-lov-in-table-shows-invalid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/9128875000170598760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/9128875000170598760'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/02/dependent-lov-in-table-shows-invalid.html' title='Dependent LOV in table shows invalid values'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-XzUFa4ROJ-s/TVovonBJEyI/AAAAAAAAAw0/R7V1HjqaQV0/s72-c/depLOV1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8131516192360405906</id><published>2011-02-11T03:57:00.001-08:00</published><updated>2011-02-11T03:58:56.133-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Jdeveloper is Ready</title><content type='html'>&lt;p&gt;On the first release of jdeveloper 11, I had made a post that jdeveloper is not ready.&lt;br /&gt;&lt;a href="http://forums.oracle.com/forums/thread.jspa?messageID=2836045&amp;amp;#2836045"&gt;http://forums.oracle.com/forums/thread.jspa?messageID=2836045&amp;amp;#2836045&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After 4 patches I feel now that jdeveloper 11.1.1.4 and ADF is ready to use for development of large scale enterprise applications.&lt;br /&gt;&lt;br /&gt;The basic bugs have been minimized and the IDE have been stabilized.&lt;br /&gt;&lt;br /&gt;We migrated the 46000 files (1GB) adf application to 11.1.1.4 without any serious issue apart from fixing the jazn-data.xml according to note 1288757.1 - Policy Migration of the "jazn-data.xml" File Fails Silently in JDeveloper 11.1.1.4.0.&lt;br /&gt;&lt;br /&gt;We are also working now with java 64 bit on windows and set the following configuration :&lt;br /&gt;&lt;br /&gt;Set in jdev.conf file (in $Middleware_Home$\jdeveloper\jdev\bin) depending on java installation path:&lt;br /&gt;   SetJavaHome D:\Java64\jdk1.6.0_23&lt;br /&gt;   AddVMOption  -XX:MaxPermSize=1024M&lt;br /&gt;&lt;br /&gt;Set in ide.conf file (in $Middleware_Home$\jdeveloper\ide\bin) depending on the available memory: &lt;/p&gt;&lt;p&gt;AddVMOption  -Xmx2048M&lt;/p&gt;&lt;p&gt;AddVMOption  -Xms512M&lt;br /&gt;&lt;br /&gt;The low memory messages have been minimized.&lt;/p&gt;&lt;p&gt;I would like to congratulate the jdeveloper team for their work and wish the best for the future.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8131516192360405906?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8131516192360405906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/02/jdeveloper-is-ready.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8131516192360405906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8131516192360405906'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/02/jdeveloper-is-ready.html' title='Jdeveloper is Ready'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-5432939952569765315</id><published>2011-01-28T04:12:00.000-08:00</published><updated>2011-01-28T04:13:45.869-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Still reproduced bugs in jdeveloper 11.1.1.4</title><content type='html'>The most important bugs in my opinion that still reproduce in latest version of jdeveloper are:&lt;br /&gt;&lt;br /&gt;Rollback does not refresh current row of af:table after validation errors.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/03/rollback-does-not-refresh-current-row.html"&gt;http://adfbugs.blogspot.com/2010/03/rollback-does-not-refresh-current-row.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Custom Attribute Validation on LOVs&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/11/attribute-validation-on-input-list-of.html"&gt;http://adfbugs.blogspot.com/2009/11/attribute-validation-on-input-list-of.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Number precision and scale&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/10/number-precision-and-scale-bug.html"&gt;http://adfbugs.blogspot.com/2009/10/number-precision-and-scale-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Range paging and Table Selected Row Bugs&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/range-paging-and-table-selected-row.html"&gt;http://adfbugs.blogspot.com/2009/07/range-paging-and-table-selected-row.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tab selection and Enable User Customization on Session bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html"&gt;http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ExecuteEmptyRowSet and Range Paging.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/09/executeemptyrowset-and-range-paging.html"&gt;http://adfbugs.blogspot.com/2009/09/executeemptyrowset-and-range-paging.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Partial Page Rendering ChangeEventPolicy="ppr" bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/partial-page-rendering.html"&gt;http://adfbugs.blogspot.com/2009/07/partial-page-rendering.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-5432939952569765315?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/5432939952569765315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/01/still-reproduced-bugs-in-jdeveloper.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5432939952569765315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5432939952569765315'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/01/still-reproduced-bugs-in-jdeveloper.html' title='Still reproduced bugs in jdeveloper 11.1.1.4'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8856974985082097585</id><published>2011-01-22T00:35:00.000-08:00</published><updated>2011-01-22T00:50:41.442-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Jdeveloper 11.1.1.4 resolved bugs</title><content type='html'>I went through the bugs posted here and tried to reproduce them in new release of jdeveloper 11.1.1.4 patch set 3.&lt;br /&gt;It seems many of them are resolved since I cannot reproduce them in the specific test chases. Those are:&lt;br /&gt;&lt;br /&gt;Choice List Loose value in disclosed af:Query&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2011/01/coise-list-loose-value-in-disclosed.html"&gt;http://adfbugs.blogspot.com/2011/01/coise-list-loose-value-in-disclosed.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;LOVs does not reset criteria values. Yet there is a new issue that second time you open LOV it displays same amount of rows as the first search but different.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/11/lovs-does-not-reset-criteria-values.html"&gt;http://adfbugs.blogspot.com/2010/11/lovs-does-not-reset-criteria-values.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Activation creates duplicate row when primary key is populated through DB sequence&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/11/activation-creates-duplicate-row-when_15.html"&gt;http://adfbugs.blogspot.com/2010/11/activation-creates-duplicate-row-when_15.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/11/activation-creates-duplicate-row-when.html"&gt;http://adfbugs.blogspot.com/2010/11/activation-creates-duplicate-row-when.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Passivation - Activation looses data of Subclassed Entities (Dimitris Stasinopoylos blog)&lt;br /&gt;&lt;a href="http://dstas.blogspot.com/2010/11/entity-inheritance-and-passivation.html"&gt;http://dstas.blogspot.com/2010/11/entity-inheritance-and-passivation.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Choice list and LOV in query criteria bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/07/choice-list-and-lov-in-query-criteria.html"&gt;http://adfbugs.blogspot.com/2010/07/choice-list-and-lov-in-query-criteria.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Range paging in LOVs throw SQL exception with specific steps&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/06/range-paging-in-lovs-bug-9467477.html"&gt;http://adfbugs.blogspot.com/2010/06/range-paging-in-lovs-bug-9467477.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Choise list and checkboxes in popup turn to null after submit&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/05/choise-list-in-popup-turn-to-null-after.html"&gt;http://adfbugs.blogspot.com/2010/05/choise-list-in-popup-turn-to-null-after.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Single Row LOV in Query Criteria cannot clear value&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/05/single-row-lov-in-query-criteria-bug.html"&gt;http://adfbugs.blogspot.com/2010/05/single-row-lov-in-query-criteria-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;User not populated to model and history collumns&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/05/user-principal-is-not-propagated-to.html"&gt;http://adfbugs.blogspot.com/2010/05/user-principal-is-not-propagated-to.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Composition Association and Locking&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/12/composition-association-and-locking.html"&gt;http://adfbugs.blogspot.com/2009/12/composition-association-and-locking.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Bind Variable and View Criteria in view with range paging bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/02/bind-variable-and-view-criteria-in-view.html"&gt;http://adfbugs.blogspot.com/2010/02/bind-variable-and-view-criteria-in-view.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Removing a LOV return value leaves garbage in view object&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/03/removing-lov-return-value-leaves.html"&gt;http://adfbugs.blogspot.com/2010/03/removing-lov-return-value-leaves.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Auto Submit does not set the value in bindings if you navigate with mouse&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/04/auto-submit-does-not-set-value-in.html"&gt;http://adfbugs.blogspot.com/2010/04/auto-submit-does-not-set-value-in.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Many Thanks to Oracle Developmnet team.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8856974985082097585?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8856974985082097585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/01/jdeveloper-11114-resolved-bugs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8856974985082097585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8856974985082097585'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/01/jdeveloper-11114-resolved-bugs.html' title='Jdeveloper 11.1.1.4 resolved bugs'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3826762790340373779</id><published>2011-01-16T01:11:00.000-08:00</published><updated>2011-01-16T01:14:02.542-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>New Patch Set PS3 of JDeveloper (11.1.1.4) is out there</title><content type='html'>New Patch Set PS3 of JDeveloper (11.1.1.4) is out there&lt;br /&gt;&lt;a href="http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html"&gt;http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html&lt;/a&gt;&lt;br /&gt;From the release notes it seems to have a lot of bug fixes and some usefull new features.&lt;br /&gt;&lt;a href="http://www.oracle.com/technetwork/developer-tools/jdev/index-088099.html"&gt;http://www.oracle.com/technetwork/developer-tools/jdev/index-088099.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.oracle.com/technetwork/developer-tools/jdev/relnotes-14-jan-11-261400.html"&gt;http://www.oracle.com/technetwork/developer-tools/jdev/relnotes-14-jan-11-261400.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From the basic components the most usefull new features for us will be:&lt;br /&gt;• Column stretching of results table in search and select dialog&lt;br /&gt;• Ability to configure column widths of inputComboboxListOfValues&lt;br /&gt;• New API on the RichPopup component that complements the client-side API to show, hide and cancel a popup.&lt;br /&gt;&lt;br /&gt;In the next weeks I will go through the bugs posted there and the SRs in Oracle Support to post what is fixed or not.&lt;br /&gt;&lt;br /&gt;I hope there will be no new defects on existing functionality and that we can easily migrate applications to new patch&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3826762790340373779?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3826762790340373779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/01/new-patch-set-ps3-of-jdeveloper-11114.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3826762790340373779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3826762790340373779'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/01/new-patch-set-ps3-of-jdeveloper-11114.html' title='New Patch Set PS3 of JDeveloper (11.1.1.4) is out there'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6183442642890354947</id><published>2011-01-11T07:33:00.000-08:00</published><updated>2011-01-22T00:42:12.943-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='View Criteria'/><category scheme='http://www.blogger.com/atom/ns#' term='Choice List'/><title type='text'>Choice List Loose value in disclosed af:Query (Fixed in 11.1.1.4)</title><content type='html'>Choice lists seem to be quite sensitive on loosing their value. Apart from popups with full submit button, they loose their values also inside af:query component when it is closed and submited.&lt;br /&gt;In a simple Query page with Query panel and result table I put some criteria values:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TSx58rYmu-I/AAAAAAAAAwY/wTAWjK768I4/s1600/ChoiceInVC.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 357px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5560953723240758242" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TSx58rYmu-I/AAAAAAAAAwY/wTAWjK768I4/s400/ChoiceInVC.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then i close the Search panel and i press Submit button&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/TSx5zjYM3rI/AAAAAAAAAwQ/BM3sNPhxqdY/s1600/ChoiceInVC1.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 358px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5560953566472756914" border="0" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/TSx5zjYM3rI/AAAAAAAAAwQ/BM3sNPhxqdY/s400/ChoiceInVC1.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When i open Search panel again the selected value in department choise list is lost&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/TSx5duY8fxI/AAAAAAAAAwI/PnyIFS6fAxs/s1600/ChoiceInVC2.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 358px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5560953191471546130" border="0" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/TSx5duY8fxI/AAAAAAAAAwI/PnyIFS6fAxs/s400/ChoiceInVC2.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Is this a nice bug or what?&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestDisclosedCriteria.zip"&gt;http://adfbugs.googlecode.com/files/TestDisclosedCriteria.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6183442642890354947?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6183442642890354947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/01/coise-list-loose-value-in-disclosed.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6183442642890354947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6183442642890354947'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/01/coise-list-loose-value-in-disclosed.html' title='Choice List Loose value in disclosed af:Query (Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/TSx58rYmu-I/AAAAAAAAAwY/wTAWjK768I4/s72-c/ChoiceInVC.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-440912278322283973</id><published>2011-01-10T01:27:00.000-08:00</published><updated>2011-01-10T01:42:27.588-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='misc'/><title type='text'>Happy new year 2011</title><content type='html'>&lt;div&gt;Happy new year to all.&lt;/div&gt;&lt;div&gt;I wish you all health (less physical bugs) and better productivity (less code bugs)&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/TSrUSCGgz8I/AAAAAAAAAwA/H8S-mXXWYCQ/s1600/CB023197.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5560490096209219522" style="WIDTH: 267px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/TSrUSCGgz8I/AAAAAAAAAwA/H8S-mXXWYCQ/s400/CB023197.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;I would like to apologize for not beeing posting the last month. &lt;/div&gt;&lt;div&gt;It is not that we don't find bugs, it is just that we had a major milestone and a lot of pressure.&lt;/div&gt;&lt;div&gt;I will try to be more active from now on, as we are also expecting new versions of Jdeveloper this year and I will be more involved in other Fusion technologies , SOA, BPMN, WC etc. this year.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Posting for you soon&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-440912278322283973?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/440912278322283973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2011/01/happy-new-year-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/440912278322283973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/440912278322283973'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2011/01/happy-new-year-2011.html' title='Happy new year 2011'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/TSrUSCGgz8I/AAAAAAAAAwA/H8S-mXXWYCQ/s72-c/CB023197.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6503044380247322622</id><published>2010-11-24T05:15:00.001-08:00</published><updated>2011-01-22T00:44:27.861-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><title type='text'>LOVs does not reset criteria values. (Fixed in 11.1.1.4)</title><content type='html'>In a default input list of values you can set criteria to query for specific records and select a record with no problem&lt;br /&gt;The problem is that if you open LOV again, even though the criteria values are cleared the results are still the same (filtered).This happens even if you change the record.&lt;br /&gt;This has other side effects like, if LOV is autosubmit and if user types a valid value that does not exist in the previous filtered LOV data the value is not accepted and LOV opens displayed the previous filtered data.&lt;br /&gt;Finally if you put criteria in LOV and select a value and then navigate away from the task flow, when you come back and open LOV the criteria values are shown and Reset button of LOV is not functional.&lt;br /&gt;This functionality of LOVs cause much frustration to users.&lt;br /&gt;Test Case :&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestLOVsCriteria.zip"&gt;http://adfbugs.googlecode.com/files/TestLOVsCriteria.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Steps to reproduce in the test case:&lt;br /&gt;&lt;strong&gt;1. Not accepting valid values.&lt;br /&gt;&lt;/strong&gt;1 run Main.jspx&lt;br /&gt;2 go to Test task flow.&lt;br /&gt;3 open managerId LOV and type criteria (i.e. ‘A’ for firstName) and press search&lt;br /&gt;4. Select a row and press ok&lt;br /&gt;5. In LOV field, type a valid value of an employee that first name does not start with ‘A’ and press tab&lt;br /&gt;Result: LOV opens showing rows of employees starting with A. User has to press Reset and search for the value again&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/TO0QNZx5f3I/AAAAAAAAAvs/QijqjOKqAgw/s1600/lovCr1.JPG"&gt;&lt;img style="WIDTH: 375px; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5543104538807467890" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/TO0QNZx5f3I/AAAAAAAAAvs/QijqjOKqAgw/s400/lovCr1.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;* in 11.1.1.4 the valid value is accepted without opening the LOV. Yet if you open LOV second time the results rows are limited but not for employees starting with A.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Reset button does not work:&lt;br /&gt;&lt;/strong&gt;1 run Main.jspx&lt;br /&gt;2 go to Test task flow.&lt;br /&gt;3 open LOV and type criteria (i.e. ‘A’ for firstName) and press search&lt;br /&gt;4. Select a row and press ok&lt;br /&gt;5 Press button to Main (return from task flow)&lt;br /&gt;6 go to Test task flow again&lt;br /&gt;7 Open managerId LOV (Criteria values and results are visible from previous search&lt;br /&gt;8. Press Reset Button on LOV (Nothing happens)&lt;br /&gt;Result: LOV opens showing rows of employees starting with A and criteria value for firstName. User cannot press Reset to clear values and search again.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/TO0QI3ETtxI/AAAAAAAAAvk/sK7AbjCMWmA/s1600/lovCr2.JPG"&gt;&lt;img style="WIDTH: 368px; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5543104460769965842" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/TO0QI3ETtxI/AAAAAAAAAvk/sK7AbjCMWmA/s400/lovCr2.JPG" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6503044380247322622?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6503044380247322622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/11/lovs-does-not-reset-criteria-values.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6503044380247322622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6503044380247322622'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/11/lovs-does-not-reset-criteria-values.html' title='LOVs does not reset criteria values. (Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/TO0QNZx5f3I/AAAAAAAAAvs/QijqjOKqAgw/s72-c/lovCr1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-2338457831724033861</id><published>2010-11-15T06:41:00.000-08:00</published><updated>2011-01-22T00:44:56.430-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AM Pooling'/><title type='text'>Activation creates duplicate row when primary key is populated through DB trigger ((Fixed in 11.1.1.4)</title><content type='html'>The same issue as previus post is also reproduced if Primary key is populated through database trigger and Pk attribute is defined as DB Sequence and refresh after insert.&lt;br /&gt;&lt;div&gt;&lt;em&gt;Fusion Developer's Guide for Oracle ADF&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;4.10.10 How to Get Trigger-Assigned Primary Key Values from a Database Sequence&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;To run the test case you need to create database trigger :&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;CREATE OR REPLACE TRIGGER LOCATIONS_PK&lt;br /&gt;BEFORE INSERT&lt;br /&gt;ON "LOCATIONS"&lt;br /&gt;FOR EACH ROW&lt;br /&gt;BEGIN&lt;br /&gt;IF INSERTING&lt;br /&gt;THEN&lt;br /&gt;IF :NEW."LOCATION_ID" IS NULL&lt;br /&gt;THEN&lt;br /&gt;SELECT LOCATIONS_SEQ.NEXTVAL INTO :NEW."LOCATION_ID" FROM DUAL;&lt;br /&gt;END IF;&lt;br /&gt;END IF;&lt;br /&gt;END;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;When you try to insert second line, first line is dublicated, when testing activation safe.&lt;/div&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TOFJfpJJ82I/AAAAAAAAAvc/xUG_G7cEcSs/s1600/activatedbtrigger.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 365px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5539789824611447650" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TOFJfpJJ82I/AAAAAAAAAvc/xUG_G7cEcSs/s400/activatedbtrigger.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Test case&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestActivateSequenceDBTrigger.zip"&gt;http://adfbugs.googlecode.com/files/TestActivateSequenceDBTrigger.zip&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-2338457831724033861?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/2338457831724033861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/11/activation-creates-duplicate-row-when_15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2338457831724033861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2338457831724033861'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/11/activation-creates-duplicate-row-when_15.html' title='Activation creates duplicate row when primary key is populated through DB trigger ((Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/TOFJfpJJ82I/AAAAAAAAAvc/xUG_G7cEcSs/s72-c/activatedbtrigger.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4360793115196900064</id><published>2010-11-12T03:03:00.001-08:00</published><updated>2011-01-22T00:45:39.956-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AM Pooling'/><title type='text'>Activation creates duplicate row when primary key is populated through DB sequence (Fixed in 11.1.1.4)</title><content type='html'>We are testing if our Application Module is Activation-Safe according to:&lt;br /&gt;&lt;em&gt;Fusion Developer's Guide for Oracle ADF&lt;br /&gt;40.10 Testing to Ensure Your Application Module is Activation-Safe&lt;br /&gt;&lt;/em&gt;And we have many problems.&lt;br /&gt;1 of them is that when we press createInsert instead of creating a new row we get the same row 2 times.&lt;br /&gt;&lt;br /&gt;I reproduce it in a simple test case from HR schema with Countries and Locations Entities.&lt;br /&gt;In Locations Entity create method I populate primary key from sequence&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;@Override&lt;br /&gt;protected void create(AttributeList attributeList) {&lt;br /&gt;super.create(attributeList);&lt;br /&gt;SequenceImpl s = new SequenceImpl("LOCATIONS_SEQ",getDBTransaction());&lt;br /&gt;setLocationId(s.getSequenceNumber());&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;As in&lt;br /&gt;&lt;em&gt;Fusion Developer's Guide for Oracle ADF&lt;br /&gt;4.12.5 Assigning the Primary Key Value Using an Oracle Sequence&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;I check Activation-Safe by un-checking Enable Application Module Pooling in configuration.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/TN0fPGpeVcI/AAAAAAAAAvU/3vHT-dfrKc8/s1600/activate1.JPG"&gt;&lt;img style="WIDTH: 371px; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5538617461078644162" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/TN0fPGpeVcI/AAAAAAAAAvU/3vHT-dfrKc8/s400/activate1.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have a simple master Countries form and detail Locations table with CreateInsert button.&lt;br /&gt;When I press CreateInsert for first time a new row is created with new sequence as locationId and I fill also other fields with values.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/TN0fLLV9zfI/AAAAAAAAAvM/jca294I5b8M/s1600/activate2.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 355px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5538617393619521010" border="0" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/TN0fLLV9zfI/AAAAAAAAAvM/jca294I5b8M/s400/activate2.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When I press CreateInsert again instead of getting a new rows I get 2 same rows as the first and both of them has the same new sequence as primary key.!!??&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TN0fGJLHyCI/AAAAAAAAAvE/xDzu_rFWcLg/s1600/activate3.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 355px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5538617307137820706" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TN0fGJLHyCI/AAAAAAAAAvE/xDzu_rFWcLg/s400/activate3.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After that whatever I do on the page I get null pointer exception. (NullPointerException)&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestActivateSequence.zip"&gt;http://adfbugs.googlecode.com/files/TestActivateSequence.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4360793115196900064?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4360793115196900064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/11/activation-creates-duplicate-row-when.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4360793115196900064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4360793115196900064'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/11/activation-creates-duplicate-row-when.html' title='Activation creates duplicate row when primary key is populated through DB sequence (Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/TN0fPGpeVcI/AAAAAAAAAvU/3vHT-dfrKc8/s72-c/activate1.JPG' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-91513693795361539</id><published>2010-10-15T02:55:00.000-07:00</published><updated>2010-10-15T02:59:08.579-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='View Criteria'/><title type='text'>Number precision and conversion in query criteria</title><content type='html'>There is a strange behavior of number type fields in af:query.&lt;br /&gt;I created a simple Query page from HR schema for Employees (Entity and View) with some typical criteria.&lt;br /&gt;When a user type a value in a String criterion field then he is not allowed to type more characters than the precision of the field.(i.e. 25 for LastName, email)&lt;br /&gt;The same apply for the LOV field (Department 4 digits)&lt;br /&gt;Yet Number fields have strange behavior.No mater the precision of the Number field you can type as many digits you want.&lt;br /&gt;Yet if you type up to 21 then the last 4 digits are converted to 0!!?&lt;br /&gt;If you type more than 21 digits it is converted to the first digits with other 3 as decimals!?&lt;br /&gt;If you type number with more than 3 decimals it is rounded to 3 decimals.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TLglRvc2KcI/AAAAAAAAAu8/lKz53Cy65xw/s1600/queryp1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5528209529322744258" style="WIDTH: 389px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TLglRvc2KcI/AAAAAAAAAu8/lKz53Cy65xw/s400/queryp1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;These restrictions make large numbers not usable for query criteria.&lt;br /&gt;Is this a bug to be fixed?&lt;br /&gt;Test case:&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/ViewCriteriaPrecision.zip"&gt;http://adfbugs.googlecode.com/files/ViewCriteriaPrecision.zip&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-91513693795361539?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/91513693795361539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/10/number-precision-and-conversion-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/91513693795361539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/91513693795361539'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/10/number-precision-and-conversion-in.html' title='Number precision and conversion in query criteria'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/TLglRvc2KcI/AAAAAAAAAu8/lKz53Cy65xw/s72-c/queryp1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8644516139288597054</id><published>2010-10-10T02:09:00.000-07:00</published><updated>2010-10-10T03:30:54.887-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SOA'/><title type='text'>ADF/SOA custom worklist viewFilter</title><content type='html'>I have managed to create a ADF application with a custom worklist region following instructions of :&lt;br /&gt;&lt;span style="FONT-STYLE: italic"&gt;Developer's Guide for Oracle SOA Suite &amp;amp;30.13 Creating Reusable Worklist Regions&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It was not easy since&lt;br /&gt;• WSRP Container is missing in latest jdeveloper 11.1.1.3&lt;br /&gt;• when I deployed nothing was shown and no error in the logs.&lt;br /&gt;&lt;br /&gt;I found out that WSRP Container seems not to be needed and that it was authorization issue.&lt;br /&gt;Since the application must have security enabled, you need to give access also to task flows that comes from libraries:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YeFnEaxTQCI/TLGDJJ6eLWI/AAAAAAAAAu0/Sc0m5ZsqDtU/s1600/wlath1.png"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 189px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5526342411063536994" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/TLGDJJ6eLWI/AAAAAAAAAu0/Sc0m5ZsqDtU/s400/wlath1.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then the task list is visible and task details shows as dialog.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_YeFnEaxTQCI/TLGDDkTGIxI/AAAAAAAAAus/tFdjNr-y9G8/s1600/wlview.png"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 257px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5526342315066925842" border="0" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/TLGDDkTGIxI/AAAAAAAAAus/tFdjNr-y9G8/s400/wlview.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Yet we need to show to the user a custom view that contains Flex Fields with business logic values.&lt;br /&gt;I see that there is a parameter you can pass to the worklist task flow the viewFilter:&lt;br /&gt;&lt;span style="FONT-STYLE: italic"&gt;Developer's Guide for Oracle SOA Suite &amp;amp;34.4 Passing Worklist Portlet Parameters&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-STYLE: italic"&gt;'viewFilter Specifies the selected view for which the tasks are displayed.&lt;/span&gt;'&lt;br /&gt;&lt;br /&gt;Yet when I use it with values like:&lt;br /&gt;value="Due Soon"&lt;br /&gt;value="My Work Queues/Standard Views/Due Soon"&lt;br /&gt;I get the following error:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TLGC_eA6ozI/AAAAAAAAAuk/VdwKhaO3cEk/s1600/wlviewFilterError.png"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 223px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5526342244660585266" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TLGC_eA6ozI/AAAAAAAAAuk/VdwKhaO3cEk/s400/wlviewFilterError.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Is this a bug or i need diferent format of value in order to filter specific task view?&lt;br /&gt;&lt;br /&gt;I also noticed that from view menu all views shows 2 times apart from Inbox:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YeFnEaxTQCI/TLGC1Ss1RKI/AAAAAAAAAuc/Wfy7iGibPvY/s1600/wlviewlist.png"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 268px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5526342069824865442" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/TLGC1Ss1RKI/AAAAAAAAAuc/Wfy7iGibPvY/s400/wlviewlist.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Is this also a bug?&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestCustomWorklist.zip"&gt;http://adfbugs.googlecode.com/files/TestCustomWorklist.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8644516139288597054?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8644516139288597054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/10/adfsoa-custom-worklist-viewfilter.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8644516139288597054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8644516139288597054'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/10/adfsoa-custom-worklist-viewfilter.html' title='ADF/SOA custom worklist viewFilter'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/TLGDJJ6eLWI/AAAAAAAAAu0/Sc0m5ZsqDtU/s72-c/wlath1.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-2354377689319036943</id><published>2010-09-24T03:55:00.000-07:00</published><updated>2010-09-24T06:12:14.147-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><category scheme='http://www.blogger.com/atom/ns#' term='MDS'/><title type='text'>Making View Criteria Case Insensitive and MDS</title><content type='html'>In a previous post i had posted a workaround about making view criteria case insensitive:&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/07/making-view-criteria-case-insensitive.html"&gt;http://adfbugs.blogspot.com/2010/07/making-view-criteria-case-insensitive.html&lt;/a&gt;&lt;br /&gt;Yet this has 2 side effects.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;It makes values of criteria upercase.&lt;/li&gt;&lt;li&gt;It brakes MDS save criteria functionality. &lt;/li&gt;&lt;/ol&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/TJyFeoqpyiI/AAAAAAAAAt0/ego2Id4pn20/s1600/mdsUpper1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5520434004608272930" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 237px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/TJyFeoqpyiI/AAAAAAAAAt0/ego2Id4pn20/s400/mdsUpper1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I found a simpler solution (workaround).&lt;br /&gt;&lt;span style="color:#000099;"&gt;  /**&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;   * Set the view criteria rows to use case-insensitive querying and&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;   * uppercase any of the non-null query-by-example criteria provided.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;   */&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;    private void doCaseInsensitiveOnStringsInViewCriteria() {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;    ViewCriteria[] vclist = getApplyViewCriterias(ViewCriteria.CRITERIA_MODE_QUERY);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;    if (vclist.length&gt;0) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;      for (ViewCriteria vc : vclist){&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;          if (!vc.isUpperColumns())&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;              vc.setUpperColumns(true);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;      }&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;      @Override&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  protected void executeQueryForCollection(Object object, Object[] object2 int i) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;      doCaseInsensitiveOnStringsInViewCriteria();&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;      super.executeQueryForCollection(object, object2, i);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  }&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;span style="color:#000000;"&gt;This code makes query criteria Case insensitive and also does not make values of criteria upercase.Yet it still brake MDS .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Sice we need this in LOV criteria that does not have Save search, we can prevent this code to execute in LOVs using :&lt;br /&gt;&lt;span style="color:#000099;"&gt;if (this.getName().contains("LOCAL_VIEW_USAGE"))&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;          doCaseInsensitiveOnStringsInViewCriteria();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/MDSTestUpper.zip"&gt;http://adfbugs.googlecode.com/files/MDSTestUpper.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-2354377689319036943?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/2354377689319036943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/09/making-view-criteria-case-insensitive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2354377689319036943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2354377689319036943'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/09/making-view-criteria-case-insensitive.html' title='Making View Criteria Case Insensitive and MDS'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/TJyFeoqpyiI/AAAAAAAAAt0/ego2Id4pn20/s72-c/mdsUpper1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4869069508567733294</id><published>2010-09-11T04:19:00.001-07:00</published><updated>2010-09-11T04:29:41.555-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><category scheme='http://www.blogger.com/atom/ns#' term='Train'/><title type='text'>Validating Train Flow</title><content type='html'>A very nice option of Task Flows is the Train Task flow.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TItl18OeSnI/AAAAAAAAAtM/UKVVljakCvQ/s1600/taskFlow1.png"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 237px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5515614146019609202" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TItl18OeSnI/AAAAAAAAAtM/UKVVljakCvQ/s400/taskFlow1.png" /&gt;&lt;/a&gt;&lt;br /&gt;You can easily create a train task flow and add pages as Train stops and add in page train navigation and train buttons (Next/Previous) and create a wizard like navigation.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/TItmHZSlfNI/AAAAAAAAAtk/FVMytlkXYjk/s1600/train1.png"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 214px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5515614445879262418" border="0" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/TItmHZSlfNI/AAAAAAAAAtk/FVMytlkXYjk/s400/train1.png" /&gt;&lt;/a&gt;&lt;br /&gt;Yet many times you need to validate the input of a train stop before you go to the next one. When this validation is more complex than a required field you probably need to do it when the user tries to navigate to the next train stop.&lt;br /&gt;&lt;br /&gt;I found a solution close to what I needed in Duncan Mills post: Executing Activities between Train Stops&lt;br /&gt;&lt;a href="http://groundside.com/blog/DuncanMills.php?blog=6&amp;amp;cat=18&amp;amp;page=1&amp;amp;disp=posts&amp;amp;paged=2"&gt;http://groundside.com/blog/DuncanMills.php?blog=6&amp;amp;cat=18&amp;amp;page=1&amp;amp;disp=posts&amp;amp;paged=2&lt;/a&gt;&lt;br /&gt;The strange thing is that you need to define an outcome on the target Train Stop activity.&lt;br /&gt;Then you add a wildcard to go to a router to check your condition in order to decide to go to the target Train Stop or the source.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TItmL_KCpfI/AAAAAAAAAts/0Q4uFcjYt68/s1600/taskFlow2.png"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 257px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5515614524763448818" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TItmL_KCpfI/AAAAAAAAAts/0Q4uFcjYt68/s400/taskFlow2.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In my example the condition is if the Department has employees or not. If it has it go to employees page, if not it returns to department task flow.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TItmB7KmEMI/AAAAAAAAAtc/CBScU7Ee--g/s1600/train2.png"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 211px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5515614351893336258" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TItmB7KmEMI/AAAAAAAAAtc/CBScU7Ee--g/s400/train2.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The remaining issue is to show the appropriate message. In the example I have added it as a simple text that is visible when Department does not have Employees&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TItl6382dSI/AAAAAAAAAtU/Gl29XrbLBoA/s1600/train3.png"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 210px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5515614230771299618" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TItl6382dSI/AAAAAAAAAtU/Gl29XrbLBoA/s400/train3.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestTrainValidation.zip"&gt;http://adfbugs.googlecode.com/files/TestTrainValidation.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4869069508567733294?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4869069508567733294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/09/validating-train-flow.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4869069508567733294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4869069508567733294'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/09/validating-train-flow.html' title='Validating Train Flow'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/TItl18OeSnI/AAAAAAAAAtM/UKVVljakCvQ/s72-c/taskFlow1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-5661792550205356086</id><published>2010-08-31T05:42:00.000-07:00</published><updated>2010-08-31T05:51:11.387-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDS'/><title type='text'>MDS saved search brakes application module browser</title><content type='html'>In order to save search criteria through MDS you need to add configuration in adf-config.xml according to Fusion Developer's Guide for Oracle ADF :&lt;br /&gt;&lt;em&gt;27.2.3 How to Persist Saved Searches into MDS&lt;/em&gt;&lt;br /&gt;Yet after you do that if you try to run any application module you get exception:&lt;br /&gt;(oracle.jbo.ConfigException) JBO-33003: Connection name hrconn is not defined.&lt;br /&gt;and in server log:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;SEVERE: MDSConfigurationException encountered in parseADFConfigurationMDS-01335: namespace "/persdef" mapped to metadata-store-usage "mdsstore" but its definition was not found in MDS configuration. oracle.mds.config.MDSConfigurationException: MDS-01335: namespace "/persdef" mapped to metadata-store-usage "mdsstore" but its definition was not found in MDS configuration.  at oracle.mds.config.PConfig.populateNamespaceConfigList(PConfig.java:811) at oracle.mds.config.PConfig.loadFromBean(PConfig.java:717) at oracle.mds.config.PConfig.&lt;init&gt;(PConfig.java:504) at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:692) at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:749) at oracle.mds.config.MDSConfig.&lt;init&gt;(MDSConfig.java:407)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The workaround we found is to remove specific configuration and add it again when we want to deploy.&lt;br /&gt;Is this a bug?&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/MDSTest.zip"&gt;http://adfbugs.googlecode.com/files/MDSTest.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-5661792550205356086?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/5661792550205356086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/08/mds-saved-search-brakes-application.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5661792550205356086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5661792550205356086'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/08/mds-saved-search-brakes-application.html' title='MDS saved search brakes application module browser'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8307188796457132505</id><published>2010-08-10T03:39:00.000-07:00</published><updated>2010-08-10T04:12:31.049-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDS'/><title type='text'>MDS User customization capabilities and cost</title><content type='html'>I was investigating lately MDS user customization capabilities and cost in order to apply it to our application.&lt;br /&gt;I used the following References&lt;br /&gt;&lt;strong&gt;Guides&lt;/strong&gt;&lt;br /&gt;34 Customizing Applications with MDS&lt;br /&gt;&lt;a href="http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/customize.htm"&gt;http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/customize.htm&lt;/a&gt;&lt;br /&gt;35 Allowing User Customizations at Runtime&lt;br /&gt;&lt;a href="http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/ad_persist.htm#CIHHEHCF"&gt;http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/ad_persist.htm#CIHHEHCF&lt;/a&gt;&lt;br /&gt;13 Managing the Metadata Repository&lt;br /&gt;&lt;a href="http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/repos.htm#CIHDCHCF"&gt;http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/repos.htm#CIHDCHCF&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Articles&lt;br /&gt;&lt;/strong&gt;&lt;a href="http://www.oracle.com/technology/pub/articles/adf-development-essentials/part8.html"&gt;http://www.oracle.com/technology/pub/articles/adf-development-essentials/part8.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Tutorial&lt;br /&gt;&lt;/strong&gt;&lt;a href="http://www.oracle.com/technology/products/jdev/11/cuecards111/adf_set_18/ccset18_ALL.html"&gt;http://www.oracle.com/technology/products/jdev/11/cuecards111/adf_set_18/ccset18_ALL.html&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;Blogs&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://biemond.blogspot.com/2009/07/customize-and-personalize-your-jsf.html"&gt;http://biemond.blogspot.com/2009/07/customize-and-personalize-your-jsf.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://andrejusb.blogspot.com/2009/09/persisting-query-criteria-results.html"&gt;http://andrejusb.blogspot.com/2009/09/persisting-query-criteria-results.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I created a demo application:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/MDSTest.zip"&gt;http://adfbugs.googlecode.com/files/MDSTest.zip&lt;/a&gt;&lt;br /&gt;Where user1/welcome1 has customizations:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/TGEtYYZzasI/AAAAAAAAAss/cWRNf-LsaFw/s1600/MDS_c.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5503730116514245314" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 175px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/TGEtYYZzasI/AAAAAAAAAss/cWRNf-LsaFw/s400/MDS_c.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;And user2/welcome2 has not:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/TGEtfNvur8I/AAAAAAAAAs0/Ac_FPVrllLM/s1600/MDS_noc.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5503730233912504258" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 199px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/TGEtfNvur8I/AAAAAAAAAs0/Ac_FPVrllLM/s400/MDS_noc.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;And tested also our application with MDS enabled&lt;br /&gt;I came up with the following &lt;strong&gt;conclusions&lt;/strong&gt; :&lt;br /&gt;&lt;p&gt;User customization Persist user changes through MDS is very powerful framework and all users would like to have it, yet it has it limitation and its cost:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Limitations&lt;/strong&gt;:&lt;/p&gt;&lt;p&gt;1. &lt;strong&gt;Save Search&lt;/strong&gt;: If you Use MDS then you need to configure also Saved search, or else you get exception when you try to save it&lt;br /&gt;2. &lt;strong&gt;Components&lt;/strong&gt; Not all components and attributes are persisted by default and they might override your custom business logic.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/TGEy3HPKeDI/AAAAAAAAAs8/7uxHv2-c43A/s1600/mds_components.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5503736142040299570" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 294px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/TGEy3HPKeDI/AAAAAAAAAs8/7uxHv2-c43A/s400/mds_components.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. &lt;strong&gt;Deployment:&lt;/strong&gt; New deployment file is needed (MAR) and configuration in order to define MDS repository domain. Investigation is needed for continues integration and deployment processes and update deployment scripts&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Cost&lt;br /&gt;&lt;/strong&gt;&gt; Performance&lt;br /&gt;-- Increased resources needed on weblogic (memory and disc io)&lt;br /&gt;-- Increased resources needed on database (mds_repository)&lt;br /&gt;-- Lower response time on customisable components&lt;br /&gt;&gt; Increase testing needs&lt;br /&gt;&gt; Increase Administration needs (database, weblogic, metadata management)&lt;br /&gt;&gt; Saved search may break integration between Pages. Workaround may be needed for specific search pages. This will increase development needs&lt;br /&gt;&gt; Increase Support needs.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8307188796457132505?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8307188796457132505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/08/mds-user-customization-capabilities-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8307188796457132505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8307188796457132505'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/08/mds-user-customization-capabilities-and.html' title='MDS User customization capabilities and cost'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/TGEtYYZzasI/AAAAAAAAAss/cWRNf-LsaFw/s72-c/MDS_c.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3969672211433922509</id><published>2010-07-21T05:51:00.001-07:00</published><updated>2011-01-22T00:46:20.388-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='View Criteria'/><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><title type='text'>Choice list and LOV in query criteria bug (Fixed in 11.1.1.4)</title><content type='html'>We have a strange bug in our application.&lt;br /&gt;When ever in query criteria we have choice list as first criterion and we have also input List of values in criteria then the input List of values does not return values.&lt;br /&gt;When you open LOV and select a row the LOV closes automatically and value is not returned.&lt;br /&gt;&lt;br /&gt;I managed to reproduce it in simple test case in HR schema with 1 choice list and 1 list of values:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TEbv82xnGqI/AAAAAAAAAsk/P1XJWrlBKXc/s1600/choiseListAndLOV.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 271px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5496344224027056802" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TEbv82xnGqI/AAAAAAAAAsk/P1XJWrlBKXc/s400/choiseListAndLOV.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The workaround is either not to use choice list as first criterion or not to have Input List of values field autosubmit = true.&lt;br /&gt;&lt;br /&gt;Strange?&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestChoiseListAndLov.zip"&gt;http://adfbugs.googlecode.com/files/TestChoiseListAndLov.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3969672211433922509?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3969672211433922509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/07/choice-list-and-lov-in-query-criteria.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3969672211433922509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3969672211433922509'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/07/choice-list-and-lov-in-query-criteria.html' title='Choice list and LOV in query criteria bug (Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/TEbv82xnGqI/AAAAAAAAAsk/P1XJWrlBKXc/s72-c/choiseListAndLOV.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6961648234131865308</id><published>2010-07-09T07:47:00.000-07:00</published><updated>2010-07-10T23:34:06.557-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='View Criteria'/><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>Making View Criteria Case Insensitive.</title><content type='html'>When you create view criteria you can easily set in each string criterion if it should be Case sensitive or not by checking or unchecking 'Ignore Case'.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/TDc4t9Y9RII/AAAAAAAAAsU/jqmoyepuvgM/s1600/casesens1.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5491920632826119298" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/TDc4t9Y9RII/AAAAAAAAAsU/jqmoyepuvgM/s400/casesens1.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Yet the default view criteria used in LOVs or criteria of fields added in advanced search are always Case Sensitive and you cannot declaratively change that.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I found a realy old post of Steve Muench for similar case in very old release of jdeveloper&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/products/jdev/howtos/10g/dynamiccrit/index.html"&gt;http://www.oracle.com/technology/products/jdev/howtos/10g/dynamiccrit/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and managed with little changes to apply it in latest release also:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/TDc6ryuklfI/AAAAAAAAAsc/A6EmrgkZmLk/s1600/casesens3.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 313px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5491922794627503602" border="0" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/TDc6ryuklfI/AAAAAAAAAsc/A6EmrgkZmLk/s400/casesens3.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now all view criteria for string fields are case insensitive.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/TDc4mDM6U3I/AAAAAAAAAsM/4ikFW8JAVSg/s1600/casesens2.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 336px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5491920496947254130" border="0" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/TDc4mDM6U3I/AAAAAAAAAsM/4ikFW8JAVSg/s400/casesens2.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note that this implementation will override any criterion you have set as Case Sensitive.&lt;br /&gt;You can add this code to your base view object so that all view objects work like that.&lt;br /&gt;&lt;br /&gt;test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestCaseInsensitive.zip"&gt;http://adfbugs.googlecode.com/files/TestCaseInsensitive.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6961648234131865308?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6961648234131865308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/07/making-view-criteria-case-insensitive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6961648234131865308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6961648234131865308'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/07/making-view-criteria-case-insensitive.html' title='Making View Criteria Case Insensitive.'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/TDc4t9Y9RII/AAAAAAAAAsU/jqmoyepuvgM/s72-c/casesens1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4411286013940717136</id><published>2010-07-01T01:54:00.000-07:00</published><updated>2010-07-01T02:14:18.288-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Table'/><title type='text'>Table input text resize while typing non latin characters/ output text not selectable</title><content type='html'>In af:table input fields have a nice animation while you type non latin characters.&lt;br /&gt;As long as you type characters the width of the field becomes smaller:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/TCxbdip7bPI/AAAAAAAAAsE/MK-anPENBw0/s1600/tableinput1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5488862608934792434" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 314px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/TCxbdip7bPI/AAAAAAAAAsE/MK-anPENBw0/s400/tableinput1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have tested with Greek and Turkish characters.&lt;br /&gt;If you mouse over the field it returns to the correct width.&lt;br /&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;Also there is no way you can select a value from the output fields in order to copy it.&lt;br /&gt;&lt;br /&gt;These are quite frustrating for the users&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestTableInputOutput.zip"&gt;http://adfbugs.googlecode.com/files/TestTableInputOutput.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4411286013940717136?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4411286013940717136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/07/table-input-text-resize-while-typing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4411286013940717136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4411286013940717136'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/07/table-input-text-resize-while-typing.html' title='Table input text resize while typing non latin characters/ output text not selectable'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/TCxbdip7bPI/AAAAAAAAAsE/MK-anPENBw0/s72-c/tableinput1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-5603840486905879226</id><published>2010-06-21T03:12:00.000-07:00</published><updated>2010-06-21T03:15:38.140-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SOA'/><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>Always run weblogic servers as Administrator</title><content type='html'>&lt;p&gt;I spend all weekend trying to install SOA suite at home.&lt;br /&gt;I have a new i7 pc with windows 7 and 4G ram.&lt;br /&gt;After spending hours on installing:&lt;br /&gt;--&gt;11g database,&lt;br /&gt;--&gt;Repositories with rcu (failed the first time because of database parameters processes and open_cursors must be 500)&lt;br /&gt;--&gt;Java bridge&lt;br /&gt;--&gt;Lookback adapter.&lt;br /&gt;--&gt;Weblogic 10.3.3.&lt;br /&gt;--&gt;Application development runtime 11.1.1.2 and 11.1.1.3&lt;br /&gt;--&gt;SOA Suite 11.1.1.2 and patchset 11.1.1.3&lt;br /&gt;&lt;br /&gt;I try to run admin server and I got many exceptions … class not found … invalid variables, deployments failed.&lt;br /&gt;&lt;br /&gt;So I thought I did something wrong and I did the hall thing again (from the weblogic part). But still the same ??!!. Then it came to me…&lt;br /&gt;I right click on Start Admin server and I choose &lt;strong&gt;run as Administrator&lt;/strong&gt;… and eurica!! All went smoothly.&lt;br /&gt;&lt;br /&gt;I used the same way to open cmd windows to run managed servers:&lt;br /&gt;--&gt;first soa_server  took 20 minutes to deploy all applications&lt;br /&gt;--&gt;then bam_server&lt;br /&gt;Everything worked fine now.&lt;br /&gt;&lt;br /&gt;Yet the memory consumption of my pc went to 3GB, and everything was operating really slowly after that.&lt;br /&gt;&lt;br /&gt;So I suggest… don’t try this at home…&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-5603840486905879226?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/5603840486905879226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/06/always-run-weblogic-servers-as.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5603840486905879226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5603840486905879226'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/06/always-run-weblogic-servers-as.html' title='Always run weblogic servers as Administrator'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-5867299997543506038</id><published>2010-06-14T02:13:00.000-07:00</published><updated>2010-06-14T02:28:38.979-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><title type='text'>Range Paging in LOVs bug #9467477</title><content type='html'>Using Range Paging in LOVs is fixed in new jdeveloper 11.1.1.3.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/performance-tuning-lovs-and-range.html"&gt;http://adfbugs.blogspot.com/2009/07/performance-tuning-lovs-and-range.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Yet it still has bugs, when you use LOV criteria or on dependent LOV sometimes it shows error:&lt;br /&gt;&lt;br /&gt;java.sql.SQLException: Missing IN or OUT parameter at index:: 1 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)&lt;br /&gt;&lt;br /&gt;I have posted an SR for this and bug was logged #9467477 SQLEXCEPTION: MISSING IN OR OUT PARAMETER AT INDEX, IN LOV WITH RANGE PAGING, that it is also fixed for next jdeveloper 11.1.1.4 release. Thanks Didier.&lt;br /&gt;&lt;br /&gt;I decided to post it also here since this bug is not public visible in Support (not even for me that i posted the SR.&lt;br /&gt;&lt;br /&gt;Steps to reproduce in test case are:&lt;br /&gt;1. Open Departments LOV&lt;br /&gt;2. Scroll down to LOV until fethcing data message apears&lt;br /&gt;3. Type in criteria for departmentId value i.e.'1' and without pressing Search select a row in LOV.SQL&lt;br /&gt;Error message apears:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/TBX1MSI90hI/AAAAAAAAArs/hbsuvM9k5Wc/s1600/rangePagingLov.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5482557712770126354" style="WIDTH: 363px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/TBX1MSI90hI/AAAAAAAAArs/hbsuvM9k5Wc/s400/rangePagingLov.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/LovRangePagingBug.zip"&gt;http://adfbugs.googlecode.com/files/LovRangePagingBug.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-5867299997543506038?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/5867299997543506038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/06/range-paging-in-lovs-bug-9467477.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5867299997543506038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5867299997543506038'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/06/range-paging-in-lovs-bug-9467477.html' title='Range Paging in LOVs bug #9467477'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/TBX1MSI90hI/AAAAAAAAArs/hbsuvM9k5Wc/s72-c/rangePagingLov.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4257610040247443348</id><published>2010-06-07T07:36:00.000-07:00</published><updated>2010-06-10T05:28:10.189-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><title type='text'>Entity Security (jdeveloper11.1.1.3 Functionality Change)</title><content type='html'>After Migration to new jdeveloper we found out that users that had no permissions to update entities could insert and save new records!!!???&lt;br /&gt;&lt;br /&gt;I managed to reproduced in a simple test case with 1 entity Jobs on an editable table.&lt;br /&gt;I have enabled security and I have 2 roles ‘UpdateJobs’ and ‘ViewJobs’.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/TA0EXeJAs5I/AAAAAAAAArc/85EHpix6cVw/s1600/sec2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5480041122854122386" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 167px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/TA0EXeJAs5I/AAAAAAAAArc/85EHpix6cVw/s400/sec2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I have added authorisation to entity update and delete for role UpdateJobs.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TA0EhXVqoVI/AAAAAAAAArk/mxpJ3uk2SZM/s1600/sec1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5480041292826845522" style="WIDTH: 329px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TA0EhXVqoVI/AAAAAAAAArk/mxpJ3uk2SZM/s400/sec1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When I loggin with a user that just have ViewJobs role table rows comes read only and Delete button disabled.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/TA0ERsNqs1I/AAAAAAAAArU/_Z7M13d4kG8/s1600/sec3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5480041023552533330" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 312px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/TA0ERsNqs1I/AAAAAAAAArU/_Z7M13d4kG8/s400/sec3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Yet CreateInsert button is enabled and if I press it new row is created with updatable attributes that I can also save it without a problem. &lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TA0EJJrTsXI/AAAAAAAAArM/_3uUX1n6uh0/s1600/sec4.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5480040876842660210" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 298px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TA0EJJrTsXI/AAAAAAAAArM/_3uUX1n6uh0/s400/sec4.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Before last patch you could still create new row but it was not updatable.&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestInsertSecurity.zip"&gt;http://adfbugs.googlecode.com/files/TestInsertSecurity.zip&lt;/a&gt;&lt;br /&gt;password for User and Manager : welcome1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4257610040247443348?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4257610040247443348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/06/entity-security-hole-new.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4257610040247443348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4257610040247443348'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/06/entity-security-hole-new.html' title='Entity Security (jdeveloper11.1.1.3 Functionality Change)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/TA0EXeJAs5I/AAAAAAAAArc/85EHpix6cVw/s72-c/sec2.JPG' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-2144203940481273130</id><published>2010-06-02T04:28:00.000-07:00</published><updated>2010-06-19T01:11:36.746-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>ADF Client Tag Libraries of weblogic 10.3.3 installation are diferent from jdeveloper11.1.1.3</title><content type='html'>Latest weblogic 10.3.3 installation and jdeveloper11.1.1.3.0 installation software&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/software/products/middleware/index.html"&gt;http://www.oracle.com/technology/software/products/middleware/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;have different adf faces component ligraries.&lt;br /&gt;&lt;br /&gt;We found it the hard way.&lt;br /&gt;We used the new feature of popups the autoCancel property.&lt;br /&gt;Even though in embeded weblogic is working, when we deployed we had a jsp compilation error:&lt;br /&gt;&lt;br /&gt;Error message: Failed to compile JSP /pages/bill/billissue/billIssue.jspxbillIssue.jspx:792:23: This attribute is not recognized. autoCancel="disabled"&gt; ^--------^ Error type: class weblogic.servlet.jsp.CompilationException&lt;br /&gt;&lt;br /&gt;by searching the differences we found out that&lt;br /&gt;Oracle/MiddlewareR1P2/oracle_common/modules/oracle.adf.view_11.1.1/adf-richclient-impl-11.jar!/META-INF/afu.tld&lt;br /&gt;in jdeveloper 11.1.1.3&lt;br /&gt;is different than&lt;br /&gt;wsl_middleware/oracle_common/modules/oracle.adf.view_11.1.1/adf-richclient-impl-11.jar!/META-INF/afu.tld&lt;br /&gt;of the weblogic 10.3.3. installation&lt;br /&gt;The weblogic afu.tld does not have the autoCancel property&lt;br /&gt;&lt;br /&gt;We hope that by just copying the jdeveloper11.1.1.3 adf-richclient-impl-11.jar to weblogic the problem will be fixed.&lt;br /&gt;&lt;br /&gt;Unfortunately, just copying the jar did not solve the problem&lt;br /&gt;&lt;br /&gt;Test Case: &lt;a href="http://adfbugs.googlecode.com/files/TestAutoCancelPopup.zip"&gt;http://adfbugs.googlecode.com/files/TestAutoCancelPopup.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;SR posted :3-1820014361&lt;br /&gt;&lt;br /&gt;It seems that you need to manual install on latest weblogic 10.3.3. tha latest adf runtime libraries.&lt;br /&gt;You can find how to on:&lt;br /&gt;Oracle Support Knowledge base Note [ID 1094153.1] Installing ADF 11.1.1.3 Runtime Into FMW 11gR1 Patchset 2&lt;br /&gt;or &lt;a href="http://theblasfrompas.blogspot.com/2010/05/installing-adf-runtime-into-fmw-11gr1.html"&gt;http://theblasfrompas.blogspot.com/2010/05/installing-adf-runtime-into-fmw-11gr1.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-2144203940481273130?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/2144203940481273130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/06/adf-client-tag-libraries-of-weblogic.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2144203940481273130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2144203940481273130'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/06/adf-client-tag-libraries-of-weblogic.html' title='ADF Client Tag Libraries of weblogic 10.3.3 installation are diferent from jdeveloper11.1.1.3'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6354316475122826791</id><published>2010-05-31T06:52:00.000-07:00</published><updated>2011-01-22T00:47:22.734-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Choice List'/><title type='text'>Choise list in popup turn to null after submit (Fixed in 11.1.1.4)</title><content type='html'>After migration we have strange behavior in popups with choise list, file upload and other components.&lt;br /&gt;I managed to reproduce it in a simple test case with a table and a Edit popup with a simple choise list.&lt;br /&gt;The first time i open popup it looks ok&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TAPBfRHUGJI/AAAAAAAAArE/9ONH6YFx84k/s1600/popup1.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 288px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5477434314726840466" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TAPBfRHUGJI/AAAAAAAAArE/9ONH6YFx84k/s400/popup1.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;If i press 'Submit' button (full submit) the popup is closed as expected since it is autoCancel enabled.&lt;br /&gt;&lt;br /&gt;But if i open popup again, then the coise list is empty!!??&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/TAPBTC4IJCI/AAAAAAAAAq8/A-a5mWkfX_A/s1600/popup2.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 288px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5477434104746615842" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/TAPBTC4IJCI/AAAAAAAAAq8/A-a5mWkfX_A/s400/popup2.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This causes other side effects. I.e. if you have partial trigger in popup components from page table, then when you change a line after you have closed popup with submit you get the following error:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/TAPBMBWF00I/AAAAAAAAAq0/u61J1w1sa3o/s1600/popup3.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 195px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5477433984076337986" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/TAPBMBWF00I/AAAAAAAAAq0/u61J1w1sa3o/s400/popup3.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The following does not happen if you press the ok/cancel dialog buttons or x button.&lt;br /&gt;&lt;br /&gt;The workaround we are using is not to use full submit buttons in popups, and close popup programaticaly in backing bean:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;em&gt;public void closePopUp(String popUpId){ &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;em&gt;FacesContext facesContext = FacesContext.getCurrentInstance(); ExtendedRenderKitService service = Service.getRenderKitService &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;em&gt;(facesContext, ExtendedRenderKitService.class); &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;em&gt;service.addScript(facesContext, "AdfPage.PAGE.findComponent('templateid:"+ popUpId &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;em&gt;+"').hide();");&lt;br /&gt;}&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Also with autocancel = enabled, then a partial submit button and a partial trigger on popup or on parent component will close the popup without problem.&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestPopup.zip"&gt;http://adfbugs.googlecode.com/files/TestPopup.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6354316475122826791?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6354316475122826791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/05/choise-list-in-popup-turn-to-null-after.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6354316475122826791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6354316475122826791'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/05/choise-list-in-popup-turn-to-null-after.html' title='Choise list in popup turn to null after submit (Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/TAPBfRHUGJI/AAAAAAAAArE/9ONH6YFx84k/s72-c/popup1.JPG' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4980770623362271420</id><published>2010-05-26T02:42:00.000-07:00</published><updated>2011-01-22T00:49:42.602-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='View Criteria'/><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><title type='text'>Single Row LOV in Query Criteria Bug (Fixed in 11.1.1.4)</title><content type='html'>When List of values has only 1 row then in query criteria you cannot set input to null after the first time you set a value.&lt;br /&gt;&lt;br /&gt;To reproduce in the test case of Employees with Departments LOV i set where clause of DepartmentsView rownum=1.&lt;br /&gt;&lt;br /&gt;I assign DepartmentsView as LOV in Employees.DepartmentId attribute and set it to autosubmit.&lt;br /&gt;&lt;br /&gt;I put DepartmentId in query criteria of Employees.&lt;br /&gt;&lt;br /&gt;I create a simple query panel with results table for Employees and i run application:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S_zuDKfNymI/AAAAAAAAAqs/2iBYJyWGYns/s1600/SingleRowLov.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 353px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5475512985097980514" border="0" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S_zuDKfNymI/AAAAAAAAAqs/2iBYJyWGYns/s400/SingleRowLov.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Steps to reproduce:&lt;br /&gt;1. open DepartmentId LOV and select value. press tab or search&lt;br /&gt;2. delete value of DepartmentId and press tab or search&lt;br /&gt;Result: value is not deleted from LOV field. and search still has the criterion.&lt;br /&gt;&lt;br /&gt;Only way to make value null is to press reset button.&lt;br /&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestSingleRowLOV.zip"&gt;http://adfbugs.googlecode.com/files/TestSingleRowLOV.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4980770623362271420?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4980770623362271420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/05/single-row-lov-in-query-criteria-bug.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4980770623362271420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4980770623362271420'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/05/single-row-lov-in-query-criteria-bug.html' title='Single Row LOV in Query Criteria Bug (Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/S_zuDKfNymI/AAAAAAAAAqs/2iBYJyWGYns/s72-c/SingleRowLov.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-2625703827708597224</id><published>2010-05-14T03:59:00.001-07:00</published><updated>2010-05-14T03:59:57.725-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><title type='text'>ADF and DBA have 2/3 letters in common</title><content type='html'>I was doing DBA work this week. We installed our application in different schema and the performance dropped to hell.&lt;br /&gt;&lt;br /&gt;The View objects queries that we spend a lot of time tuning in previous schema now they had different execution plan.&lt;br /&gt;&lt;br /&gt;So I check the instance properties and I see OPTIMIZER_MODE=ALL_ROWS.&lt;br /&gt;This option means that when you do a query the optimizer thinks that you are trying to retrieve all data from the query so it check the statistics to find the best plan to retrieve all rows usually by full table scans. The all_rows mode is generally used during batch-oriented processing and for data warehouses where the goal is to minimize server resource consumption.&lt;br /&gt;&lt;br /&gt;This is not the case in our application and I guess in most ADF applications. I changed it to OPTIMIZER_MODE=FIRST_ROWS. The first_rows optimizer_mode is generally used in online system where the end-user wants to see the first page of query results as quickly as possible. This had a huge positive effect in the performance of our fusion application.&lt;br /&gt; May be this is considered basic for DBAs but it seems that ADF developers should know also in order not to loose time tuning view objects in a wrong configured database.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-2625703827708597224?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/2625703827708597224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/05/adf-and-dba-have-23-letters-in-common.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2625703827708597224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2625703827708597224'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/05/adf-and-dba-have-23-letters-in-common.html' title='ADF and DBA have 2/3 letters in common'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-9052782869718218036</id><published>2010-05-06T00:17:00.000-07:00</published><updated>2011-01-22T00:51:18.200-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><title type='text'>User principal is not propagated to Middle tier. New bug on 11.1.1.3. (Fixed in 11.1.1.4)</title><content type='html'>It may be strange that a new bug like that is introduced in a bug fixing release but it can happen to the best also.&lt;br /&gt;&lt;br /&gt;After Migrating to jdeveloper 11.1.1.3.0 you will notice that application module method getUserPrincipalName() return always ‘Anonymous’ and history columns for user are populated with null. Andrejus Baranovskis &lt;a href="http://andrejusb.blogspot.com/2010/05/jdeveloper-11g-ps2-getuserprincipalname.html"&gt;have posted about it&lt;/a&gt;, Steve Muench logged on Oracle Metalink - bug# 9672139 and a workaround is posted also in the comments that we also use and seams to solve the problem.&lt;br /&gt;I post it also to follow upe with it.&lt;br /&gt;On our base Application Module class we override the prepare session and:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;@Override&lt;br /&gt;protected void prepareSession(Session session) {&lt;br /&gt;String contextUser = ADFContext.getCurrent().getSecurityContext().getUserName();&lt;br /&gt;String envUser = (String)session.getEnvironment().get(PropertyMetadata.USER_PRINCIPAL.getName());&lt;br /&gt;if (!envUser.equals(contextUser)) {&lt;br /&gt;session.getEnvironment().put(PropertyMetadata.USER_PRINCIPAL.getName(),contextUser);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;super.prepareSession(session);&lt;br /&gt;}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-9052782869718218036?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/9052782869718218036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/05/user-principal-is-not-propagated-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/9052782869718218036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/9052782869718218036'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/05/user-principal-is-not-propagated-to.html' title='User principal is not propagated to Middle tier. New bug on 11.1.1.3. (Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8612536588347542618</id><published>2010-05-04T00:02:00.000-07:00</published><updated>2010-05-04T00:09:01.106-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Still reproduced bugs in jdeveloper 11.1.1.3</title><content type='html'>I went through previus posted bugs and verified that the following defects are still reproduced in new version of jdeveloper:&lt;br /&gt;&lt;br /&gt;*Attribute Validation on Input List of Values attribute&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/11/attribute-validation-on-input-list-of.html"&gt;http://adfbugs.blogspot.com/2009/11/attribute-validation-on-input-list-of.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Page Fragment Design view is messed up when using resource bundle&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/10/page-fragment-design-view-is-messed-up.html"&gt;http://adfbugs.blogspot.com/2009/10/page-fragment-design-view-is-messed-up.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Workaround for Page Fragment Design view when using resource bundle&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/11/workaround-for-page-fragment-design.html"&gt;http://adfbugs.blogspot.com/2009/11/workaround-for-page-fragment-design.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Number precision and scale bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/10/number-precision-and-scale-bug.html"&gt;http://adfbugs.blogspot.com/2009/10/number-precision-and-scale-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tab selection and Enable User Customization on Session bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html"&gt;http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Unsaved changes uncommittedDataWarning bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/09/unsaved-changes-uncommitteddatawarning.html"&gt;http://adfbugs.blogspot.com/2009/09/unsaved-changes-uncommitteddatawarning.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;*ExecuteEmptyRowSet and Range Paging.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/09/executeemptyrowset-and-range-paging.html"&gt;http://adfbugs.blogspot.com/2009/09/executeemptyrowset-and-range-paging.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table Filter Bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/table-filter-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/table-filter-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Returning from dialog to a page that has f:verbatim tag bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/returning-from-dialog-to-page-that-has.html"&gt;http://adfbugs.blogspot.com/2009/08/returning-from-dialog-to-page-that-has.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;*Range paging and Table Selected Row Bugs&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/range-paging-and-table-selected-row.html"&gt;http://adfbugs.blogspot.com/2009/07/range-paging-and-table-selected-row.html&lt;/a&gt;&lt;br /&gt;*** even though related metalink bug 8673654 is marked as fixed for this version&lt;br /&gt;&lt;br /&gt;*Partial Page Rendering ChangeEventPolicy="ppr" bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/partial-page-rendering.html"&gt;http://adfbugs.blogspot.com/2009/07/partial-page-rendering.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Setting value programmatically on required field.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/11/setting-value-programmatically-on.html"&gt;http://adfbugs.blogspot.com/2009/11/setting-value-programmatically-on.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;*Composition Association and Locking&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/12/composition-association-and-locking.html"&gt;http://adfbugs.blogspot.com/2009/12/composition-association-and-locking.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;*Bind Variable and View Criteria in view with range paging bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/02/bind-variable-and-view-criteria-in-view.html"&gt;http://adfbugs.blogspot.com/2010/02/bind-variable-and-view-criteria-in-view.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;*Rollback does not refresh current row of af:table after validation errors.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/03/rollback-does-not-refresh-current-row.html"&gt;http://adfbugs.blogspot.com/2010/03/rollback-does-not-refresh-current-row.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Removing a LOV return value leaves garbage in view object&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/03/removing-lov-return-value-leaves.html"&gt;http://adfbugs.blogspot.com/2010/03/removing-lov-return-value-leaves.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Type Map change corrupt project metadata.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/04/type-map-change-corrupt-project.html"&gt;http://adfbugs.blogspot.com/2010/04/type-map-change-corrupt-project.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Unique Key Validator on Entity does not work correctly&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/04/unique-key-validator-on-entity-does-not.html"&gt;http://adfbugs.blogspot.com/2010/04/unique-key-validator-on-entity-does-not.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Auto Submit does not set the value in bindings if you navigate with mouse&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/04/auto-submit-does-not-set-value-in.html"&gt;http://adfbugs.blogspot.com/2010/04/auto-submit-does-not-set-value-in.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From the above i consider more important those with * since there is not an easy workaround or have big effect on functionality.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8612536588347542618?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8612536588347542618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/05/still-reproduced-bugs-in-jdeveloper.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8612536588347542618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8612536588347542618'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/05/still-reproduced-bugs-in-jdeveloper.html' title='Still reproduced bugs in jdeveloper 11.1.1.3'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6914446672982569339</id><published>2010-05-03T01:34:00.000-07:00</published><updated>2010-05-03T01:39:22.190-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Fixed Defects in 11.1.1.3</title><content type='html'>I went through previus posted bugs and verified that the following defects are fixed in new version of jdeveloper:&lt;br /&gt;&lt;br /&gt;LOV execute query many times&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/lov-execute-query-many-times.html"&gt;http://adfbugs.blogspot.com/2009/08/lov-execute-query-many-times.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Range Paging in Master Detail bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/range-paging-in-master-detail-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/range-paging-in-master-detail-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Af:Query bind variable bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;LOV view object Tuning: 'Only up to row number' bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/lov-view-object-tuning-only-up-to-row.html"&gt;http://adfbugs.blogspot.com/2009/08/lov-view-object-tuning-only-up-to-row.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Query Component Required Criterion bug ( r1 Bug)&lt;a href="http://adfbugs.blogspot.com/2009/07/query-component-required-criterion-bug.html"&gt;http://adfbugs.blogspot.com/2009/07/query-component-required-criterion-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;New Bind Variable and View Criteria bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/01/new-bind-variable-and-view-criteria-bug.html"&gt;http://adfbugs.blogspot.com/2010/01/new-bind-variable-and-view-criteria-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Selectively required criteria in LOV&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/01/selectively-required-criteria-in-lov.html"&gt;http://adfbugs.blogspot.com/2010/01/selectively-required-criteria-in-lov.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Required Criterion on Choice List type Attribute.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/01/required-criterion-on-choice-list-type.html"&gt;http://adfbugs.blogspot.com/2010/01/required-criterion-on-choice-list-type.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;These are quite important Fixes for us since they improve LOV functionality that we commonly use and view criteria. They also improve the performance of these controls.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6914446672982569339?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6914446672982569339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/05/fixed-defects-in-11113.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6914446672982569339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6914446672982569339'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/05/fixed-defects-in-11113.html' title='Fixed Defects in 11.1.1.3'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-9024477611204090011</id><published>2010-04-28T01:07:00.000-07:00</published><updated>2010-04-28T01:18:44.078-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>A new version of JDeveloper is out: JDeveloper 11.1.1.3.0 (Build 5660)</title><content type='html'>A new version of JDeveloper is out: JDeveloper 11.1.1.3.0 (Build 5660)&lt;br /&gt;You can download it from &lt;a href="http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html"&gt;OTN&lt;/a&gt;.&lt;br /&gt;New features and bugs fixed list is available [&lt;a href="http://www.oracle.com/technology/products/jdev/collateral/papers/11/newfeatures/index.html"&gt;Here&lt;/a&gt;]&lt;br /&gt;&lt;br /&gt;It is mostly a bug fixing release.&lt;br /&gt;some bugs reported as fixed seems to be related to bugs of this blog:&lt;br /&gt;&lt;br /&gt;8975151 RFI:UNABLE TO USE VO RANGE_PAGING OPTION IN LIST OF VALUES&lt;br /&gt;&lt;br /&gt;D8B2-BLK:PRJ:LOV THROWING NPE AFTER DISABLING AMPOOLING.&lt;br /&gt;&lt;br /&gt;9149095 RFI: RANGE PAGING JSF PAGE RETURNS TOTAL ROW COUNT IN GETFETCHEDROWCOUNT()&lt;br /&gt;&lt;br /&gt;I will walk through the bugs reported till now and try to reproduce them in new release and i will post a list of fixed and still reproduced bugs&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-9024477611204090011?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/9024477611204090011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/04/new-version-of-jdeveloper-is-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/9024477611204090011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/9024477611204090011'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/04/new-version-of-jdeveloper-is-out.html' title='A new version of JDeveloper is out: JDeveloper 11.1.1.3.0 (Build 5660)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-7007684269556466209</id><published>2010-04-21T01:10:00.000-07:00</published><updated>2010-04-21T01:24:19.476-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Table'/><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>Inserting new rows as last row of table</title><content type='html'>By Default when you add a new row on table (or view object) it is added before the current selected row.&lt;br /&gt;&lt;br /&gt;End user requirement was that when we press Insert the new row should be added as last row no matter which is the current row.&lt;br /&gt;&lt;br /&gt;This is implemented by overriding the View Object method insert(row).&lt;br /&gt;&lt;span style="color:#000099;"&gt;/**&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;* Insert new Rows at the end of RowSet.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;* @param row&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;*/ &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;@Override &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  public void insertRow(Row row) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;//go to the end of Rowset if it has rows&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  Row lastRow = this.last();&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  if (lastRow != null) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;    //insert new row at the end and make it current&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;    int indx = this.getRangeIndexOf(lastRow) + 1;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;    this.insertRowAtRangeIndex(indx, row);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  this.setCurrentRow(row);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt; } else { // empty Rowset&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;    super.insertRow(row);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  }&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; This could cose performance issue when inserting new rows on very large tables.&lt;br /&gt;&lt;br /&gt;Don’t forget in table components to always set displayRow="selected" so that the new row to be visible no matter how many rows there are.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S860CXXSrPI/AAAAAAAAAqc/-f9Cu8qEu64/s1600/NewRow.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5462501350771436786" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 256px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S860CXXSrPI/AAAAAAAAAqc/-f9Cu8qEu64/s400/NewRow.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestNewRowAtEnd.zip"&gt;http://adfbugs.googlecode.com/files/TestNewRowAtEnd.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-7007684269556466209?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/7007684269556466209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/04/inserting-new-rows-as-last-row-of-table.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/7007684269556466209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/7007684269556466209'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/04/inserting-new-rows-as-last-row-of-table.html' title='Inserting new rows as last row of table'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/S860CXXSrPI/AAAAAAAAAqc/-f9Cu8qEu64/s72-c/NewRow.JPG' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-7537849018406982285</id><published>2010-04-16T02:08:00.000-07:00</published><updated>2011-01-22T00:53:50.642-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>Auto Submit does not set the value in bindings if you navigate with mouse  (Fixed in 11.1.1.4)</title><content type='html'>Auto Submit does not set the value in bindings if you navigate with mouse.&lt;br /&gt;&lt;br /&gt;You can test that by debuging an input field by typing a value and go to an other field using mouse, the setter of the field is not called. Yet the value change listener is invoked.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This causes problem in dependent components also since they will be recalculated with the old value.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For example in dependent LOV by navigating away from the dependant field with the mouse it does not cause the LOV to re-execute with the new value so you may have validation error even if the value of LOV field is correct, or you may have wrong filter in LOV.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S8gsVRht86I/AAAAAAAAAqU/b-fj3xI2kUE/s1600/autoSubmit1.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 242px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5460663292180427682" border="0" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S8gsVRht86I/AAAAAAAAAqU/b-fj3xI2kUE/s400/autoSubmit1.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S8gsLLahHFI/AAAAAAAAAqM/vy7Dz2Eji7s/s1600/autoSubmit2.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 143px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5460663118740921426" border="0" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S8gsLLahHFI/AAAAAAAAAqM/vy7Dz2Eji7s/s400/autoSubmit2.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestAutoSubmitMouseNav.zip"&gt;http://adfbugs.googlecode.com/files/TestAutoSubmitMouseNav.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The workaround we use in such cases is since the value change listener of DepartmentId is invoked to explicity set also the binding field value there. Like:&lt;br /&gt;&lt;br /&gt;ADFUtils.setBoundAttributeValue("DepartmentId", valueChangeEvent.getNewValue());&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-7537849018406982285?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/7537849018406982285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/04/auto-submit-does-not-set-value-in.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/7537849018406982285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/7537849018406982285'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/04/auto-submit-does-not-set-value-in.html' title='Auto Submit does not set the value in bindings if you navigate with mouse  (Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/S8gsVRht86I/AAAAAAAAAqU/b-fj3xI2kUE/s72-c/autoSubmit1.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-5318714135591880678</id><published>2010-04-12T06:52:00.000-07:00</published><updated>2010-04-12T07:54:19.928-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Validations'/><title type='text'>Unique Key Validator on Entity does not work correctly</title><content type='html'>Unique Key Validator on Entity does not work correctly. Even if you have valid data in your entities, since it checks also database values it shows validation error.&lt;br /&gt;Also after that in table components validations messages does not show after a refresh of browser, data change automatically to database values without showing an error.&lt;br /&gt;&lt;br /&gt;For example in simple department Entity i create an alternative Key for DepartmentName to be unique.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S8MxQ2JYBCI/AAAAAAAAAp8/x6cAV1ryDk8/s1600/uniqVal1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5459261338785678370" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 207px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S8MxQ2JYBCI/AAAAAAAAAp8/x6cAV1ryDk8/s400/uniqVal1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then i add an entity Unique Key Validation for this key:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/S8Mw2bKcjAI/AAAAAAAAAp0/fcsgvKpX89Q/s1600/uniqVal2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5459260884865813506" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 274px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/S8Mw2bKcjAI/AAAAAAAAAp0/fcsgvKpX89Q/s400/uniqVal2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I run a page with departments table and i create 2 departments&lt;br /&gt;1 Dep1&lt;br /&gt;2 Dep2&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S8MxXOLfkMI/AAAAAAAAAqE/hVtlJ57H4B4/s1600/uniqVal.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5459261448316227778" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 191px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S8MxXOLfkMI/AAAAAAAAAqE/hVtlJ57H4B4/s400/uniqVal.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;If i change department 1 name to dep2 then i correctly get the validation error:&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/S8Mvfsyfv2I/AAAAAAAAAps/7YfxuoE6P-U/s1600/uniqVal3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5459259394948579170" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 176px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/S8Mvfsyfv2I/AAAAAAAAAps/7YfxuoE6P-U/s400/uniqVal3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But if i change department 2 to dep1 then i get unique validation errors even if both values in entities would be unique.&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S8MvZMNmazI/AAAAAAAAApk/p_gM0ytlotc/s1600/uniqVal4.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5459259283124677426" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 182px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S8MvZMNmazI/AAAAAAAAApk/p_gM0ytlotc/s400/uniqVal4.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This could be logical for the developer since he knows that each row is validated seperately but not for the user.&lt;br /&gt;&lt;br /&gt;Also if i refresh page in browser then if i do the same thing i dont get validation errors.&lt;/div&gt;&lt;div&gt;If i commit new values are not saved and database values are displayed back.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S8MvTfJxtII/AAAAAAAAApc/dydO8qsamOQ/s1600/uniqVal5.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5459259185129698434" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 206px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S8MvTfJxtII/AAAAAAAAApc/dydO8qsamOQ/s400/uniqVal5.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Is this working as expected?&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Test Case:&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestUniqValidation.zip"&gt;http://adfbugs.googlecode.com/files/TestUniqValidation.zip&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-5318714135591880678?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/5318714135591880678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/04/unique-key-validator-on-entity-does-not.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5318714135591880678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5318714135591880678'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/04/unique-key-validator-on-entity-does-not.html' title='Unique Key Validator on Entity does not work correctly'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/S8MxQ2JYBCI/AAAAAAAAAp8/x6cAV1ryDk8/s72-c/uniqVal1.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8476590672342242195</id><published>2010-04-06T02:59:00.001-07:00</published><updated>2010-04-06T03:08:38.464-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Type Map change corrupt project metadata.</title><content type='html'>According to Type Map description :For an application running against an Oracle database, you can usually accept the default. Note: You can select the type map only when you first initialize your business components project.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S7sGIkF9flI/AAAAAAAAApU/BRYLwak7WKE/s1600/TypeMap.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5456962117686885970" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 286px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S7sGIkF9flI/AAAAAAAAApU/BRYLwak7WKE/s400/TypeMap.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Yet the developer still can change it at any time. At first it shows disabled but if you click something else and click Bussiness Components tab again then you can change it.&lt;br /&gt;&lt;br /&gt;If you change it to java, then Entity attributes are generated with types like (BigDecimal instead of oracle.domain.Number, java.sql.Date instead of oracle.domain.Date)&lt;br /&gt;If you change them to oracle types then at some adf components you get ClassCastExceptions.&lt;br /&gt;&lt;br /&gt;If you try to chance Type Map to ‘Oracle’ again then you cannot. Even though it shows in project properties changed if you close and re-open it is still ‘Java’.&lt;br /&gt;&lt;br /&gt;The only way to change it back to ‘Oracle’ is to open .jpx project file and to manually remove the xml entry --Attr Name="_jbo.TypeMapEntries" Value="Java" –&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8476590672342242195?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8476590672342242195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/04/type-map-change-corrupt-project.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8476590672342242195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8476590672342242195'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/04/type-map-change-corrupt-project.html' title='Type Map change corrupt project metadata.'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/S7sGIkF9flI/AAAAAAAAApU/BRYLwak7WKE/s72-c/TypeMap.JPG' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6420722739649836633</id><published>2010-03-30T01:48:00.000-07:00</published><updated>2010-03-31T01:57:02.938-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Ace'/><title type='text'>Oracle ACE awarded</title><content type='html'>I was recently nominated by Steve Muench and awarded with the &lt;a href="http://apex.oracle.com/pls/otn/f?p=19297:4:3232919188235321::NO:4:P4_ID:1760"&gt;Oracle ACE &lt;/a&gt;title.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/S7G7PKCaSeI/AAAAAAAAApE/RgRi1poGG2k/s1600/wwv_flow_file_mgr.gif"&gt;&lt;img style="WIDTH: 133px; HEIGHT: 18px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5454346492789279202" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/S7G7PKCaSeI/AAAAAAAAApE/RgRi1poGG2k/s400/wwv_flow_file_mgr.gif" /&gt;&lt;/a&gt; &lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/S7G7VEpS8oI/AAAAAAAAApM/mlHBhiFOxPQ/s1600/wwv_flow_file_mgr.png"&gt;&lt;img style="WIDTH: 18px; HEIGHT: 18px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5454346594420978306" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/S7G7VEpS8oI/AAAAAAAAApM/mlHBhiFOxPQ/s400/wwv_flow_file_mgr.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I would like to thank Oracle and especially Steve for this recognition of my efforts to contribute to Oracle community my experience on Oracle products&lt;br /&gt;&lt;br /&gt;This blog has been proven to be quite helpful to people working on ADF framework since they can find bugs and workarounds to save them time while developing fusion applications.&lt;br /&gt;&lt;br /&gt;It has also helped to submitting bugs on Oracle Support and improving the framework, &lt;br /&gt;&lt;br /&gt;I definitely try to do constructive criticism on the framework, as I feel very strongly about its potential and I hate to see it being compromised by implementation or occasional design issues. Fact is, there is nothing like it out there for rich client web development.&lt;br /&gt;&lt;br /&gt;I am glad that Oracle people also see it this way and I will continue this effort to the best of my abilities.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6420722739649836633?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6420722739649836633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/03/oracle-ace-awarded.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6420722739649836633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6420722739649836633'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/03/oracle-ace-awarded.html' title='Oracle ACE awarded'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/S7G7PKCaSeI/AAAAAAAAApE/RgRi1poGG2k/s72-c/wwv_flow_file_mgr.gif' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-1137972155285283513</id><published>2010-03-24T02:26:00.000-07:00</published><updated>2011-01-22T00:53:20.963-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Removing a LOV return value leaves garbage in view object  (Fixed in 11.1.1.4)</title><content type='html'>We had a strange bug that was really hard to find. We found some garbage in View objects that we could not find out how they were created. Yet I manage to reproduce it by removing a return value from Edit List of values wizard. In more detail :&lt;br /&gt;&lt;br /&gt;When you have an LOV with 1 return value then the xml in the view object is like:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S6nmHbt3ADI/AAAAAAAAAoM/mnNnYfpgH-o/s1600/lov1.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 389px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5452141839282274354" border="0" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S6nmHbt3ADI/AAAAAAAAAoM/mnNnYfpgH-o/s400/lov1.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When you add a second return value from LOV by edit wizard:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/S6neBzGkHlI/AAAAAAAAAoE/_LZmpqJesTc/s1600/lov2.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5452132946387672658" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/S6neBzGkHlI/AAAAAAAAAoE/_LZmpqJesTc/s400/lov2.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then the View object XML is like:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S6nd5ihDu7I/AAAAAAAAAn8/MHzGY6TOM9s/s1600/lov3.JPG"&gt;&lt;img style="WIDTH: 353px; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5452132804496440242" border="0" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S6nd5ihDu7I/AAAAAAAAAn8/MHzGY6TOM9s/s400/lov3.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If from the same wizard I remove the second value then unfortunately the xml does not return to the initial state. It still has the DerivedAttrNames :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S6ndowfVDXI/AAAAAAAAAn0/5UH7v6LGcS4/s1600/lov4.JPG"&gt;&lt;img style="WIDTH: 339px; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5452132516189506930" border="0" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S6ndowfVDXI/AAAAAAAAAn0/5UH7v6LGcS4/s400/lov4.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This causes various bugs in interface that are not easy to find, since nothing is displayed in log:&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S6ncXNvMnSI/AAAAAAAAAns/qLnXP7fdMfU/s1600/lov5.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 370px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5452131115291417890" border="0" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S6ncXNvMnSI/AAAAAAAAAns/qLnXP7fdMfU/s400/lov5.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The workaround is to remove garbage by hand from xml.&lt;br /&gt;&lt;br /&gt;Test case:&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestLOV.zip"&gt;http://adfbugs.googlecode.com/files/TestLOV.zip&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-1137972155285283513?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/1137972155285283513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/03/removing-lov-return-value-leaves.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/1137972155285283513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/1137972155285283513'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/03/removing-lov-return-value-leaves.html' title='Removing a LOV return value leaves garbage in view object  (Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/S6nmHbt3ADI/AAAAAAAAAoM/mnNnYfpgH-o/s72-c/lov1.JPG' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8609790883533118910</id><published>2010-03-17T07:41:00.000-07:00</published><updated>2011-06-19T00:52:47.809-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Table'/><title type='text'>Rollback does not refresh current row of af:table after validation errors.</title><content type='html'>In a simple af:table if you select a row and press CreateInsert then new row is created with focus above the selected row.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/S6DrNX_LivI/AAAAAAAAAnk/xkmtzpi4leU/s1600-h/table1.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 262px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5449614164128140018" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/S6DrNX_LivI/AAAAAAAAAnk/xkmtzpi4leU/s400/table1.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;If you press Rollback then the selected row is by default the first row of the table.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/S6DrHpiGS0I/AAAAAAAAAnc/OrHnznOJA88/s1600-h/table2.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 263px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5449614065758784322" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/S6DrHpiGS0I/AAAAAAAAAnc/OrHnznOJA88/s400/table2.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;This works fine.&lt;br /&gt;&lt;br /&gt;Yet if before rollback you have validation errors (i.e. After creating a row, navigate to an other row), then rollback does not make the first row selected.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S6Dq8astgLI/AAAAAAAAAnU/mQbboic66XI/s1600-h/table3.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 281px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5449613872798204082" border="0" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S6Dq8astgLI/AAAAAAAAAnU/mQbboic66XI/s400/table3.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;Selected row on table remains the last selected row even if the current row of view object is the first row.&lt;br /&gt;If you press now CreateInsert, the new row is created as first row of table and it does not even have the focus.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/S6Dqch29koI/AAAAAAAAAnM/zO5oVjA8H9M/s1600-h/table4.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 281px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5449613324964434562" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/S6Dqch29koI/AAAAAAAAAnM/zO5oVjA8H9M/s400/table4.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;If you click now on the empty row then you will get again the validation errors.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/S6DqUTfmJbI/AAAAAAAAAnE/FJtdcjEKMl0/s1600-h/table5.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 284px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5449613183669380530" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/S6DqUTfmJbI/AAAAAAAAAnE/FJtdcjEKMl0/s400/table5.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;Test case.&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestTableInsert.zip"&gt;http://adfbugs.googlecode.com/files/TestTableInsert.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Still Reproduce in jdeveloper11.1.2&lt;br /&gt;SR 3-2391480761 and defect was posted for this yet it is Rejected by development team as:&lt;br /&gt;&lt;em&gt;Our Development team has marked this as expected behaviour and therefore it will not be fixed in the future either - at least not for now.&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8609790883533118910?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8609790883533118910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/03/rollback-does-not-refresh-current-row.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8609790883533118910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8609790883533118910'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/03/rollback-does-not-refresh-current-row.html' title='Rollback does not refresh current row of af:table after validation errors.'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/S6DrNX_LivI/AAAAAAAAAnk/xkmtzpi4leU/s72-c/table1.JPG' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3606845596728159714</id><published>2010-03-08T07:15:00.001-08:00</published><updated>2010-03-08T07:21:38.541-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><category scheme='http://www.blogger.com/atom/ns#' term='Cascading'/><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>Cascading LOV in detail view dependent on master view attribute</title><content type='html'>In some cases we have LOVs in detail view objects that are dependent on an attribute on a master view object.&lt;br /&gt;&lt;br /&gt;For example in Departments Employees Master detail, you want to have a list of values for Employees managers to be the department Manager or employees that have the department manager. The LOV query would be :&lt;br /&gt;select *&lt;br /&gt;  from employees&lt;br /&gt; where manager_id = :inManager&lt;br /&gt;      or employee_id = :inManager&lt;br /&gt;&lt;br /&gt;In the view accessor for the LOV you can set the bind variable of the LOV to get value from the master view object ‘DepartmentsView.ManagerId’ or in the employees view object you can add Departments entity and add attribute ManagerId from Departments Entity.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S5UU8FAlefI/AAAAAAAAAm8/0qvc_EovQBU/s1600-h/cascadelov1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446282346743822834" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 298px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S5UU8FAlefI/AAAAAAAAAm8/0qvc_EovQBU/s400/cascadelov1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Yet when you change Manager of the Department in both cases the LOV does not know that the bindVariable value has changed and it is still executed with the old value of Department value.&lt;br /&gt;&lt;br /&gt;This is happening because the LOV is notified to take new bind value when the setter of the dependent attribute is invoked.&lt;br /&gt;&lt;br /&gt;In order to do that I created an updatable transient attribute LOVManagerId that on the getter when it has no internal value it gets the value from Departments entity reference attribute.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;    public Number getLOVManagerId() {&lt;br /&gt;        if (getAttributeInternal(LOVMANAGERID)==null)&lt;br /&gt;            return this.getDepartmentManagerId();&lt;br /&gt;        return (Number) getAttributeInternal(LOVMANAGERID);&lt;br /&gt;    }&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S5UU2sruHKI/AAAAAAAAAm0/cnuLHFUllhQ/s1600-h/cascadelov2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446282254314511522" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 250px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S5UU2sruHKI/AAAAAAAAAm0/cnuLHFUllhQ/s400/cascadelov2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now on the getter of reference entity attribute I check if entity attribute has changed in order to set also the LOVManagerId.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;public Number getDepartmentManagerId() {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  Number empdepManager = (Number) getAttributeInternal(DEPARTMENTMANAGERID);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;    if (this.getDepartments().isAttributeChanged("ManagerId"))&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;            this.setLOVManagerId(empdepManager);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;        return empdepManager;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Partial triggers form Department.ManagerId field to Employees table will finish the job.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S5UUxBXYakI/AAAAAAAAAms/FVjDYzPHwAM/s1600-h/cascadelov3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446282156787132994" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 281px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S5UUxBXYakI/AAAAAAAAAms/FVjDYzPHwAM/s400/cascadelov3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Test Case :&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/MasterDependentLOV.zip"&gt;http://adfbugs.googlecode.com/files/MasterDependentLOV.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3606845596728159714?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3606845596728159714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/03/cascading-lov-in-detail-view-dependent.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3606845596728159714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3606845596728159714'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/03/cascading-lov-in-detail-view-dependent.html' title='Cascading LOV in detail view dependent on master view attribute'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/S5UU8FAlefI/AAAAAAAAAm8/0qvc_EovQBU/s72-c/cascadelov1.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3512155522554048478</id><published>2010-02-26T03:56:00.000-08:00</published><updated>2010-02-26T04:20:33.306-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><title type='text'>Limit Query Results based on custom property</title><content type='html'>&lt;div&gt;In ADF, for performance reasons you need to limit the results of the query of a view object. Also you need to inform the user that the results are limited so that he will know that he need to put specific criteria to find specific records.&lt;br /&gt;&lt;br /&gt;You can use up To Row Number property in view object tuning, yet this just limit the fetched records and not the query.&lt;br /&gt;&lt;br /&gt;You can use Range Paging option. Yet data for each row must be posted before you change row, so that makes it hard to use on view objects used for transactions.&lt;br /&gt;So if a view object is based on entity that has many data it make it hard to tune.&lt;br /&gt;&lt;br /&gt;An option for better performance is to use performance tip on tunning FIRST_ROWS and at the same time to limit the results of the query adding in where clause ‘ROWNUM &lt;= :queryLimit’. In order to do that generic and not to change where clause of queries for each view object you need to tune, I use a custom property on view object ‘QueryLimit’ In the ViewObjectImpl &lt;img style="WIDTH: 322px; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5442520971634164018" border="0" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S4e3_OzeQTI/AAAAAAAAAmc/enjFF-wTW2Q/s400/query1.png" /&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;I override method executeQueryForCollection and, if there is a 'QueryLimit' property on view object then it apply a limit to the query of view object "ROWNUM &lt;=QueryLimit" before performing query. Also after query I set the property "ResultsLimited" to "true" if queried records are not less of the QueryLimit. &lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S4e7g5lotSI/AAAAAAAAAmk/JnWeogoRdPk/s1600-h/query3.png"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 350px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5442524848589419810" border="0" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S4e7g5lotSI/AAAAAAAAAmk/JnWeogoRdPk/s400/query3.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;I also have a method that checks ResultsLimited and return a message that the results are limited. I expose that method to client and use it from backing bean to show message to the user when results are limited. &lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S4e35I6agMI/AAAAAAAAAmU/b-yvV32yoAc/s1600-h/query2.png"&gt;&lt;img style="WIDTH: 355px; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5442520866973450434" border="0" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S4e35I6agMI/AAAAAAAAAmU/b-yvV32yoAc/s400/query2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;We have put the logic in our base ViewObjectImpl class so it can be used from every view object &lt;br /&gt;This approach boosted the performance in our application, of transaction pages that was based on tables with large amount of data.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Test Case&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/LimitQueryResults.zip"&gt;http://adfbugs.googlecode.com/files/LimitQueryResults.zip&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3512155522554048478?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3512155522554048478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/02/limit-query-results-based-on-custom.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3512155522554048478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3512155522554048478'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/02/limit-query-results-based-on-custom.html' title='Limit Query Results based on custom property'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/S4e3_OzeQTI/AAAAAAAAAmc/enjFF-wTW2Q/s72-c/query1.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-365344419375960522</id><published>2010-02-19T00:43:00.000-08:00</published><updated>2010-02-19T01:05:37.068-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><category scheme='http://www.blogger.com/atom/ns#' term='Menu items'/><title type='text'>GoMenuItem with target="_Blank"  in Menu workaround</title><content type='html'>In a go menu item inside first Level of menu when we select goMenuItem 1 then new window opens behind my window (internet explorer 7,) works correctly in mozilla&lt;br /&gt;&lt;br /&gt;We found a workaround for this case as follows.&lt;br /&gt;&lt;br /&gt;We add client Listener in go menu item to execute a java script method&lt;br /&gt;that remove the focus from the current window.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/S35Rr_PbSKI/AAAAAAAAAmM/zcG8-ixW2bQ/s1600-h/menuWA.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5439875216062498978" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 199px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/S35Rr_PbSKI/AAAAAAAAAmM/zcG8-ixW2bQ/s400/menuWA.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;script&gt;&lt;br /&gt;function focusoff(event) {  &lt;br /&gt;    blur(event.source);&lt;br /&gt; }&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;function focusoff(event)&lt;br /&gt;{   &lt;br /&gt;    blur(event.source);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;This way the new window opens above the current window.&lt;br /&gt;&lt;br /&gt;Test Case :&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestGoMenuItemWA.zip"&gt;http://adfbugs.googlecode.com/files/TestGoMenuItemWA.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-365344419375960522?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/365344419375960522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/02/gomenuitem-with-targetblank-in-menu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/365344419375960522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/365344419375960522'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/02/gomenuitem-with-targetblank-in-menu.html' title='GoMenuItem with target=&quot;_Blank&quot;  in Menu workaround'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/S35Rr_PbSKI/AAAAAAAAAmM/zcG8-ixW2bQ/s72-c/menuWA.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4270646714248588976</id><published>2010-02-11T07:54:00.001-08:00</published><updated>2010-02-16T06:07:52.184-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><category scheme='http://www.blogger.com/atom/ns#' term='Cascading'/><title type='text'>New Cascading LOV with required View Criterion Not a Bug</title><content type='html'>On july 2009 in the patch of jdeveloper (11.1.1.1.0) a new feature was introduced in view criteria. When a criterion is required then an error message is shown to user. Of course not without side-effects (&lt;a href="http://adfbugs.blogspot.com/2009/07/query-component-required-criterion-bug.html"&gt;http://adfbugs.blogspot.com/2009/07/query-component-required-criterion-bug.html&lt;/a&gt;)&lt;br /&gt;On the latest patch of jdeveloper (11.1.1.2.0) a new feature and bugs was introduced in view criteria (&lt;a href="http://adfbugs.blogspot.com/2010/01/new-bind-variable-and-view-criteria-bug.html"&gt;http://adfbugs.blogspot.com/2010/01/new-bind-variable-and-view-criteria-bug.html&lt;/a&gt;)&lt;br /&gt;The above bugs also effected the functionality of LOVs especially of those that use view criteria, either for selective required (&lt;a href="http://adfbugs.blogspot.com/2010/01/selectively-required-criteria-in-lov.html"&gt;http://adfbugs.blogspot.com/2010/01/selectively-required-criteria-in-lov.html&lt;/a&gt;) or for cascading LOVs.&lt;br /&gt;&lt;br /&gt;In the current test case I have Employees and I want the List of value of Managers to depend on the department of the employee. I expect when the user has not selected a department the List of values of managers to be empty&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/S3QpN0xY97I/AAAAAAAAAmE/t07-pLAPEoA/s1600-h/clov4.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5437015967623870386" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/S3QpN0xY97I/AAAAAAAAAmE/t07-pLAPEoA/s400/clov4.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/S3QoXqWCI9I/AAAAAAAAAls/fMiKbYgczpo/s1600-h/clov3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5437015037111837650" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 271px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/S3QoXqWCI9I/AAAAAAAAAls/fMiKbYgczpo/s400/clov3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Yet when I run application, just when I set department to null I get the following error.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S3QogMYNkTI/AAAAAAAAAl8/HgoqKyAWO6E/s1600-h/clov1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5437015183686734130" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 240px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S3QogMYNkTI/AAAAAAAAAl8/HgoqKyAWO6E/s400/clov1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;utils&gt;&lt;buildfacesmessage&gt;&lt;span style="color:#ff0000;"&gt;ADF: Adding the following JSF error message: Attribute DepartmentId is required.&lt;br /&gt;oracle.jbo.AttrValException: JBO-27035: Attribute DepartmentId is required.&lt;br /&gt;at oracle.jbo.rules.JboVCItemRequiredValidator.validateItem(JboVCItemRequiredValidator.java:91)&lt;br /&gt;at oracle.jbo.rules.JboVCItemRequiredValidator.validate(JboVCItemRequiredValidator.java:161)&lt;br /&gt;at oracle.jbo.common.ViewCriteriaImpl.validateRow(ViewCriteriaImpl.java:606)&lt;br /&gt;at oracle.jbo.common.ViewCriteriaImpl.validate(ViewCriteriaImpl.java:567)&lt;br /&gt;at oracle.jbo.server.ViewRowSetImpl.validateViewCriteria(ViewRowSetImpl.java:7745)&lt;br /&gt;User will think that DepartmentId is required, yet only the hidden criterion of LOV is required.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;But actually it is just a warning, since if I press ok and submit then the new values are submitted, even though the value of ManagerId is not valid.&lt;br /&gt;&lt;br /&gt;If I open ManagerLOV I get again the error and the LOV opens with no data.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S3Qoc5erkLI/AAAAAAAAAl0/P61n7yEV_do/s1600-h/clov2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5437015127073984690" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 334px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S3Qoc5erkLI/AAAAAAAAAl0/P61n7yEV_do/s400/clov2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If I clear the value of Manager I get the error again.&lt;br /&gt;&lt;br /&gt;This is realy confusing and makes view criteria not usable in cascading LOVs.&lt;br /&gt;&lt;br /&gt;The workaround we do for these cases is not to use view criteria for cascading LOVs but to put conditions directly in the where clause of the query.&lt;br /&gt;i.e. WHERE DEPARTMENT_ID = :inDepId&lt;br /&gt;&lt;br /&gt;Test Case&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestLOVwithRequiredCriterion.zip"&gt;http://adfbugs.googlecode.com/files/TestLOVwithRequiredCriterion.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Anonymous said... In this case, all you need is to set "Validation" to "Optional" and leave "Ignore Null Values" un-checked.&lt;br /&gt;&lt;br /&gt;I tried it and works fine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4270646714248588976?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4270646714248588976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/02/new-cascading-lov-with-required-view.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4270646714248588976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4270646714248588976'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/02/new-cascading-lov-with-required-view.html' title='New Cascading LOV with required View Criterion Not a Bug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/S3QpN0xY97I/AAAAAAAAAmE/t07-pLAPEoA/s72-c/clov4.JPG' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-2960275071635907545</id><published>2010-02-08T05:57:00.000-08:00</published><updated>2010-02-08T06:03:17.699-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='View Criteria'/><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>Rollback to same row with view criteria workaround</title><content type='html'>Rollback for Forms and ADF means that we re-query data from database and remove changes that the user did.&lt;br /&gt;&lt;br /&gt;From the user side of view rollback is expected to return to him to the same state he was when he last saved data.&lt;br /&gt;&lt;br /&gt;So when the user that work on a Form (Row) presses Rollback and looses the row that he was working on is really confusing for him.&lt;br /&gt;&lt;br /&gt;Fortunately Steve Muench has issued a workaround for this that many people use now in ADF applications.&lt;br /&gt;&lt;a href="http://blogs.oracle.com/smuenchadf/examples/"&gt;http://blogs.oracle.com/smuenchadf/examples/&lt;/a&gt;&lt;br /&gt;68. Restore Current Row After Rollback&lt;br /&gt;&lt;br /&gt;Yet the above workaround does not work when View criteria are applied in view object and latest changes committed does not comply with these criteria.&lt;br /&gt;&lt;br /&gt;This happens because Rollback forces query to re-execute with the applied view criteria and the changed (current) row does not exist in the new results set.&lt;br /&gt;&lt;br /&gt;So for example in the current application there is a query and an edit page.&lt;br /&gt;If you Query departments for specific manager (i.e. 100) and go to edit page if you change manager (i.e. to 200) and commit, after that if you press rollback you will loose that row since there is no longer in the queried rows.&lt;br /&gt; &lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S3AYm1TuKjI/AAAAAAAAAlk/1ZBQ1YO-siI/s1600-h/keepRow1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5435871805660080690" style="WIDTH: 381px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S3AYm1TuKjI/AAAAAAAAAlk/1ZBQ1YO-siI/s400/keepRow1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S3AYiI1u5EI/AAAAAAAAAlc/dwWE8XQmY8I/s1600-h/keepRow2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5435871725003662402" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 236px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S3AYiI1u5EI/AAAAAAAAAlc/dwWE8XQmY8I/s400/keepRow2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have applied a workaround in the current test case for that issue.  In the beforeRollback of the view object I add a View criteria row that matches the current row primary key. This causes the current row always to comply to view criteria when we press rollback since in the query it is added&lt;br /&gt;WHERE …. or (PK_FIELD = CURRENT_ROW_KEY)&lt;br /&gt;&lt;br /&gt;In method afterRollback I remove the specific criteria row so that if the user query again (not by rollback) the results without the current row to be fetched.&lt;br /&gt;&lt;br /&gt;This way the current row is not lost when it does not comply with applied criteria and we press rollback.&lt;br /&gt;&lt;br /&gt;This workaround we have implemented in our Base ViewObjectImpl class and works also with composite primary keys.&lt;br /&gt;The only issue is that with applied view criteria with no values the ‘or’ operator does not apply and only the current row remains in the result set after the rollback.&lt;br /&gt;&lt;br /&gt; Test Case:&lt;br /&gt;  &lt;a href="http://adfbugs.googlecode.com/files/TestRollbackToSameRowVC.zip"&gt;http://adfbugs.googlecode.com/files/TestRollbackToSameRowVC.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-2960275071635907545?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/2960275071635907545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/02/rollback-to-same-row-with-view-criteria.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2960275071635907545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2960275071635907545'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/02/rollback-to-same-row-with-view-criteria.html' title='Rollback to same row with view criteria workaround'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/S3AYm1TuKjI/AAAAAAAAAlk/1ZBQ1YO-siI/s72-c/keepRow1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8634857054697538263</id><published>2010-02-01T06:12:00.000-08:00</published><updated>2011-01-22T00:52:31.235-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='View Criteria'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><title type='text'>Bind Variable and View Criteria in view with range paging bug  (Fixed in 11.1.1.4)</title><content type='html'>I managed to reproduce bug described in&lt;br /&gt;&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2010/01/new-bind-variable-and-view-criteria-bug.html"&gt;http://adfbugs.blogspot.com/2010/01/new-bind-variable-and-view-criteria-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;in a simple query page for view object with Range paging tuning.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When you query with a department then Reset and then Query again after scrolling and selecting rows, it throws exception:&lt;br /&gt;java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: inDeptId&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/S2bil-WH2PI/AAAAAAAAAlU/G3pikGLQPlE/s1600-h/bindVariableRP.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 250px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5433279142487906546" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/S2bil-WH2PI/AAAAAAAAAlU/G3pikGLQPlE/s400/bindVariableRP.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Test Case&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestNewBindVariableRP.zip"&gt;http://adfbugs.googlecode.com/files/TestNewBindVariableRP.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8634857054697538263?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8634857054697538263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/02/bind-variable-and-view-criteria-in-view.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8634857054697538263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8634857054697538263'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/02/bind-variable-and-view-criteria-in-view.html' title='Bind Variable and View Criteria in view with range paging bug  (Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/S2bil-WH2PI/AAAAAAAAAlU/G3pikGLQPlE/s72-c/bindVariableRP.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-7605710414329770242</id><published>2010-01-25T04:49:00.000-08:00</published><updated>2010-04-30T05:17:12.467-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='View Criteria'/><category scheme='http://www.blogger.com/atom/ns#' term='Choice List'/><title type='text'>Required Criterion on Choice List type Attribute.(Fixed in 11.1.1.3)</title><content type='html'>Trying to replace some inputListOfValues fieds that have small amount of data with choiseList components we fall into the following.&lt;br /&gt;&lt;br /&gt;If the choice list attribute is used in view criteria as a required criterion then even if you select a value, validation error ‘Error: A value is required.’ Still shows up.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/S12T0H13piI/AAAAAAAAAlM/0Xpcy6326SA/s1600-h/RequiredChoiseList.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5430659249346160162" style="WIDTH: 347px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/S12T0H13piI/AAAAAAAAAlM/0Xpcy6326SA/s400/RequiredChoiseList.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This happens even when attribute is set to autoSubmit.&lt;br /&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;We use input list of values instead as a workaround.&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestRequiredChoiseList.zip"&gt;http://adfbugs.googlecode.com/files/TestRequiredChoiseList.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-7605710414329770242?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/7605710414329770242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/01/required-criterion-on-choice-list-type.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/7605710414329770242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/7605710414329770242'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/01/required-criterion-on-choice-list-type.html' title='Required Criterion on Choice List type Attribute.(Fixed in 11.1.1.3)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/S12T0H13piI/AAAAAAAAAlM/0Xpcy6326SA/s72-c/RequiredChoiseList.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4777936872034556009</id><published>2010-01-18T05:11:00.000-08:00</published><updated>2010-04-30T05:18:11.084-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><title type='text'>Selectively required criteria in LOV (Fixed in 11.1.1.3)</title><content type='html'>In order to improve performance in LOVs I tried to set selectively required criteria, so that the query of LOV should always run with some parameters.&lt;br /&gt;So in simple department LOV in employees.departmentId attribute I put view criteria with selectively required option.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S1Retl_zTrI/AAAAAAAAAk8/obTHiWP4lTQ/s1600-h/slov4.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428067588275130034" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 273px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S1Retl_zTrI/AAAAAAAAAk8/obTHiWP4lTQ/s400/slov4.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S1ReyRXskTI/AAAAAAAAAlE/yBeukkk6ZuU/s1600-h/slov5.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428067668637552946" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 287px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S1ReyRXskTI/AAAAAAAAAlE/yBeukkk6ZuU/s400/slov5.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Also as in test case :&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/lov-execute-query-many-times.html"&gt;http://adfbugs.blogspot.com/2009/08/lov-execute-query-many-times.html&lt;/a&gt;&lt;br /&gt;I override the method executeQuery for collection and print the query:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;@Override&lt;br /&gt;protected void executeQueryForCollection(Object object, Object[] object2, int i) {&lt;br /&gt;System.out.println("EmployeesLOV executes Query :" + this.getQuery());&lt;br /&gt;super.executeQueryForCollection(object, object2, i);&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/S1ReecQT9KI/AAAAAAAAAkk/ls5zeGT1Sec/s1600-h/slov1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428067327961986210" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 333px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/S1ReecQT9KI/AAAAAAAAAkk/ls5zeGT1Sec/s400/slov1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;When I run application and open LOV and select a value, in log I see that 3!? Queries are executed:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;Query : SELECT Departments.DEPARTMENT_ID, Departments.DEPARTMENT_NAME, Departments.MANAGER_ID, Departments.LOCATION_ID FROM DEPARTMENTS Departments WHERE ( ( (UPPER(Departments.DEPARTMENT_NAME) LIKE UPPER( :vc_temp_1 '%') ) ) )&lt;br /&gt;Query : SELECT Departments.DEPARTMENT_ID, Departments.DEPARTMENT_NAME, Departments.MANAGER_ID, Departments.LOCATION_ID FROM DEPARTMENTS Departments WHERE ( ( ( (UPPER(Departments.DEPARTMENT_NAME) LIKE UPPER( :vc_temp_1 '%') ) ) ) AND ( ( (Departments.DEPARTMENT_ID LIKE :vc_temp_2 ) ) AND ( ( (UPPER(Departments.DEPARTMENT_NAME) LIKE UPPER( :vc_temp_3 '%') ) ) ) ) )&lt;br /&gt;Query : SELECT Departments.DEPARTMENT_ID, Departments.DEPARTMENT_NAME, Departments.MANAGER_ID, Departments.LOCATION_ID FROM DEPARTMENTS Departments&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;The Last query without any criteria !?&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;If I just type a valid value to the field and press tab then 4!? Queries are executed:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;Query : SELECT Departments.DEPARTMENT_ID, Departments.DEPARTMENT_NAME, Departments.MANAGER_ID, Departments.LOCATION_ID FROM DEPARTMENTS Departments WHERE ( ( (Departments.DEPARTMENT_ID LIKE ( :vc_temp_1 '%') ) ) )&lt;br /&gt;Query : SELECT Departments.DEPARTMENT_ID, Departments.DEPARTMENT_NAME, Departments.MANAGER_ID, Departments.LOCATION_ID FROM DEPARTMENTS Departments WHERE (Departments.DEPARTMENT_ID = :fbkKy__0)&lt;br /&gt;Query : SELECT Departments.DEPARTMENT_ID, Departments.DEPARTMENT_NAME, Departments.MANAGER_ID, Departments.LOCATION_ID FROM DEPARTMENTS Departments WHERE ( ( (Departments.DEPARTMENT_ID LIKE :vc_temp_1 ) ) AND ( ( (UPPER(Departments.DEPARTMENT_NAME) LIKE UPPER( :vc_temp_2 '%') ) ) ) )&lt;br /&gt;Query : SELECT Departments.DEPARTMENT_ID, Departments.DEPARTMENT_NAME, Departments.MANAGER_ID, Departments.LOCATION_ID FROM DEPARTMENTS Departments&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;The Last query again without any criteria !?&lt;br /&gt;&lt;br /&gt;So you don’t gain much in performance of LOV since the query is executed many times again and without any criteria&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Also sometimes when you just type a value, you get the PPR exception, or an invalid value exception even if the value is valid.&lt;br /&gt;&lt;br /&gt;Steps to reproduce:&lt;br /&gt;1. Run TestLOV page&lt;br /&gt;2. open department LOV, type A in DepartmentName criterion and press search&lt;br /&gt;3. Without selecting a row press OK or cancel.&lt;br /&gt;4. Type a valid value to LOV (i.e. 50) invalid value message appear.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/S1Rekn4pZyI/AAAAAAAAAks/ZdkbpSa9azs/s1600-h/slov2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428067434163169058" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 260px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/S1Rekn4pZyI/AAAAAAAAAks/ZdkbpSa9azs/s400/slov2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;5. Open LOV again, press OK or cancel then press submit button&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S1ReoVuswOI/AAAAAAAAAk0/OgHmyL-ycfc/s1600-h/slov3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428067498009084130" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 260px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S1ReoVuswOI/AAAAAAAAAk0/OgHmyL-ycfc/s400/slov3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;oracle.jbo.AttrValException: JBO-27036: At least one of the following attributes DepartmentName, ManagerId is required. at oracle.jbo.rules.JboVCItemRequiredValidator.validate(JboVCItemRequiredValidator.java:172) at oracle.jbo.common.ViewCriteriaImpl.validateRow(ViewCriteriaImpl.java:606)&lt;br /&gt;&lt;br /&gt;It seems that Selectively required criteria in LOV has some issues.&lt;br /&gt;&lt;br /&gt;Test Case :&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestLovSelectivelyRequired.zip"&gt;http://adfbugs.googlecode.com/files/TestLovSelectivelyRequired.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4777936872034556009?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4777936872034556009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/01/selectively-required-criteria-in-lov.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4777936872034556009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4777936872034556009'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/01/selectively-required-criteria-in-lov.html' title='Selectively required criteria in LOV (Fixed in 11.1.1.3)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/S1Retl_zTrI/AAAAAAAAAk8/obTHiWP4lTQ/s72-c/slov4.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8737337844987081041</id><published>2010-01-12T06:45:00.000-08:00</published><updated>2010-01-12T06:54:22.782-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='View Criteria'/><title type='text'>New Bind Variable and View Criteria bug</title><content type='html'>In the last patch of jdeveloper (1.1.1.2.0) there are a lot of improvements and bug fixes in view criteria functionality.&lt;br /&gt;&lt;br /&gt;1 of the bug fixes is the performance of view criteria that had optional bind variables.&lt;br /&gt;&lt;br /&gt;For example if in the Employees View you had optional criterion for departmentId with bind variable ‘inDeptId’ then in  the query of the view object with applied view criteria in the where clause it was added ( (Employees.DEPARTMENT_ID = :inDeptId ) or :inDeptId is null )&lt;br /&gt;&lt;br /&gt;Yet this adds a large execution time when inDeptId was null since it is forcing a full table scan.&lt;br /&gt;&lt;br /&gt;After the last patch when you define optional criterion for departmentId with bind variable ‘inDeptId’ the where added is   (Employees.DEPARTMENT_ID = :inDeptId ) and the optional part is implemented by removing the where clause expression.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S0yMZXPxLWI/AAAAAAAAAkM/U168s2kipbc/s1600-h/viewcr1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5425866018439376226" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S0yMZXPxLWI/AAAAAAAAAkM/U168s2kipbc/s400/viewcr1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Yet this dynamic change of query depending on parameters values sometimes throw exception:&lt;br /&gt;(java.sql.SQLException) Missing IN or OUT parameter at index:: 1&lt;br /&gt;&lt;br /&gt;I manage to reproduce it in a simple test case in Application Module Browser.&lt;br /&gt;&lt;br /&gt;Steps to reproduce:&lt;br /&gt;1. Open EmployeesView1&lt;br /&gt;2. Press Search button (Specify View Criteria)&lt;br /&gt;3. Select EmployeesViewCriteria and press find&lt;br /&gt;4. set departmentId = 10 and press ok&lt;br /&gt;5. Repeat 2-4 but set  departmentId = null (empty)&lt;br /&gt;&lt;br /&gt;The following exception appears.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/S0yMTvGoJ8I/AAAAAAAAAkE/vx6xxB7R-mY/s1600-h/viewcr2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5425865921764272066" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 216px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/S0yMTvGoJ8I/AAAAAAAAAkE/vx6xxB7R-mY/s400/viewcr2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you create a simple search page with query panel and results table then you can’t reproduce this. It is reproduced in our application when we programmatically change view criteria values and execute, but I can’t identify specific conditions&lt;br /&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;Anyone else has run into this?&lt;br /&gt;&lt;br /&gt;Test Case&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestNewBindVariable.zip"&gt;http://adfbugs.googlecode.com/files/TestNewBindVariable.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8737337844987081041?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8737337844987081041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/01/new-bind-variable-and-view-criteria-bug.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8737337844987081041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8737337844987081041'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/01/new-bind-variable-and-view-criteria-bug.html' title='New Bind Variable and View Criteria bug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/S0yMZXPxLWI/AAAAAAAAAkM/U168s2kipbc/s72-c/viewcr1.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3786915013483856789</id><published>2010-01-04T00:45:00.000-08:00</published><updated>2010-01-04T00:47:37.792-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='misc'/><title type='text'>Happy New Year</title><content type='html'>2009 was my first year of posting in this blog and I must say that I really enjoyed it.&lt;br /&gt;Mostly because of the fact that you read this and you post constructive comments.&lt;br /&gt;&lt;br /&gt;I will continue to post defects this year also, even though interesting defects are getting harder to find.&lt;br /&gt;&lt;br /&gt;That is actually a good thing. May be I will upgrade this blog to also post defects that developers use to create.&lt;br /&gt;&lt;br /&gt;Any other ideas are welcome.&lt;br /&gt;&lt;br /&gt;Happy new year to everyone&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/S0Gq5ub6f-I/AAAAAAAAAj8/1z1YvdaT6zw/s1600-h/2010.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5422803335025164258" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 291px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/S0Gq5ub6f-I/AAAAAAAAAj8/1z1YvdaT6zw/s400/2010.JPG" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3786915013483856789?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3786915013483856789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2010/01/happy-new-year.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3786915013483856789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3786915013483856789'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2010/01/happy-new-year.html' title='Happy New Year'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/S0Gq5ub6f-I/AAAAAAAAAj8/1z1YvdaT6zw/s72-c/2010.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3088345329733450639</id><published>2009-12-22T01:36:00.001-08:00</published><updated>2011-01-22T00:52:02.579-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transaction Management'/><title type='text'>Composition Association and Locking  (Fixed in 11.1.1.4)</title><content type='html'>We had a lot of locking problems in our ADF application even though we use optimistic locking.&lt;br /&gt;&lt;br /&gt;We found out that it was caused by composition Association and Lock Top Level Container Option.&lt;br /&gt;This is the default way the association is generated by the wizard when the foreign key constraint in database is cascade.&lt;br /&gt;In my test case I set it by hand to reproduce in Department Employees relationship.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SzCTWu9o9JI/AAAAAAAAAjA/sffHjsY-NEg/s1600-h/compLock2.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 308px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5417992370499679378" border="0" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SzCTWu9o9JI/AAAAAAAAAjA/sffHjsY-NEg/s400/compLock2.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The master Entity Table in database is locked every time you create a new record in the detail composed entity.&lt;br /&gt;This is happening when creating detail data and not when posting data as in optimistic locking&lt;br /&gt;This does not happen when you update or delete data from detail entity.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SzCTSczHgFI/AAAAAAAAAi4/GBUkW4OGz7Q/s1600-h/compLock1.JPG"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 211px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5417992296904228946" border="0" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SzCTSczHgFI/AAAAAAAAAi4/GBUkW4OGz7Q/s400/compLock1.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;If pessimistic mode of Application Module is not a good practice for Fusion Applications then composition Association Locking should also be not.&lt;br /&gt;&lt;br /&gt;Composition Association is a rule to prevent details to exist without a master. But this is also prevented if the foreign key attribute in detail entity is required. So I also don’t see the usage of composition association.&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestCompositionLock.zip"&gt;http://adfbugs.googlecode.com/files/TestCompositionLock.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3088345329733450639?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3088345329733450639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/12/composition-association-and-locking.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3088345329733450639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3088345329733450639'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/12/composition-association-and-locking.html' title='Composition Association and Locking  (Fixed in 11.1.1.4)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/SzCTWu9o9JI/AAAAAAAAAjA/sffHjsY-NEg/s72-c/compLock2.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3953611815245103500</id><published>2009-12-16T00:15:00.000-08:00</published><updated>2009-12-16T06:44:54.947-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Menu items'/><title type='text'>GoMenuItem and GoLink with target="_Blank" don't work correctly inside a Menu</title><content type='html'>We have strange behavior with GoMenuItem and GoLink components inside menu items&lt;br /&gt;&lt;br /&gt;To reproduce the problem i created the following simple test case:&lt;br /&gt;Created a menu with 2 levels and gomenuItems and MenuLinks that all open 'otn' in new '_blank' window.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/SyiayYgyxxI/AAAAAAAAAio/xnv0taAb9qs/s1600-h/goitem2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5415748742277154578" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 193px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/SyiayYgyxxI/AAAAAAAAAio/xnv0taAb9qs/s400/goitem2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The menu is the following:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/SyiaudG2TqI/AAAAAAAAAig/6iq2NQuQs1s/s1600-h/goitem1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5415748674791034530" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 346px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/SyiaudG2TqI/AAAAAAAAAig/6iq2NQuQs1s/s400/goitem1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1. In the menu above if i select goMenuItem 1 then new window opens behind my window (internet explorer 7,) works correctly in mozilla. goMenuItem 2 works correctly in ie7 also.&lt;br /&gt;&lt;br /&gt;Funny thing is that if in ie7 you have a second tab opened then it works correctly.&lt;br /&gt;&lt;br /&gt;2. goLink 1 works correctly, goLink 2 does nothing.&lt;br /&gt;&lt;br /&gt;Is this a bug? any workaround?&lt;br /&gt;&lt;br /&gt;test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestGoMenuItem.zip"&gt;http://adfbugs.googlecode.com/files/TestGoMenuItem.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3953611815245103500?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3953611815245103500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/12/gomenuitem-and-golink-with-targetblank.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3953611815245103500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3953611815245103500'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/12/gomenuitem-and-golink-with-targetblank.html' title='GoMenuItem and GoLink with target=&quot;_Blank&quot; don&apos;t work correctly inside a Menu'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/SyiayYgyxxI/AAAAAAAAAio/xnv0taAb9qs/s72-c/goitem2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-2415131973811315707</id><published>2009-12-14T05:34:00.000-08:00</published><updated>2009-12-14T05:45:38.965-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transaction Management'/><title type='text'>Pending changes in ADF application</title><content type='html'>&lt;div&gt;&lt;div&gt;So far I have seen 2 ways to check if there are pending changes in ADF application&lt;br /&gt;&lt;br /&gt;1 is from ApplicationModule.getDBTransaction().isDirty();&lt;br /&gt;&lt;br /&gt;2. is from DataControlFrame.isTransactionDirty();&lt;br /&gt;&lt;br /&gt;Yet their functionality is not the same.&lt;br /&gt;To demonstrate it I created a master –Detail, Departments - Employees test case with backing bean that return :&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;public String getAmChangesExist() {&lt;br /&gt;BindingContext bc = BindingContext.getCurrent();&lt;br /&gt;ApplicationModule am = bc.getDefaultDataControl().getApplicationModule();&lt;br /&gt;return am.getTransaction().isDirty()?"True":"false";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public String getDcFramechangesExist() {&lt;br /&gt;BindingContext bc = BindingContext.getCurrent();&lt;br /&gt;String currentDataControlFrame = bc.getCurrentDataControlFrame();&lt;br /&gt;return bc.findDataControlFrame(currentDataControlFrame).isTransactionDirty()?"True":"false";&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If I change anything on department(except TransientAttribute) or employees and press submit then both methods show there are pending changes.&lt;/div&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SyY_IBMaJqI/AAAAAAAAAiQ/BD8gnWx3j7w/s1600-h/changes1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5415085008951584418" style="WIDTH: 310px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SyY_IBMaJqI/AAAAAAAAAiQ/BD8gnWx3j7w/s400/changes1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;Yet if I change value of transient attribute only dataControlFrame.isTransactionDirty() shows there is a change, and am.getTransaction().isDirty() shows false &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SyY_Mbz1BtI/AAAAAAAAAiY/1OjYKHitqzI/s1600-h/changes2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5415085084815722194" style="WIDTH: 313px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SyY_Mbz1BtI/AAAAAAAAAiY/1OjYKHitqzI/s400/changes2.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;If I press button createInsert on Department or on Employees then again :&lt;br /&gt;dataControlFrame.isTransactionDirty() shows there is a change, and am.getTransaction().isDirty() shows false&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;I feel that changes should not include transient attributes that dont exist in entities, since they are not used in transaction. &lt;/div&gt;&lt;div&gt;But it should include new rows created on views and entities.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;In order to be sure i would chose dataControlFrame.isTransactionDirty() since it also keeps its value even with diferent application modules through task flows with shared data control scope.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Test case:&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestPendingChanges.zip"&gt;http://adfbugs.googlecode.com/files/TestPendingChanges.zip&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-2415131973811315707?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/2415131973811315707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/12/pending-changes-in-adf-application.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2415131973811315707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2415131973811315707'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/12/pending-changes-in-adf-application.html' title='Pending changes in ADF application'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/SyY_IBMaJqI/AAAAAAAAAiQ/BD8gnWx3j7w/s72-c/changes1.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-1966310644434100944</id><published>2009-12-06T02:35:00.000-08:00</published><updated>2009-12-06T03:07:22.119-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>Dynamic Region UIShell</title><content type='html'>I had created a Dynamic Region Template before the release of new jdeveloper patch.&lt;br /&gt;Since there is a lot of discussion about the new Oracle UI Shell I decided to share it as I feel it is:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Simpler&lt;/li&gt;&lt;li&gt;Easier to use&lt;/li&gt;&lt;li&gt;Uses Dynamic Regions to navigate to different task flows&lt;/li&gt;&lt;li&gt;Provides customized functionality about navigating while having pending changes&lt;/li&gt;&lt;li&gt;Supports security permission check for navigating between task flows&lt;/li&gt;&lt;/ul&gt;The source code of the DynamicUIShell is &lt;a href="http://adfbugs.googlecode.com/files/DynamicUIShell.zip"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I also created a demo application based on HR schema, that uses this template to show the functionality. &lt;a href="http://adfbugs.googlecode.com/files/TestDynamicUIShell.zip"&gt;http://adfbugs.googlecode.com/files/TestDynamicUIShell.zip&lt;/a&gt;&lt;/p&gt;In this demo you can run test page and see the functionality.&lt;br /&gt;You can navigate between Home, employees and departments task flows.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SxuLvAZRP2I/AAAAAAAAAiA/-f3HaSA9edU/s1600-h/demo1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412073016891883362" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 251px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SxuLvAZRP2I/AAAAAAAAAiA/-f3HaSA9edU/s400/demo1.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;If you make a change and try to navigate to an other task flow a popup raises and rollback if you chose continue.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SxuLmfDSC0I/AAAAAAAAAh4/nARFi_gNCP4/s1600-h/demo2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412072870502337346" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 251px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SxuLmfDSC0I/AAAAAAAAAh4/nARFi_gNCP4/s400/demo2.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;If you try to navigate to Secured task flow a popup inform you that you don't have permission.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxuLg19_oCI/AAAAAAAAAhw/QnTJhKqXUbo/s1600-h/demo3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412072773574959138" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 251px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxuLg19_oCI/AAAAAAAAAhw/QnTJhKqXUbo/s400/demo3.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;strong&gt;How to use Dynamic Region UIShell&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Just import the &lt;a href="http://adfbugs.googlecode.com/files/adflibDynamicUIShell.jar"&gt;jar&lt;/a&gt; file in your view controller project.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SxuLTw8ouII/AAAAAAAAAho/XXBJsVVuTos/s1600-h/addLibrary.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412072548888787074" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 268px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SxuLTw8ouII/AAAAAAAAAho/XXBJsVVuTos/s400/addLibrary.jpg" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;br /&gt;Then when you create a new JSF page you can select the template 'DynamicUIShell'. &lt;/p&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/SxuLORhnQaI/AAAAAAAAAhg/1coSDfOXYEo/s1600-h/sellectTemplate.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412072454554599842" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 276px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/SxuLORhnQaI/AAAAAAAAAhg/1coSDfOXYEo/s400/sellectTemplate.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Now you have the page based on the template. &lt;/p&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SxuLEQacKeI/AAAAAAAAAhY/HjbfOV5Ayw4/s1600-h/Template.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412072282457385442" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 200px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SxuLEQacKeI/AAAAAAAAAhY/HjbfOV5Ayw4/s400/Template.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;First thing needed is to define the DefaultRegion , the task flow to be rendered in main area when the page is loaded. &lt;/p&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/SxuK7h2q95I/AAAAAAAAAhQ/w5J2rn2NyLk/s1600-h/addAttribute.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412072132520376210" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 216px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/SxuK7h2q95I/AAAAAAAAAhQ/w5J2rn2NyLk/s400/addAttribute.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;i.e. f:attribute name="DefaultRegion" value="HomeTaskFlow"&lt;br /&gt;Now the page should be functional and display the DefaultRegion task Flow.&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Adding navigation components.&lt;/strong&gt; &lt;/p&gt;&lt;p&gt;You can add now navigation components in facets like Global, TopMenubar, LeftToolBar.&lt;br /&gt;Navigation components can navigate to other pages or display a different Task Flow in the main area.&lt;br /&gt;In order for navigation components to be functional 2 properties are needed:&lt;br /&gt;ActionListener should call navigate method of dynamicRegion managed bean (that exist in library).&lt;br /&gt;Id of the component must be the path and name of task flow inside WEB-INF (with / character replaced with _): &lt;/p&gt;&lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxuKxpDgsWI/AAAAAAAAAhI/p0UE-v21N5c/s1600-h/commandLink.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412071962654585186" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 124px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxuKxpDgsWI/AAAAAAAAAhI/p0UE-v21N5c/s400/commandLink.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxuKpPQuSuI/AAAAAAAAAhA/ymoZANVvbFk/s1600-h/menuItem.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412071818291727074" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 143px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxuKpPQuSuI/AAAAAAAAAhA/ymoZANVvbFk/s400/menuItem.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Adding pending changes popup. &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;In order for pending changes to be checked a popup is needed to be added to your page, with your custom message and a Continue button.&lt;br /&gt;The popup must be binded to dynamicRegion managed bean changesExist popup&lt;br /&gt;The Continue button must have actionListener to dynamicRegion managed bean method continueNavigation method.&lt;br /&gt;If you want to Rollback before navigation the Rollback action must exist in page definition. &lt;/p&gt;&lt;p&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SxuKfPfF_0I/AAAAAAAAAg4/KoqvgEYSrVY/s1600-h/changesExistPopup.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412071646553308994" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 130px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SxuKfPfF_0I/AAAAAAAAAg4/KoqvgEYSrVY/s400/changesExistPopup.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Adding no permission popup&lt;/strong&gt; &lt;/p&gt;&lt;p&gt;In order to check permission (taskFlowViewable) you need to add a popup on your page binded to noPermissionPopup of dynamicRegion managed bean. &lt;/p&gt;&lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SxuKZHMTD1I/AAAAAAAAAgw/xu20KfD37nE/s1600-h/noPermissionPopup.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412071541247774546" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 51px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SxuKZHMTD1I/AAAAAAAAAgw/xu20KfD37nE/s400/noPermissionPopup.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Also when security is enabled in your application don't forget to allow access also to the template. To see the template in your jazn-data you need to select 'Show web pages imported from ADF libraries' check box.&lt;/p&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxuN8Sn54uI/AAAAAAAAAiI/QyY2bfG4yjA/s1600-h/jaznData.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5412075444146660066" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 174px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxuN8Sn54uI/AAAAAAAAAiI/QyY2bfG4yjA/s400/jaznData.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;Any feedback is usefull.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-1966310644434100944?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/1966310644434100944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/12/dynamic-region-uishell.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/1966310644434100944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/1966310644434100944'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/12/dynamic-region-uishell.html' title='Dynamic Region UIShell'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/SxuLvAZRP2I/AAAAAAAAAiA/-f3HaSA9edU/s72-c/demo1.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-2136197317786528542</id><published>2009-11-30T00:15:00.001-08:00</published><updated>2009-11-30T00:20:14.178-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Issues after migrating our application from jdeveloper 11.1.1.1.0 to 11.1.1.2.0</title><content type='html'>&lt;strong&gt;1.&lt;/strong&gt; In windows XP pro, when the integrated weblogic is running we get the following exception about adrci.exe . Yet after that everything seems to be working ok.&lt;br /&gt; &lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxN_UXPNSgI/AAAAAAAAAgY/oSnqwIGsU2M/s1600/patch1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5409807565214009858" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 223px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxN_UXPNSgI/AAAAAAAAAgY/oSnqwIGsU2M/s400/patch1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; We call many task Flows by url, in order to open them in new window. After migration they gave 403 error.&lt;br /&gt;&lt;br /&gt;There is a new property added in Task Flows definition URL invoke that we needed to set it to url-invoke-allowed in all task flows called like that.&lt;br /&gt; &lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SxN_bluhOvI/AAAAAAAAAgg/CAmXRYeUBLU/s1600/patch2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5409807689362520818" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 254px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SxN_bluhOvI/AAAAAAAAAgg/CAmXRYeUBLU/s400/patch2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The only documentation I found about that is in&lt;br /&gt;&lt;br /&gt;&lt;em&gt;15.6.4 How to Call a Bounded Task Flow Using a URL&lt;br /&gt;&lt;br /&gt;…The default value (calculated) allows a URL to invoke the bounded task flow if the bounded task flow does not specify an initializer and it has a view activity as its default activity. If the bounded task flow does not meet these conditions, a HTTP 403 status code is returned…&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;Yet even though we had no initializer and we had default activity we still got HTTP 403 and had to change to url-invoke-allowed&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt; We have many tables that have check box based on a view object Boolean attribute. After migration the attribute value was always set to null no matter checked or unchecked.&lt;br /&gt;&lt;br /&gt;The workaround was to remove in view objects from those attributes the control type ‘check box’ as Tilemahos in oracle forums found&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forums.oracle.com/forums/thread.jspa?threadID=985720&amp;amp;tstart=30"&gt;http://forums.oracle.com/forums/thread.jspa?threadID=985720&amp;amp;tstart=30&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Test case&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestCheckBox.zip"&gt;http://adfbugs.googlecode.com/files/TestCheckBox.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-2136197317786528542?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/2136197317786528542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/issues-after-migrating-our-application.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2136197317786528542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2136197317786528542'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/issues-after-migrating-our-application.html' title='Issues after migrating our application from jdeveloper 11.1.1.1.0 to 11.1.1.2.0'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/SxN_UXPNSgI/AAAAAAAAAgY/oSnqwIGsU2M/s72-c/patch1.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4351029642915692443</id><published>2009-11-28T02:01:00.000-08:00</published><updated>2009-11-28T02:33:30.803-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>ActionListener and showPopupBehavior</title><content type='html'>Many times developers complain that actionListener of a button is not invocked when they add a showPopupBehavior. Yet that is not a bug.&lt;br /&gt;&lt;br /&gt;By default showPopupBehavior the action type is Action that is a client event and does not invoke server actions. That is described in af:showPopupBehavior documentation:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;The af:showPopupBehavior tag is a declarative way to show a af:popup in response to a client-side event. The client event is specified using the triggerType attribute. The "action" event is the default triggerType if one is not provided.&lt;br /&gt;....&lt;/em&gt;&lt;br /&gt;&lt;em&gt;All actionListener method bindings and associated action listeners will not be invoked when the triggerType of "action" is used.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;So the solution is to just set the triggerType of ShowPopupBehavior to click.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxD6bdv0TLI/AAAAAAAAAfg/CW9uf1CSqko/s1600/popup1.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SxD6NIWQI6I/AAAAAAAAAfY/vNUIcHyuSfA/s1600/popup.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5409098255958025122" style="WIDTH: 347px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SxD6NIWQI6I/AAAAAAAAAfY/vNUIcHyuSfA/s400/popup.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then the actionListener and popup are invoked.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxD6bdv0TLI/AAAAAAAAAfg/CW9uf1CSqko/s1600/popup1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5409098502220565682" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 208px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/SxD6bdv0TLI/AAAAAAAAAfg/CW9uf1CSqko/s400/popup1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;Test Case:&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestPopupBehavior.zip"&gt;http://adfbugs.googlecode.com/files/TestPopupBehavior.zip&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4351029642915692443?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4351029642915692443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/actionlistener-and-showpopupbehavior.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4351029642915692443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4351029642915692443'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/actionlistener-and-showpopupbehavior.html' title='ActionListener and showPopupBehavior'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/SxD6NIWQI6I/AAAAAAAAAfY/vNUIcHyuSfA/s72-c/popup.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-975839287859168802</id><published>2009-11-24T04:14:00.001-08:00</published><updated>2009-11-24T04:28:13.224-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Validations'/><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>Setting value programmatically on required field.</title><content type='html'>It is common requirement when you set a value in one field to also set a value to a second field.&lt;br /&gt;&lt;br /&gt;This we usually do on setter of view object of the first field or the valueChangeListener also by adding a partialTrigger on the second field.&lt;br /&gt;&lt;br /&gt;Yet if the second field is required and the previous value is null then nor the setter nor the valueChangeListener are invoked because of validation error.&lt;br /&gt;&lt;br /&gt;This is because the partialTrigger is trying to refresh the second field before even submitting the first field.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SwvOM6_YVHI/AAAAAAAAAfI/dsxpERnL_NM/s1600/required.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5407642498977256562" style="WIDTH: 376px; CURSOR: hand; HEIGHT: 351px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SwvOM6_YVHI/AAAAAAAAAfI/dsxpERnL_NM/s400/required.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Is this a bug or intended behavior?&lt;br /&gt;&lt;br /&gt;The workaround we found is to remove partial trigger from second field and on valueChangeListener of the first field to use addPartialTarget&lt;br /&gt;&lt;br /&gt;In the test case when you select department we want to set manager also, so in the setter of department id there is:&lt;br /&gt;public void setDepartmentId(Number value) {&lt;br /&gt;setAttributeInternal(DEPARTMENTID, value);&lt;br /&gt;this.setManagerId(new Number(100));&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Also managerId field is set required=true&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestRequired.zip"&gt;http://adfbugs.googlecode.com/files/TestRequired.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-975839287859168802?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/975839287859168802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/setting-value-programmatically-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/975839287859168802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/975839287859168802'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/setting-value-programmatically-on.html' title='Setting value programmatically on required field.'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/SwvOM6_YVHI/AAAAAAAAAfI/dsxpERnL_NM/s72-c/required.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8664123910091222560</id><published>2009-11-22T13:57:00.000-08:00</published><updated>2009-11-22T14:38:15.704-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><category scheme='http://www.blogger.com/atom/ns#' term='New Features'/><title type='text'>Carousel does not make the selected row current</title><content type='html'>Carousel is a realy nice new component in jdeveloper 11 patch1&lt;br /&gt;When you create a data binded carousel item it just uses an iterator and a tree model as a table.&lt;br /&gt;Every item in carusel is from a diferent row of the iterator.&lt;br /&gt;Yet when you select a new item the current row of the iterator is not changed.&lt;br /&gt;So if you want to have other fields of the same iterator in the page or detail view objects iterators the data are not refreshed while navigating in Carousel.&lt;br /&gt;I think a selectionListener as in the table component is missing.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/Swm6TRqpjMI/AAAAAAAAAfA/1ND_Tf3tF-o/s1600/Carousel.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5407057667957558466" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 363px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/Swm6TRqpjMI/AAAAAAAAAfA/1ND_Tf3tF-o/s400/Carousel.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;In order to achieve the above behaviour i did the following:&lt;br /&gt;I binded carouselSpinListener property to a backing bean method where&lt;br /&gt;i get the carusel event NewItemKey and i find the Key of the row and i set iterator current row to the carusel selected row.&lt;br /&gt;&lt;span style="color:#000099;"&gt;public void caruselSpin(CarouselSpinEvent event) {&lt;br /&gt;List l =(List)event.getNewItemKey();&lt;br /&gt;Key k = (Key)l.get(0);&lt;br /&gt;DCIteratorBinding iter = getDCBindingContainer .findIteratorBinding ("DepartmentsView1Iterator");&lt;br /&gt;iter.setCurrentRowWithKey(k.toStringFormat(true));&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;} &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now Every time you select new item in carusel the iterator has the selected row.&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestCarousel.zip"&gt;http://adfbugs.googlecode.com/files/TestCarousel.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8664123910091222560?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8664123910091222560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/carousel-does-not-make-selected-row.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8664123910091222560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8664123910091222560'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/carousel-does-not-make-selected-row.html' title='Carousel does not make the selected row current'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/Swm6TRqpjMI/AAAAAAAAAfA/1ND_Tf3tF-o/s72-c/Carousel.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-835130720643488934</id><published>2009-11-15T03:27:00.000-08:00</published><updated>2009-11-15T03:29:43.117-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Still reproduced bugs in jdeveloper patch 1</title><content type='html'>Yet there are still a lot of bugs that can reproduced in jdeveloper 11.1.1.2.0.&lt;br /&gt;&lt;br /&gt;Those bugs are:&lt;br /&gt;&lt;br /&gt;Attribute Validation on Input List of Values attribute&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/11/attribute-validation-on-input-list-of.html"&gt;http://adfbugs.blogspot.com/2009/11/attribute-validation-on-input-list-of.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Page Fragment Design view is messed up when using resource bundle&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/10/page-fragment-design-view-is-messed-up.html"&gt;http://adfbugs.blogspot.com/2009/10/page-fragment-design-view-is-messed-up.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Workaround for Page Fragment Design view when using resource bundle&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/11/workaround-for-page-fragment-design.html"&gt;http://adfbugs.blogspot.com/2009/11/workaround-for-page-fragment-design.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Number precision and scale bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/10/number-precision-and-scale-bug.html"&gt;http://adfbugs.blogspot.com/2009/10/number-precision-and-scale-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;unexpected error on graph preview when security enabled&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/10/unexpected-error-on-graph-preview-when.html"&gt;http://adfbugs.blogspot.com/2009/10/unexpected-error-on-graph-preview-when.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tab selection and Enable User Customization on Session bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html"&gt;http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Unsaved changes uncommittedDataWarning bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/09/unsaved-changes-uncommitteddatawarning.html"&gt;http://adfbugs.blogspot.com/2009/09/unsaved-changes-uncommitteddatawarning.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ExecuteEmptyRowSet and Range Paging.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/09/executeemptyrowset-and-range-paging.html"&gt;http://adfbugs.blogspot.com/2009/09/executeemptyrowset-and-range-paging.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;LOV execute query many times ***Improved but not fixed&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/lov-execute-query-many-times.html"&gt;http://adfbugs.blogspot.com/2009/08/lov-execute-query-many-times.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Range Paging in Master Detail bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/range-paging-in-master-detail-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/range-paging-in-master-detail-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table Filter Bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/table-filter-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/table-filter-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Af:Query bind variable bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;LOV view object Tuning: 'Only up to row number' bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/lov-view-object-tuning-only-up-to-row.html"&gt;http://adfbugs.blogspot.com/2009/08/lov-view-object-tuning-only-up-to-row.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Returning from dialog to a page that has f:verbatim tag bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/returning-from-dialog-to-page-that-has.html"&gt;http://adfbugs.blogspot.com/2009/08/returning-from-dialog-to-page-that-has.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Range paging and Table Selected Row Bugs&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/range-paging-and-table-selected-row.html"&gt;http://adfbugs.blogspot.com/2009/07/range-paging-and-table-selected-row.html&lt;/a&gt;&lt;br /&gt;*** even though related metalink bug 8673654 is marked as fixed for this version&lt;br /&gt;&lt;br /&gt;Partial Page Rendering ChangeEventPolicy="ppr" bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/partial-page-rendering.html"&gt;http://adfbugs.blogspot.com/2009/07/partial-page-rendering.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Performance Tuning, LOVs and Range Paging bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/performance-tuning-lovs-and-range.html"&gt;http://adfbugs.blogspot.com/2009/07/performance-tuning-lovs-and-range.html&lt;/a&gt;&lt;br /&gt;*** now LOV with Range paging opens but when you return value you get exception.&lt;br /&gt;&lt;br /&gt;ADF input list of values AutoSubmit bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/adf-input-list-of-values-autosubmit-bug.html"&gt;http://adfbugs.blogspot.com/2009/07/adf-input-list-of-values-autosubmit-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Query Component Required Criterion bug ( r1 Bug)&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/query-component-required-criterion-bug.html"&gt;http://adfbugs.blogspot.com/2009/07/query-component-required-criterion-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Query Component Focus bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/query-component-focus-bug.html"&gt;http://adfbugs.blogspot.com/2009/07/query-component-focus-bug.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-835130720643488934?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/835130720643488934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/still-reproduced-bugs-in-jdeveloper.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/835130720643488934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/835130720643488934'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/still-reproduced-bugs-in-jdeveloper.html' title='Still reproduced bugs in jdeveloper patch 1'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4145090166918811601</id><published>2009-11-15T03:21:00.000-08:00</published><updated>2009-11-15T03:25:02.915-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Fixed bugs in jdeveloper patch 1</title><content type='html'>So i tried to reproduce bugs posted in this blog to the new patch 1 of  jdeveloper 11.&lt;br /&gt;&lt;br /&gt;Many on them are not reproduced any more and i consider them fixed.&lt;br /&gt;&lt;br /&gt;Fixed bugs are:&lt;br /&gt;&lt;br /&gt;Returning Multiple values from LOV in af:query with bind variables bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/11/returning-multiple-values-from-lov-in.html"&gt;http://adfbugs.blogspot.com/2009/11/returning-multiple-values-from-lov-in.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;No inconsistency check after any Exception during posting data&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/10/no-inconsistency-check-after-any.html"&gt;http://adfbugs.blogspot.com/2009/10/no-inconsistency-check-after-any.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Af:Query bind variable bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Region and dialog return bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/region-and-dialog-return-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/region-and-dialog-return-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Page with Region Validations bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/page-with-region-validations-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/page-with-region-validations-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;LOV criteria bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/lov-criteria-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/lov-criteria-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table Validations Bug.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/table-validations-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/table-validations-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Jdeveloper 11 r1 An unexpected severe error has ocurred in Jdeveloper&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/jdeveloper-11-r1-unexpected-severe.html"&gt;http://adfbugs.blogspot.com/2009/07/jdeveloper-11-r1-unexpected-severe.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;LOVs Dont return Values when there is any validation error on page&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/lovs-dont-return-values-when-there-is.html"&gt;http://adfbugs.blogspot.com/2009/07/lovs-dont-return-values-when-there-is.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;JDeveloper 11 r1 Cascading LOV bugs&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/jdeveloper-11-r1-cascading-lov-bugs.html"&gt;http://adfbugs.blogspot.com/2009/07/jdeveloper-11-r1-cascading-lov-bugs.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Query Component Save bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/query-component-save-bug.html"&gt;http://adfbugs.blogspot.com/2009/07/query-component-save-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Query Component validations bug&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/query-component-validations-bug.html"&gt;http://adfbugs.blogspot.com/2009/07/query-component-validations-bug.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4145090166918811601?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4145090166918811601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/fixed-bugs-in-jdeveloper-patch-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4145090166918811601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4145090166918811601'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/fixed-bugs-in-jdeveloper-patch-1.html' title='Fixed bugs in jdeveloper patch 1'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-124893869546633991</id><published>2009-11-13T11:04:00.000-08:00</published><updated>2009-11-13T11:59:43.126-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='New Features'/><title type='text'>New Feature Closing a Popup can now be captured.</title><content type='html'>My first impression of patch 1 of jdeveloper11 is that it looks like a new IDE,&lt;br /&gt;diferent screens for overview and for security,&lt;br /&gt;diferent menus and lots of new properties.&lt;br /&gt;&lt;br /&gt;One thing that was missing and I was complaining about in the oracle forums was the capturing of an event when a popup dialog is closed.&lt;br /&gt;&lt;a href="http://forums.oracle.com/forums/message.jspa?messageID=3898637#3898637"&gt;http://forums.oracle.com/forums/message.jspa?messageID=3898637#3898637&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now a new property in popup component popupCanceledListener solves this problem.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/Sv2wCL978pI/AAAAAAAAAeg/ETh1rZMjWck/s1600-h/popupclose1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5403668679533261458" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 112px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/Sv2wCL978pI/AAAAAAAAAeg/ETh1rZMjWck/s400/popupclose1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can just assign a backing bean method on it and it works no mater how you close the popup (with Cancel, with 'x' button or with ESC key).&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/Sv2wL9WXKFI/AAAAAAAAAeo/ngyvBvaI2pk/s1600-h/popupclose2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5403668847407867986" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 245px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/Sv2wL9WXKFI/AAAAAAAAAeo/ngyvBvaI2pk/s400/popupclose2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This was realy needed. Thanks oracle team for the new feature&lt;br /&gt;&lt;br /&gt;The only little bug in this is that in design view the popup is not visible when you place it in button facet popup&lt;br /&gt;&lt;br /&gt;Test Case&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestPopup.zip"&gt;http://adfbugs.googlecode.com/files/TestPopup.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-124893869546633991?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/124893869546633991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/new-feature-closing-popup-can-now-be.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/124893869546633991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/124893869546633991'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/new-feature-closing-popup-can-now-be.html' title='New Feature Closing a Popup can now be captured.'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/Sv2wCL978pI/AAAAAAAAAeg/ETh1rZMjWck/s72-c/popupclose1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4299005521390390621</id><published>2009-11-11T10:41:00.000-08:00</published><updated>2009-11-11T10:46:38.555-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Patch set 1 of Oracle JDeveloper 11g is now available</title><content type='html'>Oracle JDeveloper 11g (11.1.1.2.0) (Build 5536) is now available for download at&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html"&gt;http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I will try to reproduce all bugs posted until now in this blog and will log the results shortly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4299005521390390621?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4299005521390390621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/patch-set-1-of-oracle-jdeveloper-11g-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4299005521390390621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4299005521390390621'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/patch-set-1-of-oracle-jdeveloper-11g-is.html' title='Patch set 1 of Oracle JDeveloper 11g is now available'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-5559896880755085523</id><published>2009-11-10T00:12:00.000-08:00</published><updated>2009-11-10T00:41:01.912-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dialog'/><title type='text'>returnListener from dialog page not invoke when pressing x button</title><content type='html'>&lt;div&gt;In a button that opens an other page as dialog if you define a returnListener method in managed bean then when you return form dialog page by a button that has af:returnActionListener then it works fine.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;But if you close the dialog page with explorer x button then return listener is not invoked!&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/SvkmNg9MiCI/AAAAAAAAAeQ/sgdzL3Sv6iA/s1600-h/dialogreturn1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5402391241634383906" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 332px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/SvkmNg9MiCI/AAAAAAAAAeQ/sgdzL3Sv6iA/s400/dialogreturn1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;i also noticed a worning in log:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;WARNING: The application is running with the new window detect flag off. It is highly recommended that this flag be turned on to ensure proper functioning of your application when new browser windows are launched. In web.xml set the context parameter oracle.adf.view.rich.newWindowDetect.OPTIONS to 'on'.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;But even when i did that there was no difference appart from no worning.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Is this a bug?&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;How can we ensure that when a dialog closes (no matter how) a method will be executed?&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Test case:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestDialogReturn.zip"&gt;http://adfbugs.googlecode.com/files/TestDialogReturn.zip&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-5559896880755085523?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/5559896880755085523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/returnlistener-from-dialog-page-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5559896880755085523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5559896880755085523'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/returnlistener-from-dialog-page-not.html' title='returnListener from dialog page not invoke when pressing x button'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/SvkmNg9MiCI/AAAAAAAAAeQ/sgdzL3Sv6iA/s72-c/dialogreturn1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-7295266609677739498</id><published>2009-11-06T01:53:00.000-08:00</published><updated>2009-11-06T02:57:47.349-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Validations'/><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><title type='text'>Attribute Validation on Input List of Values attribute</title><content type='html'>If you have an attribute validation in an Entity Attribute that is used in a view object as Input List of values then validation does not work correctly.&lt;br /&gt;&lt;br /&gt;For testing i added a simple validation in departmentId of Employees Entity that it should be less than 100:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/SvP3qOJm0cI/AAAAAAAAAdo/QQVr9P6NklE/s1600-h/lovval3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5400932682872312258" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 370px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/SvP3qOJm0cI/AAAAAAAAAdo/QQVr9P6NklE/s400/lovval3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I set departmentId as Input List of values and autosubmit.&lt;br /&gt;When I run the page and i select an invalid department then the &lt;strong&gt;value is not set to the field and i have no validation Error&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SvP36kdjnzI/AAAAAAAAAeA/egna-DdK1SU/s1600-h/lovval1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5400932963739475762" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 380px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SvP36kdjnzI/AAAAAAAAAeA/egna-DdK1SU/s400/lovval1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So in the page it looks that nothing have changed. But if i submit the page, the invalid value appears in department and the error message also.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SvP31QvskPI/AAAAAAAAAd4/gWdBp8J8wFI/s1600-h/lovval2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5400932872547504370" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 220px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SvP31QvskPI/AAAAAAAAAd4/gWdBp8J8wFI/s400/lovval2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So is this a bug?&lt;br /&gt;&lt;br /&gt;The workaround we are using is to filter LOV to show only valid values to select, or to override the setter of the entity, which i do not consider as a good practice.&lt;br /&gt;&lt;br /&gt;test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestLOVValidation.zip"&gt;http://adfbugs.googlecode.com/files/TestLOVValidation.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-7295266609677739498?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/7295266609677739498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/attribute-validation-on-input-list-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/7295266609677739498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/7295266609677739498'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/attribute-validation-on-input-list-of.html' title='Attribute Validation on Input List of Values attribute'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/SvP3qOJm0cI/AAAAAAAAAdo/QQVr9P6NklE/s72-c/lovval3.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-5474244775840690887</id><published>2009-11-03T04:23:00.000-08:00</published><updated>2009-11-03T04:49:45.358-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='View Criteria'/><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><title type='text'>Returning Multiple values from LOV in af:query with bind variables bug</title><content type='html'>We get nullPointerException when returning multiple values from LOV in view criteria with bind variables.&lt;br /&gt;&lt;br /&gt;To reproduce it in EmployeesView for departmentId I added LOV that also return ManagerId.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SvAhaGX-dqI/AAAAAAAAAdg/nTfoECgdSc4/s1600-h/lovreturn1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5399852685488715426" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 364px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SvAhaGX-dqI/AAAAAAAAAdg/nTfoECgdSc4/s400/lovreturn1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It work fine for Forms (TestForm) and for tables(TestTable), but not for af:query with bind variables:&lt;br /&gt;&lt;br /&gt;I created 2 view criteria with departmentId and ManagerId, 1 with bind variables and 1 with no bind variables. And 2 pages 1 for each&lt;br /&gt;TestQuery1 with af:query with bind variables&lt;br /&gt;TestQuery with af:query with no bind variables&lt;br /&gt;&lt;br /&gt;When trying to select department in TestQuery1 we get:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/SvAhXdDa6sI/AAAAAAAAAdY/PcY_8VVTA8A/s1600-h/lovreturn2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5399852640036907714" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 281px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/SvAhXdDa6sI/AAAAAAAAAdY/PcY_8VVTA8A/s400/lovreturn2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#ff0000;"&gt;Caused by: java.lang.NullPointerException&lt;br /&gt;at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfCriterionValues.&lt;init&gt;(FacesCtrlSearchBinding.java:2834)&lt;br /&gt;at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfAttributeCriterion.&lt;init&gt;(FacesCtrlSearchBinding.java:1732)&lt;br /&gt;at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfConjunctionCriterion._loadCriterionList(FacesCtrlSearchBinding.java:2775)&lt;br /&gt;at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfConjunctionCriterion._loadCriterionList(FacesCtrlSearchBinding.java:2725)&lt;br /&gt;at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfConjunctionCriterion.getCriterionList(FacesCtrlSearchBinding.java:2633)&lt;br /&gt;at sun.reflect.GeneratedMethodAccessor840.invoke(Unknown Source)&lt;br /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br /&gt;at java.lang.reflect.Method.invoke(Method.java:597)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;br /&gt;&lt;/span&gt;Yet TestQuery return correctly departmentId and ManagerId.&lt;br /&gt;&lt;br /&gt;So I guess the workaround is not to use bind variables in view criteria.&lt;br /&gt;&lt;br /&gt;Test Case&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/LOVReturn.zip"&gt;http://adfbugs.googlecode.com/files/LOVReturn.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-5474244775840690887?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/5474244775840690887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/returning-multiple-values-from-lov-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5474244775840690887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5474244775840690887'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/returning-multiple-values-from-lov-in.html' title='Returning Multiple values from LOV in af:query with bind variables bug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/SvAhaGX-dqI/AAAAAAAAAdg/nTfoECgdSc4/s72-c/lovreturn1.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-304654310225827891</id><published>2009-11-01T01:41:00.000-07:00</published><updated>2009-11-01T01:57:36.682-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Workaround for Page Fragment Design view when using resource bundle</title><content type='html'>Since the layout of the fragments i am working on was messed up due to bug: &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.blogspot.com/2009/10/page-fragment-design-view-is-messed-up.html"&gt;http://adfbugs.blogspot.com/2009/10/page-fragment-design-view-is-messed-up.html&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;I was working on the structure view and i noticed the following worning:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/Su1LQRah3yI/AAAAAAAAAdE/nQGSaLTqlPw/s1600-h/fragmentDesignw1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5399054271211757346" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 128px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/Su1LQRah3yI/AAAAAAAAAdE/nQGSaLTqlPw/s400/fragmentDesignw1.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So i thought what will happen if i move c:set deeper inside the tree:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/Su1Mp9AIDSI/AAAAAAAAAdM/U0fL-C5Yynw/s1600-h/fragmentDesignw2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5399055811920530722" style="WIDTH: 376px; CURSOR: hand; HEIGHT: 342px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/Su1Mp9AIDSI/AAAAAAAAAdM/U0fL-C5Yynw/s400/fragmentDesignw2.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;And then the Design view is back to normal! and no problems at runtime also.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Note: It must be above all components that use c:set.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-304654310225827891?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/304654310225827891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/11/workaround-for-page-fragment-design.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/304654310225827891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/304654310225827891'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/11/workaround-for-page-fragment-design.html' title='Workaround for Page Fragment Design view when using resource bundle'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/Su1LQRah3yI/AAAAAAAAAdE/nQGSaLTqlPw/s72-c/fragmentDesignw1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-5918196305042538938</id><published>2009-10-25T08:24:00.001-07:00</published><updated>2009-10-25T08:51:25.722-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>Page Fragment Design view is messed up when using resource bundle</title><content type='html'>&lt;div&gt;Design view of pages in jdeveloper is very usefull to find and layout components.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Yet in page fragments the Design layout is messed up when you use resource bundle for texts.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In the test case i created a simple page fragment with oracle default template and added 2 panel boxes:&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SuRzdnUO3NI/AAAAAAAAAc0/_RX3jQjChOE/s1600-h/fragmentDesign1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5396565206103940306" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 251px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SuRzdnUO3NI/AAAAAAAAAc0/_RX3jQjChOE/s400/fragmentDesign1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;but if i try to Select Text Resourse for Panel Box Title, the design view of the fragment is messed up.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/SuRzVA-viSI/AAAAAAAAAcs/sjkmoA6zF4o/s1600-h/fragmentDesign2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5396565058374306082" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 263px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/SuRzVA-viSI/AAAAAAAAAcs/sjkmoA6zF4o/s400/fragmentDesign2.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;You cant work any more in design view.&lt;/div&gt;&lt;div&gt;When you run application it looks ok, but not having a design view in fragments is quite a problem.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;If i remove c:set component from the fragment then the Design view is fixed, but the text from bundles does not show in run time.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Is this a bug?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Test case:&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestFragmentDesignView.zip"&gt;http://adfbugs.googlecode.com/files/TestFragmentDesignView.zip&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-5918196305042538938?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/5918196305042538938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/10/page-fragment-design-view-is-messed-up.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5918196305042538938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/5918196305042538938'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/10/page-fragment-design-view-is-messed-up.html' title='Page Fragment Design view is messed up when using resource bundle'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/SuRzdnUO3NI/AAAAAAAAAc0/_RX3jQjChOE/s72-c/fragmentDesign1.jpg' height='72' width='72'/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3772709030454929683</id><published>2009-10-20T04:48:00.000-07:00</published><updated>2009-10-20T13:59:33.869-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>How to check and throw exception after all data are posted</title><content type='html'>Thanks to Oracle Suport and Didier Laurent a workaround is found to problem:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/10/open-locks-in-optimistic-locking-bug.html"&gt;http://adfbugs.blogspot.com/2009/10/open-locks-in-optimistic-locking-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;By Design optimistick locking locks before doCommit.&lt;br /&gt;&lt;br /&gt;In order to remove locks and not loose entities data and to restore entity states, set the configuration parameter jbo.txn.handleafterpostexc to true.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/St2nZCjP5bI/AAAAAAAAAcc/1epd0GHbi4Q/s1600-h/doCommit.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5394651977283003826" style="WIDTH: 359px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/St2nZCjP5bI/AAAAAAAAAcc/1epd0GHbi4Q/s400/doCommit.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks Didier and Oracle Suport.&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestLockWorkaroundNew.zip"&gt;http://adfbugs.googlecode.com/files/TestLockWorkaroundNew.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3772709030454929683?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3772709030454929683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/10/how-to-check-and-throw-exception-after.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3772709030454929683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3772709030454929683'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/10/how-to-check-and-throw-exception-after.html' title='How to check and throw exception after all data are posted'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/St2nZCjP5bI/AAAAAAAAAcc/1epd0GHbi4Q/s72-c/doCommit.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3073367464204021568</id><published>2009-10-17T07:17:00.000-07:00</published><updated>2009-10-17T07:27:11.571-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Input field'/><title type='text'>Number precision and scale bug</title><content type='html'>Milos showed me this bug the other day and I could not believe it.&lt;br /&gt;&lt;br /&gt;Number precision and scale does not work correctly in default ADF input field.&lt;br /&gt;&lt;br /&gt;I searched metalink, I could not find something relevant&lt;br /&gt;&lt;br /&gt;I reproduced it in a simple test case with Employees view object.&lt;br /&gt;&lt;br /&gt;Employees Table has Salary field which is NUMBER(8,2) and CommissionPct NUMBER(2,2)&lt;br /&gt;I also added a field on Employees table TO_PAY which is NUMBER(20,5)&lt;br /&gt;I created a default input form.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/StnSNHl3U_I/AAAAAAAAAbs/45uAo0B5Tek/s1600-h/number1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5393573151570875378" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 358px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/StnSNHl3U_I/AAAAAAAAAbs/45uAo0B5Tek/s400/number1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;When I try to enter value 123456.78 to salary which is a valid value I could not enter 8 digit&lt;br /&gt;When I try to enter value 0.12 to CommissionPct I could not enter either 1 or 2 digit&lt;br /&gt;When I try to enter value -123456789012345.12345 to ToPay field I could not enter the last 2 fields.&lt;br /&gt;&lt;br /&gt;This issue is because when you drag and drop items on page it set precision the precision of the number ignoring fragment separator, sign symbol or 0 before fragment separator.&lt;br /&gt;&lt;br /&gt;This is defined in input field property: maximumLength="#{bindings.Salary.hints.precision}"&lt;br /&gt;&lt;br /&gt;You can eather remove maximumLength or set it to "#{bindings.Salary.hints.precision+1}" for Salary or +2 for percentages or even +3 for cases that you have only fragment digits like CommissionPct but you could also put negative number.&lt;br /&gt;Take also into account that in some locale the negative number may have (###) format, meaning that you need +4 on maximumLength.&lt;br /&gt;&lt;br /&gt;Also the number converter does not work correctly for numbers with more than 3 digits.&lt;br /&gt;I tried to put 12345.12345 in ToPay field but when I submit I get back 12345.123 loosing the last 2 digits.&lt;br /&gt;&lt;br /&gt;I try to fix this by setting ToPay converter min and maxFractionDigits&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;af:convertNumber groupingUsed="false"&lt;br /&gt;pattern="#{bindings.ToPay.format}"&lt;br /&gt;&lt;strong&gt;minFractionDigits="5" maxFractionDigits="5"&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;then I could enter, see and submit all 5 fraction digits.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;But when I try on an empty field to put number 123456789012345.12345 it is automatically converted to 123456789012345.12000 when I press tub. When I change it again it works ok.&lt;br /&gt;&lt;br /&gt;Are these bugs?&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/StnSNHl3U_I/AAAAAAAAAbs/45uAo0B5Tek/s1600-h/number1.jpg"&gt;&lt;/a&gt;&lt;br /&gt;Test case:&lt;br /&gt;[&lt;a href="http://adfbugs.googlecode.com/files/TestDigits.zip"&gt;http://adfbugs.googlecode.com/files/TestDigits.zip&lt;/a&gt;]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3073367464204021568?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3073367464204021568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/10/number-precision-and-scale-bug.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3073367464204021568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3073367464204021568'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/10/number-precision-and-scale-bug.html' title='Number precision and scale bug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/StnSNHl3U_I/AAAAAAAAAbs/45uAo0B5Tek/s72-c/number1.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4857725584646334933</id><published>2009-10-13T01:07:00.000-07:00</published><updated>2009-10-13T01:08:43.787-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transaction Management'/><title type='text'>No inconsistency check after any Exception during posting data</title><content type='html'>During working on previous bug I found out that after any exception while posting Entity Data, inconsistency is not checked again.&lt;br /&gt;&lt;br /&gt;Normally if 2 users query same row and change it then the user that commits last will get RowInconsistentException (JBO-25014)&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/StQ0v0uYogI/AAAAAAAAAbU/rf6f1GAs-pw/s1600-h/inconsistency1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5391992650081018370" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 165px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/StQ0v0uYogI/AAAAAAAAAbU/rf6f1GAs-pw/s400/inconsistency1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But if second user get any exception while posting i.e. Foreign Key constraint exception, and then he correct it and commit again then he never gets a RowInconsistentException (JBO-25014)&lt;br /&gt;&lt;br /&gt;To reproduce it in test case do the following&lt;br /&gt;&lt;br /&gt;Run application and for ManagerId of department put an number that does not exist. Try to commit and you get constraint exception.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/StQ00LJ3JKI/AAAAAAAAAbc/JXcHEumwXPM/s1600-h/inconsistency2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5391992724821320866" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 150px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/StQ00LJ3JKI/AAAAAAAAAbc/JXcHEumwXPM/s400/inconsistency2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Open new instance of application and change anything and commit.&lt;br /&gt;&lt;br /&gt;Go back to the first application correct the ManagerId to a valid value and commit.&lt;br /&gt;You don’t get any RowInconsistentException&lt;br /&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;&lt;div&gt;test case:&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestInconsistency.zip"&gt;http://adfbugs.googlecode.com/files/TestInconsistency.zip&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4857725584646334933?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4857725584646334933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/10/no-inconsistency-check-after-any.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4857725584646334933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4857725584646334933'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/10/no-inconsistency-check-after-any.html' title='No inconsistency check after any Exception during posting data'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/StQ0v0uYogI/AAAAAAAAAbU/rf6f1GAs-pw/s72-c/inconsistency1.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8134495509468910919</id><published>2009-10-09T09:52:00.000-07:00</published><updated>2009-10-09T10:20:15.790-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transaction Management'/><title type='text'>Open Locks in optimistic locking bug !!!</title><content type='html'>Open Locks in optimistic locking bug !!!&lt;br /&gt;&lt;br /&gt;Yes it is possible, it was happening in our application and could not imagine why.&lt;br /&gt;After research we found out that it was in the CustomDBTransactionImpl.&lt;br /&gt;We use it to override doCommit in order to do staff after all data are posted but not yet committed according to :&lt;br /&gt;Fusion Developer's Guide for Oracle ADF,  D ADF Equivalents of Common Oracle Forms Triggers:&lt;br /&gt;&lt;br /&gt;POST-FORMS-COMMIT&lt;br /&gt;Execute code after Forms has "posted" all necessary rows to the database, but before issuing the data commit to end the transaction &lt;br /&gt;&lt;br /&gt;If you want a single block of code for the whole transaction, you can override the doCommit() method in a custom DBTransactionImpl object and write code before calling the super.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I managed to reproduce it in a simple test case.&lt;br /&gt;&lt;br /&gt;I just have Departments entity and view and an application module with CustomDatabaseTransactionFactory. In CustomDBTransactionImpl I override doCommit and throw an exception:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;    @Override&lt;br /&gt;    protected void doCommit() {&lt;br /&gt;        if (true){&lt;br /&gt;            throw new JboException("Exception in doCommit");&lt;br /&gt;        }&lt;br /&gt;        super.doCommit();&lt;br /&gt;    }&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;I run the application, make a change and press commit. I get the error:&lt;br /&gt; &lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/Ss9wCC7G8LI/AAAAAAAAAa0/18SZnvJYbho/s1600-h/lock+bug1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5390650459432612018" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 288px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/Ss9wCC7G8LI/AAAAAAAAAa0/18SZnvJYbho/s400/lock+bug1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now the row is locked in the database!!!!&lt;br /&gt;&lt;br /&gt;I run a new instance of the application i make a change and try to commit and I get:&lt;br /&gt; &lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/Ss9wFVCMvkI/AAAAAAAAAa8/qnE50rGDzP0/s1600-h/lock+bug2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5390650515833798210" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 158px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/Ss9wFVCMvkI/AAAAAAAAAa8/qnE50rGDzP0/s400/lock+bug2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If I try to do rollback before I throw the exception then the locks are lost of course but also all the changes made on page.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Is this a bug? &lt;/div&gt;&lt;div&gt;If not, is there an other way to check and throw exception,  after data are posted to database and before commit, without locking? &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;test case:&lt;a href="http://adfbugs.googlecode.com/files/TestLock.zip"&gt;http://adfbugs.googlecode.com/files/TestLock.zip&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8134495509468910919?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8134495509468910919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/10/open-locks-in-optimistic-locking-bug.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8134495509468910919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8134495509468910919'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/10/open-locks-in-optimistic-locking-bug.html' title='Open Locks in optimistic locking bug !!!'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/Ss9wCC7G8LI/AAAAAAAAAa0/18SZnvJYbho/s72-c/lock+bug1.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8453386392661538299</id><published>2009-10-05T12:23:00.000-07:00</published><updated>2009-10-09T09:45:10.185-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='graphs'/><category scheme='http://www.blogger.com/atom/ns#' term='jdeveloper'/><title type='text'>unexpected error on graph preview when security enabled</title><content type='html'>I was trying to create graphs in a demo application with good results.&lt;br /&gt;Jdeveloper 11 graphs are realy cool&lt;br /&gt;Yet when i tried to put 1 in my application i got the known following error everytime i tried to preview graph in graph wisard.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SspIDiBULpI/AAAAAAAAAak/iKQRkdkflp4/s1600-h/graphBug1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5389199129611349650" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 259px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SspIDiBULpI/AAAAAAAAAak/iKQRkdkflp4/s400/graphBug1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;i thought it was the selected data but, when i run application it seems ok&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SspMOEa0iUI/AAAAAAAAAas/pZWNgsqPl4A/s1600-h/graphBug2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5389203708690336066" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 283px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SspMOEa0iUI/AAAAAAAAAas/pZWNgsqPl4A/s400/graphBug2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When i look at the messages tab of jdeveloper i see:&lt;br /&gt;&lt;br /&gt;Caused by: oracle.security.idm.IMException: oracle.security.jps.JpsRuntimeException: The realm jazn.com does not exist. at oracle.security.jps.internal.idstore.xml.idm.IdmXmlIdentityStoreFactory.createIdmXmlIdentityStore(IdmXmlIdentityStoreFactory.java:182) at oracle.security.jps.internal.idstore.xml.idm.IdmXmlIdentityStoreFactory.createDefaultIdentityStore(IdmXmlIdentityStoreFactory.java:405) at oracle.security.jps.internal.idstore.xml.idm.IdmXmlIdentityStoreFactory.getIdentityStoreInstance(IdmXmlIdentityStoreFactory.java:196) at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.initStore(AbstractIdmIdentityStore.java:119) ... 60 more&lt;br /&gt;&lt;br /&gt;&lt;p&gt;So it had to do with security.&lt;/p&gt;&lt;p&gt;I enabled security in demo application and i have the same error again when i try to preview any graph from the wisard.&lt;/p&gt;&lt;p&gt;Is this a bug?&lt;/p&gt;&lt;p&gt;Test case:&lt;/p&gt;&lt;p&gt;&lt;a href="http://adfbugs.googlecode.com/files/GraphTest.zip"&gt;http://adfbugs.googlecode.com/files/GraphTest.zip&lt;/a&gt;&lt;/p&gt;&lt;p&gt;user: tester&lt;/p&gt;&lt;p&gt;psw: welcome1&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8453386392661538299?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8453386392661538299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/10/unexpected-error-on-graph-preview-when.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8453386392661538299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8453386392661538299'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/10/unexpected-error-on-graph-preview-when.html' title='unexpected error on graph preview when security enabled'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/SspIDiBULpI/AAAAAAAAAak/iKQRkdkflp4/s72-c/graphBug1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3321905500465840456</id><published>2009-09-29T05:18:00.001-07:00</published><updated>2009-09-29T05:21:38.346-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='User Customization'/><title type='text'>Tab selection and Enable User Customization on Session bug.</title><content type='html'>When you have enabled User Customization for duration of session then what ever user changes on a page it remains the same through out the session, ie. Disclosed panel boxes, advanced query criteria, visible columns of tables in panel collections etc.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/SsH7IpaClQI/AAAAAAAAAYs/8TpATIkMIVs/s1600-h/userCustomizationbug1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5386862755284423938" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 286px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/SsH7IpaClQI/AAAAAAAAAYs/8TpATIkMIVs/s400/userCustomizationbug1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The problem is that you cant customize which properties to be kept or not :&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Fusion Developer's Guide for Oracle ADF &amp;amp; 34.3 Configuring User Customizations:&lt;br /&gt;Note:&lt;/strong&gt; If you've enabled just session persistence, then all attribute values shown in Table 34-1 will be persisted to the session. There is no way to override this either globally or on an instance.&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;The bigger problem is that if you have some business logic about these components appearance or behavior you can’t override user settings.&lt;br /&gt;&lt;br /&gt;We usually have some business logic about Disclosed tab in af:panelTabbed so I created this test case.&lt;br /&gt;&lt;br /&gt;It’s a simple page that when you enter first tab should be disclosed and when you press button ‘Select Second tab’ second tab should be disclosed.&lt;br /&gt; &lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SsH7MRyA2MI/AAAAAAAAAY0/IqI5Et1eG8s/s1600-h/userCustomizationbug2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5386862817661999298" style="WIDTH: 347px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SsH7MRyA2MI/AAAAAAAAAY0/IqI5Et1eG8s/s400/userCustomizationbug2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;So I set disclosed property of First tab disclosed. Also on value change listener of button I run the following backing bean method:&lt;br /&gt;&lt;span style="color:#000099;"&gt;    public void SelectSecondTab(ActionEvent actionEvent) {&lt;br /&gt;        this.firstTab.setDisclosed(false);&lt;br /&gt;        this.secondTab.setDisclosed(true);&lt;br /&gt;    }&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;This work fine when I don’t have enabled User Customization.&lt;br /&gt;&lt;br /&gt;But when I have enabled User Customization for duration of session then page always open with disclosed tab the one that I had selected the last time I used the page and backing bean method does not select the second tab.&lt;br /&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;Shouldn’t business logic methods override user customization settings?&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SsH7MRyA2MI/AAAAAAAAAY0/IqI5Et1eG8s/s1600-h/userCustomizationbug2.JPG"&gt;&lt;/a&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestTabSelection.zip"&gt;http://adfbugs.googlecode.com/files/TestTabSelection.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3321905500465840456?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3321905500465840456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3321905500465840456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3321905500465840456'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html' title='Tab selection and Enable User Customization on Session bug.'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/SsH7IpaClQI/AAAAAAAAAYs/8TpATIkMIVs/s72-c/userCustomizationbug1.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-2989729617920027899</id><published>2009-09-16T01:50:00.000-07:00</published><updated>2009-09-16T01:59:09.495-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>Range Paging and Restore Current Row After Rollback workaround</title><content type='html'>We use Steve Muench example for restoring current row after rollback is executed.&lt;br /&gt;&lt;a href="http://blogs.oracle.com/smuenchadf/examples/"&gt;http://blogs.oracle.com/smuenchadf/examples/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://otn.oracle.com/products/jdev/tips/muench/restorecurrencyonrollback/RestoreCurrentRowAfterRollback.zip"&gt;http://otn.oracle.com/products/jdev/tips/muench/restorecurrencyonrollback/RestoreCurrentRowAfterRollback.zip&lt;/a&gt;&lt;br /&gt;It was working fine until we started using Range Paging on view objects.&lt;br /&gt;In view objects with range paging, if you select a row in the first page of range then rollback  keeps the same row.&lt;br /&gt;&lt;br /&gt;But if you select a row that is not on the first page of range, rollback gets you to the first row or throw a null pointer exception.&lt;br /&gt;&lt;br /&gt;Reviewing the code of afterRollback method&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  public void afterRollback(TransactionEvent TransactionEvent) {&lt;br /&gt;    super.afterRollback(TransactionEvent);&lt;br /&gt;    if (currentRowKey != null) {&lt;br /&gt;      Key k = new Key(currentRowKey.getAttributeValues());&lt;br /&gt;      Row[] found = findByKey(k, 1);&lt;br /&gt;      executeQuery();&lt;br /&gt;…&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;I noticed that it was calling executeQuery() method. I moved that call tbefore the findByKey method, and then rollback restores the current row after rollback even for view objects with Range Paging :&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  public void afterRollback(TransactionEvent TransactionEvent) {&lt;br /&gt;    super.afterRollback(TransactionEvent);&lt;br /&gt;    if (currentRowKey != null) {&lt;br /&gt;      executeQuery();&lt;br /&gt;      Key k = new Key(currentRowKey.getAttributeValues());&lt;br /&gt;      Row[] found = findByKey(k, 1);&lt;br /&gt;…&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Is this magic?&lt;br /&gt;&lt;br /&gt;Do I miss something? Or it should be like that?&lt;br /&gt;&lt;br /&gt;test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestRollbackRow.zip"&gt;http://adfbugs.googlecode.com/files/TestRollbackRow.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-2989729617920027899?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/2989729617920027899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/09/range-paging-and-restore-current-row.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2989729617920027899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2989729617920027899'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/09/range-paging-and-restore-current-row.html' title='Range Paging and Restore Current Row After Rollback workaround'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-9195178725149293645</id><published>2009-09-09T10:20:00.000-07:00</published><updated>2011-02-11T03:57:13.777-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dialog'/><title type='text'>Unsaved changes uncommittedDataWarning bug</title><content type='html'>I was reading JDeveloper 11g — Functional Patterns &amp;amp; Best Practices for unsaved changes &lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://www.oracle.com/technetwork/testcontent/unsaveddatawarning-096556.html"&gt;http://www.oracle.com/technetwork/testcontent/unsaveddatawarning-096556.html&lt;/a&gt;&lt;/div&gt;&lt;div&gt;and decided to try it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;I created 2 task flows and 2 pages and navigation between them, normal and as dialog&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/Sqfmxi21_rI/AAAAAAAAAXs/cPaKfzFXtMQ/s1600-h/UnsavedChanges1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5379522018762161842" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 242px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/Sqfmxi21_rI/AAAAAAAAAXs/cPaKfzFXtMQ/s400/UnsavedChanges1.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/Sqfm7Fe6YgI/AAAAAAAAAX0/9MQqha6-J_I/s1600-h/UnsavedChanges2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5379522182675849730" style="WIDTH: 357px; CURSOR: hand; HEIGHT: 160px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/Sqfm7Fe6YgI/AAAAAAAAAX0/9MQqha6-J_I/s400/UnsavedChanges2.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;In both pages i set &lt;af:document uncommitteddatawarning="on"&gt;and i run application.&lt;/div&gt;&lt;div&gt;I make a change in department name and press Employees Dialog.&lt;/div&gt;&lt;div&gt;The warning message for changes apear.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SqfpbGb1LaI/AAAAAAAAAX8/SbY0FzZUIHg/s1600-h/UnsavedChanges3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5379524931710430626" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 186px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SqfpbGb1LaI/AAAAAAAAAX8/SbY0FzZUIHg/s400/UnsavedChanges3.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;But the Employees Doesn't open as dialog!!??&lt;/div&gt;&lt;div&gt;When i try to return to Departments i get again the warning, even though no changes in this page and its a different task flow&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SqfpjmlzPAI/AAAAAAAAAYE/TJp-_-rfNqk/s1600-h/UnsavedChanges4.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5379525077781134338" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 259px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SqfpjmlzPAI/AAAAAAAAAYE/TJp-_-rfNqk/s400/UnsavedChanges4.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;So with this feature &lt;/div&gt;&lt;div&gt;you cannot use dialogs, &lt;/div&gt;&lt;div&gt;it does not rollback data &lt;/div&gt;&lt;div&gt;it does not depend on page or on task flow. &lt;/div&gt;&lt;div&gt;you cannot change the message&lt;/div&gt;&lt;div&gt;you cannot add custom logic on it&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;The only good thing about this feature is that the warning shows also when you try to close the explorer window. I wish it was working only then and it also released the application module.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;test case:&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestPendingChanges.zip"&gt;http://adfbugs.googlecode.com/files/TestPendingChanges.zip&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/af:document&gt;&lt;br /&gt;&lt;?xml:namespace prefix = af /&gt;&lt;af:document uncommitteddatawarning="on"&gt;&lt;/af:document&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-9195178725149293645?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/9195178725149293645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/09/unsaved-changes-uncommitteddatawarning.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/9195178725149293645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/9195178725149293645'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/09/unsaved-changes-uncommitteddatawarning.html' title='Unsaved changes uncommittedDataWarning bug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/Sqfmxi21_rI/AAAAAAAAAXs/cPaKfzFXtMQ/s72-c/UnsavedChanges1.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6154718742271000707</id><published>2009-09-06T02:54:00.000-07:00</published><updated>2011-06-19T02:16:36.522-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><title type='text'>ExecuteEmptyRowSet and Range Paging. (Fixed in 11.1.2)</title><content type='html'>As andrejus showed you can reduce the time loading a page by executing Empty row set before page opens.&lt;br /&gt;&lt;a href="http://andrejusb.blogspot.com/2009/08/oracle-adf-tuning-preventing-sql-query.html"&gt;http://andrejusb.blogspot.com/2009/08/oracle-adf-tuning-preventing-sql-query.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Yet this does not combine with Range Paging since getEstimatedRowCount give result in an empty row set when Range paging is used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To test that i created an Employees view object and a method in application module that executes empty row set and estimate row count:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;public long emptyRowSetCount(){&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;this.getEmployeesView1().executeEmptyRowSet();&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;return getEmployeesView1().getEstimatedRowCount();&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;this return 0 in default view object.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;but if i set Employees view object Access Mode = Range paging then the method return the count of rows of the database.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/SqOL-8YBb8I/AAAAAAAAAXk/GUUTfluR7jk/s1600-h/emptyRowSetCount.jpg"&gt;&lt;img style="WIDTH: 400px; HEIGHT: 300px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5378296293485539266" border="0" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/SqOL-8YBb8I/AAAAAAAAAXk/GUUTfluR7jk/s400/emptyRowSetCount.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The getFetchedRowCount return 0 in both cases but this is not exposed in the bindings and on the pages we usually use #{bindings.EmployeesView1Iterator.estimatedRowCount}.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In ViewObjectImpl java doc, the method executeEmptyRowSet does not have any comments, so its not clear what it does.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So i wander if this is an issue of executeEmptyRowSet or getEstimatedRowCount or Range Paging...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestEmptyRowSet.zip"&gt;http://adfbugs.googlecode.com/files/TestEmptyRowSet.zip&lt;/a&gt;&lt;br /&gt;Not Reproduced in jdeveloper 11.1.2&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6154718742271000707?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6154718742271000707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/09/executeemptyrowset-and-range-paging.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6154718742271000707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6154718742271000707'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/09/executeemptyrowset-and-range-paging.html' title='ExecuteEmptyRowSet and Range Paging. (Fixed in 11.1.2)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/SqOL-8YBb8I/AAAAAAAAAXk/GUUTfluR7jk/s72-c/emptyRowSetCount.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-328904074088422011</id><published>2009-08-30T08:16:00.000-07:00</published><updated>2010-04-29T06:06:33.653-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><title type='text'>LOV execute query many times (Fixed in 11.1.1.3)</title><content type='html'>Input list of values component has big performance issues, and it seems not suitable for view objects with a lot of data.&lt;br /&gt;Not only you cant use performance tuning since there are bugs if you use range paging:&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/performance-tuning-lovs-and-range.html"&gt;http://adfbugs.blogspot.com/2009/07/performance-tuning-lovs-and-range.html&lt;/a&gt;&lt;br /&gt;and Up to row number:&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/lov-view-object-tuning-only-up-to-row.html"&gt;http://adfbugs.blogspot.com/2009/08/lov-view-object-tuning-only-up-to-row.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;but also because every time you open LOV and select a value it execute query many times.&lt;br /&gt;&lt;br /&gt;To test that, i override the method executeQuery for collection and print the query:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;@Override&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;protected void executeQueryForCollection(Object object, Object[] object2, int i) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;System.out.println("EmployeesLOV executes Query :" + this.getQuery());&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;super.executeQueryForCollection(object, object2, i);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;when i open the lov and select a value i get the following log:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;EmployeesLOV executes Query :Select * from Employees&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;30-Aug-2009 17:25:04 oracle.adfinternal.view.faces.renderkit.rich.RichRenderKit isNavigating&lt;br /&gt;SEVERE: The original view root was not set.&lt;br /&gt;&lt;/span&gt;EmployeesLOV executes Query :SELECT * FROM (Select * from Employees) QRSLT WHERE ( ( ( (EMPLOYEE_ID = :vc_temp_2 ) ) ) )&lt;br /&gt;EmployeesLOV executes Query :Select * from Employees&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;so the LOV query is executed 3 times !?&lt;br /&gt;&lt;br /&gt;If i type a value to fields that many LOV values start with this value then it is executed many times !!!.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;EmployeesLOV executes Query :SELECT * FROM (Select * from Employees) QRSLT WHERE ( ( (EMPLOYEE_ID LIKE :vc_temp_2 ) ) )&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;30-Aug-2009 17:31:34 oracle.adfinternal.view.faces.renderkit.rich.RichRenderKit isNavigating&lt;br /&gt;SEVERE: The original view root was not set.&lt;br /&gt;&lt;/span&gt;EmployeesLOV executes Query :SELECT * FROM (Select * from Employees) QRSLT WHERE ( ( (EMPLOYEE_ID LIKE :vc_temp_2 ) ) )&lt;br /&gt;EmployeesLOV executes Query :SELECT * FROM (Select * from Employees) QRSLT WHERE ( ( (EMPLOYEE_ID LIKE :vc_temp_2 ) ) )&lt;br /&gt;EmployeesLOV executes Query :SELECT * FROM (Select * from Employees) QRSLT WHERE ( ( (EMPLOYEE_ID LIKE :vc_temp_2 ) ) )&lt;br /&gt;EmployeesLOV executes Query :SELECT * FROM (Select * from Employees) QRSLT WHERE ( ( (EMPLOYEE_ID LIKE :vc_temp_2 ) ) )&lt;br /&gt;EmployeesLOV executes Query :SELECT * FROM (Select * from Employees) QRSLT WHERE ( ( (EMPLOYEE_ID = :vc_temp_2 ) ) )&lt;br /&gt;EmployeesLOV executes Query :Select * from Employees&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Also while you scroll up and down in LOV the query is also executed many times.&lt;br /&gt;&lt;br /&gt;Finaly if you type a value that many LOV values start with this value and scroll down then other values that dont start with this value are visible:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/SpqgKSPe30I/AAAAAAAAAV8/db5_daX9uTA/s1600-h/lovperformance1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5375785203776020290" style="WIDTH: 396px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/SpqgKSPe30I/AAAAAAAAAV8/db5_daX9uTA/s400/lovperformance1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And if you select the value then you get a strange error:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SpqgSdYReCI/AAAAAAAAAWE/cA2X5NdVd6g/s1600-h/lovperformance2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5375785344204634146" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 265px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SpqgSdYReCI/AAAAAAAAAWE/cA2X5NdVd6g/s400/lovperformance2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;Is there a way to use LOVs with a lot of data?&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestPerformance.zip"&gt;http://adfbugs.googlecode.com/files/TestPerformance.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For the test case i put in Employees table about 100000 rows with the following procedure:&lt;br /&gt;&lt;br /&gt;create or replace&lt;br /&gt;PROCEDURE CREATE_EMPLOYEES AS&lt;br /&gt;BEGIN&lt;br /&gt;FOR i IN 1..100000 LOOP&lt;br /&gt;Insert into employees (employee_id,&lt;br /&gt;last_name,&lt;br /&gt;email,&lt;br /&gt;hire_date,&lt;br /&gt;job_id)&lt;br /&gt;select employees_seq.nextval as employee_id,&lt;br /&gt;'auto' i as last_name,&lt;br /&gt;'aut' i '@gmail.com' as email,&lt;br /&gt;sysdate as hire_date,&lt;br /&gt;'IT_PROG' as job_id&lt;br /&gt;from dual;&lt;br /&gt;END LOOP;&lt;br /&gt;COMMIT;&lt;br /&gt;END CREATE_EMPLOYEES;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-328904074088422011?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/328904074088422011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/lov-execute-query-many-times.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/328904074088422011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/328904074088422011'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/lov-execute-query-many-times.html' title='LOV execute query many times (Fixed in 11.1.1.3)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/SpqgKSPe30I/AAAAAAAAAV8/db5_daX9uTA/s72-c/lovperformance1.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3795943252293573092</id><published>2009-08-19T02:34:00.000-07:00</published><updated>2009-08-19T03:02:53.773-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>Af:Query bind variable workaround</title><content type='html'>When you try to enter a page that has af:query with bind variable, after ExecuteWithParams, it always keeps the first value that we first entered the page.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-bug.html"&gt;http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-bug.html&lt;/a&gt;&lt;br /&gt;&lt;a name="c5322903828572837833"&gt;&lt;/a&gt;&lt;a href="http://radio.weblogs.com/0118231/" rel="nofollow"&gt;Steve Muench&lt;/a&gt; said...&lt;br /&gt;Filed bug# 8809022 with your testcase, thanks.&lt;br /&gt;WORKAROUND----------&lt;br /&gt;Rather than using the ExecuteWithParams action as the task flow'sinitial activity, instead write a custom AM method that you publishon the AM's client interface that does the following:&lt;br /&gt;&lt;span style="color:#000099;"&gt;public void initTaskFlowDefinition(Number deptno) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;// Set var value on VO's variable &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;managergetEmployeesView1().ensureVariableManager().setVariableValue("inDepId",deptno);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;// Save the save of the view criteria to "remember"&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;// the current var values as the ones to be restored&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;// in the search form.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;getEmployeesView1().getViewCriteriaManager().getViewCriteria("EmployeesViewCriteria").saveState();&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;}&lt;/span&gt;&lt;br /&gt;Then, have the task flow's default activity invoke this AMmethod instead to accomplish the task.&lt;br /&gt;&lt;br /&gt;So i do it according to Steve workaround, but i didnt want to use bind variables since they have other issues:&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/jdeveloper-11-r1-cascading-lov-bugs.html"&gt;http://adfbugs.blogspot.com/2009/07/jdeveloper-11-r1-cascading-lov-bugs.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/view-criteria-with-exists-optional-bug.html"&gt;http://adfbugs.blogspot.com/2009/07/view-criteria-with-exists-optional-bug.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So i used the following code:&lt;br /&gt;&lt;span style="color:#000099;"&gt;public void initialSettings(oracle.jbo.domain.Number depId) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;EmployeesViewImpl emp = (EmployeesViewImpl)this.getEmployeesView1();&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;ViewCriteria vc = emp.getViewCriteria("EmployeesViewCriteria");&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;vc.first().setAttribute("DepartmentId", depId);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;emp.getViewCriteriaManager().getViewCriteria("EmployeesViewCriteria").saveState();&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;i use this method in the task flow before entering the page and it seems to work fine.&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestViewCriteria.zip"&gt;http://adfbugs.googlecode.com/files/TestViewCriteria.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3795943252293573092?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3795943252293573092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-workaround.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3795943252293573092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3795943252293573092'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-workaround.html' title='Af:Query bind variable workaround'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8587130531204983306</id><published>2009-08-14T03:41:00.000-07:00</published><updated>2010-04-29T06:14:22.459-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><title type='text'>Range Paging in Master Detail bug. (Fixed in 11.1.1.3)</title><content type='html'>When i thried to set Range Paging in some view objects in our application i had the following exception:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;oracle.jbo.InvalidOperException: JBO-25011: Rowset Employees_Departments1_EmpDeptFkLink_DepartmentsView_0 is forward only. at oracle.jbo.server.ViewObjectImpl.validateRangeSizeForRangePaging(ViewObjectImpl.java:13522) at oracle.jbo.server.ViewRowSetIteratorImpl.setRangeSize(ViewRowSetIteratorImpl.java:529) at oracle.jbo.server.ViewRowSetImpl.setRangeSize(ViewRowSetImpl.java:2633) at oracle.jbo.server.ViewObjectImpl.doCreateViewLinkAccessorRS(ViewObjectImpl.java:13534) at oracle.jbo.server.ViewObjectImpl.createViewLinkAccessorRS(ViewObjectImpl.java:13624) at oracle.jbo.server.AssociationDefImpl.get(AssociationDefImpl.java:405) at oracle.jbo.server.ViewAttributeDefImpl.get(ViewAttributeDefImpl.java:773) at oracle.jbo.server.ViewRowStorage.getViewLinkAccessorResult(ViewRowStorage.java:1365) at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1579) at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1795) at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:783) at model.EmployeesViewRowImpl.getMasterDepartment(EmployeesViewRowImpl.java:522)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This happens if you use a master Accessor in a detail view object.&lt;br /&gt;So i reproduced in a simple test case:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have a simple Departments Employees master detail relation.&lt;br /&gt;&lt;br /&gt;In Employees view object i create a transient Attribute IsDepartmentManager that i want to check if the employee is the manager of the department.&lt;br /&gt;&lt;br /&gt;To do that i need the department assecor in Employees. so i do that from the View link.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/SoVQFA-UHRI/AAAAAAAAAVE/ubZFq8OA8WA/s1600-h/RPMD3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5369786177800117522" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 228px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/SoVQFA-UHRI/AAAAAAAAAVE/ubZFq8OA8WA/s400/RPMD3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In the getter of transient attribute i get the attribute of master :&lt;br /&gt;&lt;span style="color:#000099;"&gt;public Boolean getisDepartmentManager() {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Object depManager = this.getMasterDepartment().getAttribute("ManagerId");&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;return depManager != null &amp;amp;&amp;amp; depManager.equals(this.getEmployeeId());&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;When i Run application, everything is working fine:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SoVPIJmfwnI/AAAAAAAAAU8/caGuhBmNpWo/s1600-h/RPMD2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5369785132144116338" style="WIDTH: 262px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SoVPIJmfwnI/AAAAAAAAAU8/caGuhBmNpWo/s400/RPMD2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But if i set Range Paging on tuning of Departments View and run again :&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SoVPCMv19XI/AAAAAAAAAU0/7jO9D_0wIkg/s1600-h/RPMD1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5369785029909411186" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 340px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SoVPCMv19XI/AAAAAAAAAU0/7jO9D_0wIkg/s400/RPMD1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;Am i missing something?&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestRPMasterDetail.zip"&gt;http://adfbugs.googlecode.com/files/TestRPMasterDetail.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8587130531204983306?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8587130531204983306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/range-paging-in-master-detail-bug.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8587130531204983306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8587130531204983306'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/range-paging-in-master-detail-bug.html' title='Range Paging in Master Detail bug. (Fixed in 11.1.1.3)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/SoVQFA-UHRI/AAAAAAAAAVE/ubZFq8OA8WA/s72-c/RPMD3.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-8507280518467953537</id><published>2009-08-12T10:11:00.000-07:00</published><updated>2009-08-12T10:34:02.348-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Table'/><title type='text'>Table Filter Bug</title><content type='html'>&lt;div&gt;&lt;div&gt;I create a default ADF table with filter from Employees views.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;If i put an invalid value in date filter then i correctly have a validation error.&lt;/div&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/SoL8lw3q_7I/AAAAAAAAAUc/TJAsOVXMLx0/s1600-h/filter2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5369131431482818482" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 150px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/SoL8lw3q_7I/AAAAAAAAAUc/TJAsOVXMLx0/s400/filter2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;Also if i press rollback the value is cleared&lt;/div&gt;&lt;br /&gt;&lt;div&gt;If i put invalid value in a number filter then i get a ppr exception.&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SoL8XSZL9-I/AAAAAAAAAUU/wmwyziKb9Jk/s1600-h/filter1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5369131182783723490" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 240px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SoL8XSZL9-I/AAAAAAAAAUU/wmwyziKb9Jk/s400/filter1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;is this a bug?&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Generally rollback (and resetActionListener) does not clear filters of table.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Is there a way to clear values and reset query for table filters?&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-8507280518467953537?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/8507280518467953537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/table-filter-bug.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8507280518467953537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/8507280518467953537'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/table-filter-bug.html' title='Table Filter Bug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YeFnEaxTQCI/SoL8lw3q_7I/AAAAAAAAAUc/TJAsOVXMLx0/s72-c/filter2.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-272799880610097290</id><published>2009-08-09T00:38:00.000-07:00</published><updated>2010-04-30T00:09:52.261-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='View Criteria'/><title type='text'>Af:Query bind variable bug (Fixed in 11.1.1.3)</title><content type='html'>We have noticed in our application a bug that when we enter a page that has af:query with bind variable, after ExecuteWithParams, it always keeps the first value that we first entered the page.&lt;br /&gt;&lt;br /&gt;I reproduced this bug in a simple Departments Employees Test case:&lt;br /&gt;&lt;br /&gt;In Employees View object i have a query criteria for DepartmentId = :inDepId. In the taskflow that opens the Employees query page i first run ExecuteWithParams for the task flow input paramter.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/Sn59sMbktCI/AAAAAAAAAUE/Zn-GCqLyFqM/s1600-h/afquery1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5367866004076803106" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 338px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/Sn59sMbktCI/AAAAAAAAAUE/Zn-GCqLyFqM/s400/afquery1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When i run application in the main page i select a department and then i pass DepartmentId as input value to the Employees task flow.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/Sn59i1050JI/AAAAAAAAAT8/rxHkB9ZBakk/s1600-h/afquery2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5367865843390206098" style="WIDTH: 387px; CURSOR: hand; HEIGHT: 383px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/Sn59i1050JI/AAAAAAAAAT8/rxHkB9ZBakk/s400/afquery2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The first time i call Employees task flow everything works fine. The value of input parameter is set in the criteria and Employees of that department are queried:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/Sn59eh38A_I/AAAAAAAAAT0/Z-oIs0q8Wfs/s1600-h/afquery3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5367865769314747378" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 197px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/Sn59eh38A_I/AAAAAAAAAT0/Z-oIs0q8Wfs/s400/afquery3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But when i return to departments and select an other department and go to Employees again, the bind Variable in Query criteria is still the same, Even though the input parameter and the results have changed for the new department.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/Sn59Zt0FeeI/AAAAAAAAATs/XMC7GlbWWCU/s1600-h/afquery4.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5367865686620469730" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 192px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/Sn59Zt0FeeI/AAAAAAAAATs/XMC7GlbWWCU/s400/afquery4.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Isn't this realy strange?&lt;br /&gt;&lt;br /&gt;If i change value and press reset it allways return to the first value that af:query is executed.&lt;br /&gt;I tried in bindings refresh conditions and TrackQueryPerformed="Page" with no luck.&lt;br /&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;Is there a workaround?&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestViewCriteriaBug.zip"&gt;http://adfbugs.googlecode.com/files/TestViewCriteriaBug.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-272799880610097290?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/272799880610097290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-bug.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/272799880610097290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/272799880610097290'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/afquery-bind-variable-bug.html' title='Af:Query bind variable bug (Fixed in 11.1.1.3)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/Sn59sMbktCI/AAAAAAAAAUE/Zn-GCqLyFqM/s72-c/afquery1.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-4469649526442172442</id><published>2009-08-08T03:01:00.000-07:00</published><updated>2009-08-08T04:44:23.297-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Region'/><title type='text'>Page with Region Validations bug</title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;In the same test case of previus post i put commit actions.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;I noticed that if i have a validation errors in region i cannot submit or commit page.&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/Sn1jGF35UII/AAAAAAAAATE/Gkukn3MMjB8/s1600-h/region1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5367555287202484354" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 314px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/Sn1jGF35UII/AAAAAAAAATE/Gkukn3MMjB8/s400/region1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;In the contrary if i have validations on page i can do submit and commit on retion.&lt;/div&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/Sn1jUdy1U6I/AAAAAAAAATM/IrRNYqXuxtQ/s1600-h/region2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5367555534141871010" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 358px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/Sn1jUdy1U6I/AAAAAAAAATM/IrRNYqXuxtQ/s400/region2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;These problems are easily fixed if you put partial trigger in page components from region&lt;/div&gt;&lt;br /&gt;&lt;div&gt;But even though validations fire, if i dont have validation errors when i commit the region also the page changes are commited. but the page does not know it. The commit button is not becoming disabled.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;In order to be more obvious i also added a field from Jobs in the main page.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/Sn1kOcHjEGI/AAAAAAAAATc/gMUzFgFfBlc/s1600-h/region4.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5367556530124296290" style="WIDTH: 362px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/Sn1kOcHjEGI/AAAAAAAAATc/gMUzFgFfBlc/s400/region4.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;Then if i change value in the region and press commit in the region the value is returned to the value of the main page.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/Sn1kh19daOI/AAAAAAAAATk/p012Yex2aUM/s1600-h/region5.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5367556863478819042" style="WIDTH: 378px; CURSOR: hand; HEIGHT: 396px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/Sn1kh19daOI/AAAAAAAAATk/p012Yex2aUM/s400/region5.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Is this a bug?&lt;/div&gt;&lt;br /&gt;&lt;div&gt;If not, how can i refresh data of main page when i make a change in the region?&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-4469649526442172442?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/4469649526442172442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/page-with-region-validations-bug.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4469649526442172442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/4469649526442172442'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/page-with-region-validations-bug.html' title='Page with Region Validations bug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/Sn1jGF35UII/AAAAAAAAATE/Gkukn3MMjB8/s72-c/region1.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6345854778041170622</id><published>2009-08-06T11:16:00.000-07:00</published><updated>2009-08-06T12:28:58.383-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Region'/><category scheme='http://www.blogger.com/atom/ns#' term='Dialog'/><title type='text'>Region and dialog return bug</title><content type='html'>I create a simple application with Departments and Jobs entities and view objects.&lt;br /&gt;&lt;br /&gt;I put Departments as a simple form in a page and Jobs as a simple form in a page fragment and task flow that i add as a Region in the first page. I also create a dummy dialog with a return button.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnsnjuuvsVI/AAAAAAAAASs/NVH13pxtkxg/s1600-h/RDbug1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366926875735077202" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 223px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnsnjuuvsVI/AAAAAAAAASs/NVH13pxtkxg/s400/RDbug1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But when i return from dialog and try to navigate inside the region i get the following error:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/Snsnt-YPJcI/AAAAAAAAAS0/Egk3V7fOvjg/s1600-h/RDbug2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366927051734328770" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 189px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/Snsnt-YPJcI/AAAAAAAAAS0/Egk3V7fOvjg/s400/RDbug2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;java.lang.IllegalStateException: ADF_FACES-60058:Attempt to re-register component with different model. at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager._registerComponent(PageDataUpdateManager.java:256) at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager.registerComponentForPPR(PageDataUpdateManager.java:161) at oracle.adf.view.rich.activedata.ActiveComponentContext.popActiveComponent(ActiveComponentContext.java:371) at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1191) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335) at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)&lt;/span&gt;&lt;br /&gt;&lt;p&gt;After that the page is no longer functional.&lt;br /&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/RegionAndDialogTest.zip"&gt;http://adfbugs.googlecode.com/files/RegionAndDialogTest.zip&lt;/a&gt; &lt;/p&gt;&lt;p&gt;P.s. This bug was found by 2 female colegues (Roula and Nota) in our application. It was working befor r1 of jdev11.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6345854778041170622?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6345854778041170622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/region-and-dialog-return-bug.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6345854778041170622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6345854778041170622'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/region-and-dialog-return-bug.html' title='Region and dialog return bug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/SnsnjuuvsVI/AAAAAAAAASs/NVH13pxtkxg/s72-c/RDbug1.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-470256462970701486</id><published>2009-08-05T10:40:00.000-07:00</published><updated>2009-08-05T11:16:08.989-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><title type='text'>LOV criteria bug.</title><content type='html'>Some times after using search criteria inside an LOV we get a strange exception:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: vc_temp_2&lt;br /&gt;at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)&lt;br /&gt;at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)&lt;br /&gt;at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)&lt;br /&gt;at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)&lt;br /&gt;at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)&lt;br /&gt;at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:11158)&lt;br /&gt;at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:815)&lt;br /&gt;at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:4617)&lt;br /&gt;at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3807)&lt;br /&gt;at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:18278)&lt;br /&gt;at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1035)&lt;br /&gt;at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:815)&lt;br /&gt;at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:5892)&lt;br /&gt;at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1021)&lt;br /&gt;at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:889)&lt;br /&gt;…&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It is not easy to reproduce but when it happens you cannot open the LOV again and you cannot set a value to the LOV field, even from diferent row or from diferent session.&lt;br /&gt;&lt;br /&gt;I managed to reproduce it in a simple test case of Employees form with simple Department LOV.&lt;br /&gt;The steps to reproduce are:&lt;br /&gt;&lt;p&gt;&lt;br /&gt;1.Select an existing department&lt;/p&gt;&lt;p&gt;2.open department LOV add a criterion and press search.&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnnLYwKUn0I/AAAAAAAAASU/1BYCG3BG1l4/s1600-h/LOV3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366544057094152002" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 223px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnnLYwKUn0I/AAAAAAAAASU/1BYCG3BG1l4/s400/LOV3.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;3.Close LOV without selecting row and type a non existing value and press Tab. LOV automatically opens and even though it doesnt have values in criteria only the previus results are visible.&lt;/p&gt;&lt;p&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnnLTMLLrQI/AAAAAAAAASM/eNk8rDCTEwM/s1600-h/LOV2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366543961534737666" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 243px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnnLTMLLrQI/AAAAAAAAASM/eNk8rDCTEwM/s400/LOV2.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;4.Press cancel again and type an existing value and press Tab. Then the error apears&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnnLN70oKBI/AAAAAAAAASE/Cp8BHAq62Ys/s1600-h/LOV1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366543871245821970" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 178px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnnLN70oKBI/AAAAAAAAASE/Cp8BHAq62Ys/s400/LOV1.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnnLYwKUn0I/AAAAAAAAASU/1BYCG3BG1l4/s1600-h/LOV3.jpg"&gt;&lt;/a&gt;It seems that LOVs Love bugs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-470256462970701486?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/470256462970701486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/lov-criteria-bug.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/470256462970701486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/470256462970701486'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/lov-criteria-bug.html' title='LOV criteria bug.'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/SnnLYwKUn0I/AAAAAAAAASU/1BYCG3BG1l4/s72-c/LOV3.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-2107663571507214372</id><published>2009-08-04T09:47:00.000-07:00</published><updated>2010-04-30T00:21:43.233-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOV'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><title type='text'>LOV view object Tuning: 'Only up to row number' bug (Fixed in 11.1.1.3)</title><content type='html'>Since we can not use Range paging on LOVs for performance Tuning due to bug 8722958 :&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/performance-tuning-lovs-and-range.html"&gt;http://adfbugs.blogspot.com/2009/07/performance-tuning-lovs-and-range.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I try the 'Only up to row Number' option in a simple employees form with Input List of values for DepartmentId.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/Snhn3al7yXI/AAAAAAAAARk/UA7VAcz8PJM/s1600-h/lovlimit1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366153157740841330" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 293px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/Snhn3al7yXI/AAAAAAAAARk/UA7VAcz8PJM/s400/lovlimit1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;so when i open the LOV only 10 rows apear:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SnhsBygv8QI/AAAAAAAAARs/8WJUuWtol2c/s1600-h/lovlimit2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366157734006747394" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 293px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SnhsBygv8QI/AAAAAAAAARs/8WJUuWtol2c/s400/lovlimit2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bug1: if i try to type number 110 that is a valid value but does not exist in the range, the value just disapear without even opening the LOV.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bug2: If i type the number 20 then since both 20 and 200 exist it opens the LOV to select 1. but if i select cancel and after that i type the number 200 the value is set back to 20 and i get a stange error:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/SnhvcYNCScI/AAAAAAAAAR0/yNxDc_ZIZ0I/s1600-h/lovlimit3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366161489336093122" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 213px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/SnhvcYNCScI/AAAAAAAAAR0/yNxDc_ZIZ0I/s400/lovlimit3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Is this a bug?&lt;br /&gt;Or we should not use Tuning: 'Only up to row number' for LOV view objects?&lt;br /&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestLimitedLov.zip"&gt;http://adfbugs.googlecode.com/files/TestLimitedLov.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-2107663571507214372?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/2107663571507214372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/lov-view-object-tuning-only-up-to-row.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2107663571507214372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/2107663571507214372'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/lov-view-object-tuning-only-up-to-row.html' title='LOV view object Tuning: &apos;Only up to row number&apos; bug (Fixed in 11.1.1.3)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/Snhn3al7yXI/AAAAAAAAARk/UA7VAcz8PJM/s72-c/lovlimit1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6879723010506402382</id><published>2009-08-03T11:44:00.000-07:00</published><updated>2009-08-03T12:25:37.984-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Validations'/><category scheme='http://www.blogger.com/atom/ns#' term='Table'/><title type='text'>Table Validations Bug.</title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;In a simple Departments Entity i also put 2 transient attributes for this test case reasons.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Then i add some entity and attribute validations.&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/Snc28fRJXaI/AAAAAAAAARM/ZZEkpJm9uf4/s1600-h/tv2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5365817893848702370" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 265px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/Snc28fRJXaI/AAAAAAAAARM/ZZEkpJm9uf4/s400/tv2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Then i create a simple ADF Table with submit and commit buttons&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/_YeFnEaxTQCI/Snc2tBTaqvI/AAAAAAAAARE/E26Ajl0l5uM/s1600-h/tv1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5365817628107123442" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_YeFnEaxTQCI/Snc2tBTaqvI/AAAAAAAAARE/E26Ajl0l5uM/s400/tv1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;I put values in a row so that Entity compare validation should fail. I press submit but nothing happens. I press commit and it seems that data is commited, but they are not!!!&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Validation error only shows up if i navigate to an other row by clicking.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/Snc3G-B4rTI/AAAAAAAAARU/D1vmTwHdiZg/s1600-h/tv3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5365818073904885042" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 298px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/Snc3G-B4rTI/AAAAAAAAARU/D1vmTwHdiZg/s400/tv3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;but again if i press submit or commit all validation errors disapear!!!?&lt;br /&gt;&lt;br /&gt;&lt;div&gt;If i navigate to next row by pressing Tab, again no validation errors!!!&lt;/div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/Snc4Pwdk7xI/AAAAAAAAARc/5ijETsl2760/s1600-h/tv4.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5365819324393385746" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 298px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/Snc4Pwdk7xI/AAAAAAAAARc/5ijETsl2760/s400/tv4.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Is this a bug?&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Is there any way that these validation errors do not disapear when i press any button?&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Test Case:&lt;/div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TableValidations.zip"&gt;http://adfbugs.googlecode.com/files/TableValidations.zip&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6879723010506402382?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6879723010506402382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/table-validations-bug.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6879723010506402382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6879723010506402382'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/table-validations-bug.html' title='Table Validations Bug.'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YeFnEaxTQCI/Snc28fRJXaI/AAAAAAAAARM/ZZEkpJm9uf4/s72-c/tv2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-62486272646986912</id><published>2009-08-02T01:43:00.000-07:00</published><updated>2009-08-02T02:10:50.291-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dialog'/><title type='text'>Returning from dialog to a page that has f:verbatim tag bug</title><content type='html'>We had a bug in application that when we return from dialog page the page was brocken, bindings were lost, and exceptions apeared in the log.&lt;br /&gt;&lt;br /&gt;I managed to reproduce it in a simple test case:&lt;br /&gt;I create a simple page with default oracle template and a dialog page.&lt;br /&gt;I click on header facet and just typed something (test)&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnVV-h6p2fI/AAAAAAAAAQ0/XVANJxKgz04/s1600-h/DialogReturn.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5365289063826446834" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 185px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnVV-h6p2fI/AAAAAAAAAQ0/XVANJxKgz04/s400/DialogReturn.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SnVWI3bi_SI/AAAAAAAAAQ8/CiowZHQ8bdA/s1600-h/DialogReturn1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5365289241400245538" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 218px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SnVWI3bi_SI/AAAAAAAAAQ8/CiowZHQ8bdA/s400/DialogReturn1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I run application i open dialog but when i return from dialog i have exception:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;INFO: unable to dispatch JSP page: The following exception occurred:.java.lang.NullPointerException at oracle.adfinternal.view.faces.taglib.region.IncludeTag$RelocatedFacet.restoreFacet(IncludeTag.java:816) at oracle.adfinternal.view.faces.taglib.region.IncludeTag.doStartTag(IncludeTag.java:192) at oracle.adfinternal.view.faces.taglib.region.DynamicIncludeTag.doStartTag(DynamicIncludeTag.java:109) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:257) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:257) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:257) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:257) at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:76) at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:88) at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:722) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189) at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:685) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:261) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146) at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and the page is no longer functional.&lt;br /&gt;&lt;br /&gt;If i remove f:verbatim tag the page and dialog work nomraly.&lt;br /&gt;&lt;br /&gt;So is this a bug?&lt;br /&gt;&lt;br /&gt;If we should not use f:verbatim on ADF pages, why it is set automaticaly when you type something on the page?&lt;br /&gt;&lt;?xml:namespace prefix = f /&gt;&lt;f:verbatim&gt;&lt;br /&gt;Test case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestDialogReturn.zip"&gt;http://adfbugs.googlecode.com/files/TestDialogReturn.zip&lt;/a&gt;&lt;/f:verbatim&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-62486272646986912?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/62486272646986912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/returning-from-dialog-to-page-that-has.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/62486272646986912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/62486272646986912'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/returning-from-dialog-to-page-that-has.html' title='Returning from dialog to a page that has f:verbatim tag bug'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/SnVV-h6p2fI/AAAAAAAAAQ0/XVANJxKgz04/s72-c/DialogReturn.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-6865833630955252651</id><published>2009-08-01T05:48:00.000-07:00</published><updated>2009-08-01T06:10:18.969-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkArounds'/><title type='text'>Range Paging Last operation, bug workaround</title><content type='html'>As i posted in previus post when you use Range Paging on a view object then Last operation throws an error.&lt;br /&gt;&lt;a href="http://adfbugs.blogspot.com/2009/07/performance-tuning-range-paging-last.html"&gt;http://adfbugs.blogspot.com/2009/07/performance-tuning-range-paging-last.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As Steve suggested i created a method that takes you to the last row:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;private Row rangePagingLast() {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  int pagesCount = getEstimatedRangePageCount();&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  scrollToRangePage(pagesCount);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  Row lastRow = getRowAtRangeIndex(getRowCountInRange()-1);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  setCurrentRow(lastRow);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  return lastRow;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This method actually gets you to the last row even though Range Paging is set on a view object&lt;br /&gt;It is also much faster than scrolling down to a table component or Last operation of a view object that has Scrolling as Action Mode.&lt;br /&gt;So i overide my base View Object Implementation Class and the Last operation to support Last operation even if Range Paging is set.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;@Override&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;public Row last() {&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  if (getAccessMode()==ViewObjectImpl.RANGE_PAGING) return rangePagingLast();&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;  return super.last();&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It seems to work fine.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnQ92rreLEI/AAAAAAAAAQk/m6ricqOytXE/s1600-h/PRLastWA.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5364981065752390722" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 359px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnQ92rreLEI/AAAAAAAAAQk/m6ricqOytXE/s400/PRLastWA.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Test case:&lt;/p&gt;&lt;p&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestRangePaging.zip"&gt;http://adfbugs.googlecode.com/files/TestRangePaging.zip&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-6865833630955252651?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/6865833630955252651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/08/range-paging-last-operation-bug.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6865833630955252651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/6865833630955252651'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/08/range-paging-last-operation-bug.html' title='Range Paging Last operation, bug workaround'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/SnQ92rreLEI/AAAAAAAAAQk/m6ricqOytXE/s72-c/PRLastWA.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-3519227897085883642</id><published>2009-07-30T01:20:00.000-07:00</published><updated>2011-01-21T02:49:32.398-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Table'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><title type='text'>Range paging and Table Selected Row Bugs</title><content type='html'>In a default view object and default table in panel collection, when you scroll down and select a row and for any reason the table is submitted (button, reorder columns, detach), then the table returns to the first displayed page and the selected row was not visible.&lt;br /&gt;But you could fix that if in the table properties you set displayRow="selected".&lt;br /&gt;Except form the detach button that still reset the visible range to the start.&lt;br /&gt;&lt;br /&gt;Bug1 :Yet when you set Range paging for tuning the view object the displayed (selected) row is lost many times (not always) when you submit page.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnFZua-WHaI/AAAAAAAAAQE/9yhzpSDLS8M/s1600-h/RPbug1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5364167285224644002" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 360px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/SnFZua-WHaI/AAAAAAAAAQE/9yhzpSDLS8M/s400/RPbug1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Bug2 :Also some times the selection listener of the table does not work and when you submit the previus selected row is selected&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YeFnEaxTQCI/SnFbNTSBWDI/AAAAAAAAAQM/7DyL4oqpuJs/s1600-h/RPbug2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5364168915247257650" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 360px" alt="" src="http://2.bp.blogspot.com/_YeFnEaxTQCI/SnFbNTSBWDI/AAAAAAAAAQM/7DyL4oqpuJs/s400/RPbug2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Bug3 : Last it seams that it execute many ranges in the query, not only when you scroll down, but also when you select a row.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/SnFbS7pGJnI/AAAAAAAAAQU/tJxkLW0_Kd4/s1600-h/RPbug3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5364169011980805746" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 257px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/SnFbS7pGJnI/AAAAAAAAAQU/tJxkLW0_Kd4/s400/RPbug3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So is this a bug?&lt;br /&gt;or we should not use Range Paging in view objects used in table?&lt;br /&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestRangePaging.zip"&gt;http://adfbugs.googlecode.com/files/TestRangePaging.zip&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-3519227897085883642?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/3519227897085883642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/07/range-paging-and-table-selected-row.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3519227897085883642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/3519227897085883642'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/07/range-paging-and-table-selected-row.html' title='Range paging and Table Selected Row Bugs'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YeFnEaxTQCI/SnFZua-WHaI/AAAAAAAAAQE/9yhzpSDLS8M/s72-c/RPbug1.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8668672897850605330.post-7920632313952865489</id><published>2009-07-28T12:49:00.000-07:00</published><updated>2009-07-29T01:53:08.778-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RowIterator'/><title type='text'>Iterating through View Object RowIterator Bug.(NOT ADF BUG, Development Bug)</title><content type='html'>The oldest bug in writing code is losing a row in an iterator.&lt;br /&gt;This happens in ADF also.&lt;br /&gt;I got embarrassed today saying to a developer 'RTFM' and been proven wrong. So I will first post some parts of the javadoc of RowIterrator and then a test case that proves it wrong.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;When a Row Iterator is first opened or created, the currency is placed on an imaginary "slot" before the first row. This enables the user to invoke next() on a fresh new Row Iterator and retrieve the first row. For example, the following block of code will print attribute "Ename" for all employees (it does not miss the first row):&lt;br /&gt;ApplicationModule myAM;&lt;br /&gt;...&lt;br /&gt;ViewObject myVO = myAM.findViewObject("MyEmpVO");&lt;br /&gt;Row row;&lt;br /&gt;while ((row = myVO.next()) != null)&lt;br /&gt;{&lt;br /&gt;System.out.println("Ename: " + row.getAttribute("Ename"));&lt;br /&gt;}&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;void reset()&lt;/strong&gt;&lt;br /&gt;Moves the currency to the slot before the first row.&lt;br /&gt;After this method, the current slot status will be SLOT_BEFORE_FIRST except in cases where this iterator is associated to an iterator binding in an ADF application which sets the currency to the first row in the iterator if available. A subsequent invocation of next() will cause the first row to become the current row.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So I created a View Object that only gets 3 rows and a method in application module that iterrates according to the above descriptions through the iterator and return the rows visited in a string:&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;public String checkIterations() {&lt;br /&gt;String res = "Iterated through : ";&lt;br /&gt;RowIterator view = this.getDepartmentsView1();&lt;br /&gt;view.reset();&lt;br /&gt;Row row;&lt;br /&gt;while ((row = view.next()) != null) {&lt;br /&gt;System.out.println("rownum: " + row.getAttribute("RowNum"));&lt;br /&gt;res += row.getAttribute("RowNum") + " ";&lt;br /&gt;}&lt;br /&gt;return res;&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;When I run Application nodule and test this method, it goes through all rows as expected.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YeFnEaxTQCI/Sm9eJ-FIz5I/AAAAAAAAAPk/QUczI0j3nX8/s1600-h/iter1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5363609206597930898" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 300px" alt="" src="http://1.bp.blogspot.com/_YeFnEaxTQCI/Sm9eJ-FIz5I/AAAAAAAAAPk/QUczI0j3nX8/s400/iter1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But if I open the view object (execute query) and then run this method again, the first row is never visited.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/Sm9eOgQLgeI/AAAAAAAAAPs/CaIzG9ojVJM/s1600-h/iter2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5363609284490527202" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 300px" alt="" src="http://3.bp.blogspot.com/_YeFnEaxTQCI/Sm9eOgQLgeI/AAAAAAAAAPs/CaIzG9ojVJM/s400/iter2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So is this a bug?&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YeFnEaxTQCI/Sm9eOgQLgeI/AAAAAAAAAPs/CaIzG9ojVJM/s1600-h/iter2.jpg"&gt;&lt;/a&gt;&lt;br /&gt;Test Case:&lt;br /&gt;&lt;a href="http://adfbugs.googlecode.com/files/TestIterator.zip"&gt;http://adfbugs.googlecode.com/files/TestIterator.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As my friends in the comments said its not a bug&lt;br /&gt;Its a bad development practice (development bug) to do it as described above.&lt;br /&gt;&lt;br /&gt;I should say RATFM (readh all the f... manual):&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;9.7.6 What You May Need to Know About Programmatic Row Set Iteration&lt;/strong&gt; &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Any time your application logic accesses a row set to perform programmatic iteration, you should use a secondary row set iterator when working with view object instances in an application module's data model, or view link accessor row sets of these view object instances, since they may be bound to user interface components. &lt;/em&gt;&lt;br /&gt;&lt;em&gt;To create a secondary iterator, use the createRowSetIterator() method on the row set you are working with. When you are done using it, call the closeRowSetIterator() method on the row set to remove the secondary iterator from memory. &lt;/em&gt;&lt;br /&gt;&lt;em&gt;Example 9-7 shows a typical application module custom method that correctly uses a secondary row set iterator for programmatic iteration, because the EmpView1 view object instance in its data model may be bound to a user interface (either now or at a later time).&lt;br /&gt;&lt;strong&gt;Example 9-7&lt;/strong&gt; Using a Secondary Row Set Iterator in an Application Module Custom Method &lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;// Custom method in an application module implementation classpublic &lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;void doSomeCustomProcessing() { &lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;ViewObject vo = getEmpView1(); &lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;// create secondary row set iterator with system-assigned name&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;RowSetIterator iter = vo.createRowSetIterator(null); &lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;while (iter.hasNext()) {&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;Row r = iter.next();&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;// Do something with the current row.&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;}&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;// close secondary row set iterator&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;iter.closeRowSetIterator();}&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8668672897850605330-7920632313952865489?l=adfbugs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adfbugs.blogspot.com/feeds/7920632313952865489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adfbugs.blogspot.com/2009/07/iterating-through-view-object.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/7920632313952865489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8668672897850605330/posts/default/7920632313952865489'/><link rel='alternate' type='text/html' href='http://adfbugs.blogspot.com/2009/07/iterating-through-view-object.html' title='Iterating through View Object RowIterator Bug.(NOT ADF BUG, Development Bug)'/><author><name>Milkbird</name><uri>http://www.blogger.com/profile/15374340481163006211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_YeFnEaxTQCI/SjDsTLc5L9I/AAAAAAAAAAg/TiCv5r-K2JU/S220/givemeabug.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YeFnEaxTQCI/Sm9eJ-FIz5I/AAAAAAAAAPk/QUczI0j3nX8/s72-c/iter1.jpg' height='72' width='72'/><thr:total>8</thr:total></entry></feed>
