<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Upcom.eu Blog &#187; Jdeveloper 11g</title>
	<atom:link href="http://blog.upcom.eu/category/jdeveloper-11g/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.upcom.eu</link>
	<description>Comments, remarks, information, solutions from the Upcom team</description>
	<lastBuildDate>Tue, 13 Sep 2011 17:56:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Multiple View Criterias. One Result.</title>
		<link>http://blog.upcom.eu/2008/11/25/multiple-view-criterias-one-result/</link>
		<comments>http://blog.upcom.eu/2008/11/25/multiple-view-criterias-one-result/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 15:19:37 +0000</pubDate>
		<dc:creator>Stassinopoulos Dimitris</dc:creator>
				<category><![CDATA[ADF]]></category>
		<category><![CDATA[Jdeveloper 11g]]></category>
		<category><![CDATA[QueryCriteria]]></category>
		<category><![CDATA[ViewCriteria]]></category>

		<guid isPermaLink="false">http://blog.upcom.eu/?p=13</guid>
		<description><![CDATA[Here is a Hint of how to take advantage of ADF and ViewCriterias. There are cases that users demand to have more than QueryCriterias for a specific page; There is also the case to have those QueryCriterias in different tabs &#8230; <a href="http://blog.upcom.eu/2008/11/25/multiple-view-criterias-one-result/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom: 0in;" lang="en-US">Here is a Hint of how to take advantage of ADF and ViewCriterias.</p>
<p style="margin-bottom: 0in;"><span lang="en-US">There are cases that users demand to have more than </span><span lang="en-US"><strong>QueryCriterias</strong></span><span lang="en-US"> for a specific page; There is also the case to have those </span><span lang="en-US"><strong>QueryCriterias</strong></span><span lang="en-US"> in different tabs and disclose the desired one and have a conjunction of both in the result form or table at the same time.  This functionality could be desired in many cases and sometimes could not be avoidable.</span></p>
<p style="margin-bottom: 0in;"><span lang="en-US">Some cases when the criteria attributes are </span><span lang="en-US"><strong>too</strong></span><span lang="en-US"> </span><span lang="en-US"><strong>many</strong></span><span lang="en-US"> to fit in one page, or if the user will want to </span><span lang="en-US"><strong>reset</strong></span><span lang="en-US"> some of the attributes and not all, then, you need to use two or even more </span><span lang="en-US"><strong>PanelQuery</strong></span><span lang="en-US"> components to produce one joined query.</span></p>
<p style="margin-bottom: 0in;"><span lang="en-US">In </span><span lang="en-US"><strong>ADF</strong></span><span lang="en-US"> this means to create more than one ViewCriterias in the viewObject.</span></p>
<p style="margin-bottom: 0in;"><span lang="en-US">But, I faced  the problem of applying all those view criterias as a one combined query. The result was not filtering from all view criterias but the one disclosed.</span></p>
<p style="margin-bottom: 0in;" lang="en-US">At first my mind went on partial triggers, messing with iterators etc, but the solution was much quicker and more elegant.</p>
<p style="margin-bottom: 0in;" lang="en-US">
<p style="margin-bottom: 0in;" lang="en-US">
<p style="margin-bottom: 0in;" lang="en-US">Follow the steps described below into your application and see the results</p>
<p style="margin-bottom: 0in;" lang="en-US">
<ol>
<li>
<p style="margin-bottom: 0in;" lang="en-US">Go to your ViewObject 	and create the Java Implementation class</p>
</li>
<li>
<p style="margin-bottom: 0in;"><span lang="en-US">Inside the 	class Override the </span><span lang="en-US"><strong>executeQuery() </strong></span><span lang="en-US">method.</span></p>
</li>
<li>
<p style="margin-bottom: 0in;" lang="en-US">Place the following 	code:</p>
</li>
</ol>
<p style="margin-left: 0.25in; margin-bottom: 0in;" lang="en-US">
<p style="margin-left: 0.5in; margin-bottom: 0in;" lang="en-US">@Override</p>
<p style="margin-left: 0.5in; margin-bottom: 0in;" lang="en-US">public void executeQuery() {</p>
<p style="margin-left: 0.5in; margin-bottom: 0in;" lang="en-US">//get all view criteria names</p>
<p style="margin-left: 0.5in; margin-bottom: 0in;" lang="en-US">String[] allViewCriterias=this.getAllViewCriteriaNames();</p>
<p style="margin-left: 0.5in; margin-bottom: 0in;" lang="en-US">
<p style="margin-left: 0.5in; margin-bottom: 0in;"><span lang="en-US">// apply them as one joined Criteria </span></p>
<p style="margin-left: 0.5in; margin-bottom: 0in;" lang="en-US">this.setApplyJoinedViewCriteriaNames(allViewCriterias);</p>
<p style="margin-left: 0.5in; margin-bottom: 0in;" lang="en-US">
<p style="margin-left: 0.5in; margin-bottom: 0in;"><span lang="en-US">//now execute query. </span></p>
<p style="margin-left: 0.5in; margin-bottom: 0in;" lang="en-US">super.executeQuery();</p>
<p style="margin-left: 0.5in; margin-bottom: 0in;" lang="en-US">}</p>
<p style="margin-bottom: 0in;" lang="en-US">
<p style="margin-bottom: 0in;" lang="en-US">That’s it!</p>
<p style="margin-bottom: 0in;" lang="en-US">Now you can have as many ViewCriterias as you want and have one joined Query.</p>
<p style="margin-bottom: 0in;" lang="en-US">The method is called every time you press search button no matter in which Panel Query you are on and you can reset some attributes and not all.</p>
<p style="margin-bottom: 0in;" lang="en-US">
]]></content:encoded>
			<wfw:commentRss>http://blog.upcom.eu/2008/11/25/multiple-view-criterias-one-result/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recover JDeveloper 11g after crash</title>
		<link>http://blog.upcom.eu/2008/02/01/recover-jdeveloper-11g-after-crash/</link>
		<comments>http://blog.upcom.eu/2008/02/01/recover-jdeveloper-11g-after-crash/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 08:02:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jdeveloper 11g]]></category>

		<guid isPermaLink="false">http://www.source-stream.com//blog/?p=3</guid>
		<description><![CDATA[Occassionally JDeveloper fails to start after an abnormal termination. The reasons are not obvious, but this small trick will help you identify the problems behind the failure. Instead of starting JDeveloper from the normal jdeveloper.exe or a link pointing to &#8230; <a href="http://blog.upcom.eu/2008/02/01/recover-jdeveloper-11g-after-crash/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Occassionally JDeveloper fails to start after an abnormal termination. The reasons are not obvious, but this small trick will help you identify the problems behind the failure.</p>
<p>Instead of starting JDeveloper from the normal jdeveloper.exe or a link pointing to it, start from the same directory by using the command jdev/bin/jdev.exe, passing the same parameters as when invoking the jdeveloper.exe. You will not be able to successfully restart, but a lot of debug information will be provided to you, enabling you to identify the error. In my case, jDeveloper had a lock on one of the adfc-config.xml files; I had to rename it, as I couldn&#8217;t find where this lock was kept, start jdeveloper and then rename it back to the original name.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.upcom.eu/2008/02/01/recover-jdeveloper-11g-after-crash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

