tag:blogger.com,1999:blog-3450104555010690312024-03-19T02:31:41.211-07:00Oracle HelpInformation, Tips, Solutions about Oracle ebusiness ERP from Experts.
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.comBlogger93125tag:blogger.com,1999:blog-345010455501069031.post-70816983812792892562020-06-02T09:27:00.000-07:002020-06-02T09:27:01.847-07:00JavaScript copy Array<div dir="ltr" style="text-align: left;" trbidi="on">
To copy an Array in Javascript there are below Options<br />
<br />
1. Using slice<br />
const oldArray = ["value1","value2","value3"];<br />
const newArray = oldArray.slice();<br />
<br />
2. ES6 using spread(fails incase of mutli level deep Object)<br />
const oldArray = ["value1","value2","value3"];<br />
const newArray = [...oldArray ];<br />
<br />
3. Using Array.from<br />
const oldArray = ["value1","value2","value3"];<br />
const newArray = Array.from(oldArray); </div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com45tag:blogger.com,1999:blog-345010455501069031.post-62486762712903350342020-06-02T09:06:00.002-07:002020-06-02T09:06:40.326-07:00JavaScript Clone Object<div dir="ltr" style="text-align: left;" trbidi="on">
Cloning a Object in JavaScript is not going to be StraightForward especailly if the Object contians Complex Objects and is not limited to primitive types.<br />
<br />
<br />
<ol style="text-align: left;">
<li> Use Object.assign</li>
</ol>
<br />
var newObject = <span style="background-color: rgba(0, 0, 0, 0.05); color: rgba(0, 0, 0, 0.84); font-family: Menlo, Monaco, "Courier New", Courier, monospace; font-size: 16px; letter-spacing: -0.352px; white-space: pre-wrap;">Object.assign({}, oldObject);</span><br />
<br />
<br />
2. JSON way<br />
var newObject = <span style="background-color: rgba(0, 0, 0, 0.05); color: rgba(0, 0, 0, 0.84); font-family: Menlo, Monaco, "Courier New", Courier, monospace; font-size: 16px; letter-spacing: -0.352px; white-space: pre-wrap;">JSON.parse(JSON.stringify(</span><span style="background-color: rgba(0, 0, 0, 0.05); color: rgba(0, 0, 0, 0.84); font-family: Menlo, Monaco, "Courier New", Courier, monospace; font-size: 16px; letter-spacing: -0.352px; white-space: pre-wrap;">oldObject</span><span style="background-color: rgba(0, 0, 0, 0.05); color: rgba(0, 0, 0, 0.84); font-family: Menlo, Monaco, "Courier New", Courier, monospace; font-size: 16px; letter-spacing: -0.352px; white-space: pre-wrap;">));</span><br />
<br /></div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com6tag:blogger.com,1999:blog-345010455501069031.post-21663766195222173922019-08-14T10:43:00.000-07:002019-08-14T10:43:26.988-07:00Dependency Injection in Java<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="sect1" style="background-color: white; box-sizing: border-box; color: rgba(0, 0, 0, 0.8); direction: ltr; font-family: "Noto Serif", "DejaVu Serif", serif; font-size: 16px; margin: 0px; padding: 0px 0px 1.25em;">
<div class="sectionbody" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div class="sect2" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<h3 id="dependencyinjection" style="box-sizing: border-box; color: #ba3925; direction: ltr; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-size: 1.6875em; font-weight: 300; line-height: 1.2; margin: -50px 0px 0.5em; padding: 50px 0px 0px; text-rendering: optimizelegibility; word-spacing: -0.05em;">
<a class="link" href="https://www.vogella.com/tutorials/DependencyInjection/article.html#dependencyinjection" style="background: transparent; box-sizing: border-box; color: #28373c; font-weight: bold; line-height: inherit; overflow-wrap: break-word; text-decoration-line: none;">1.1. What is dependency injection?</a></h3>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Dependency injection is a concept valid for any programming language. The general concept behind dependency injection is called Inversion of Control. According to this concept a class should not configure its dependencies statically but should be configured from the outside.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
A Java class has a dependency on another class, if it uses an instance of this class. We call this a _class dependency. For example, a class which accesses a logger service has a dependency on this service class.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Ideally Java classes should be as independent as possible from other Java classes. This increases the possibility of reusing these classes and to be able to test them independently from other classes.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
If the Java class creates an instance of another class via the <code style="background-color: #f7f7f8; border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 0.9375em; letter-spacing: 0px; line-height: 1.45; overflow-wrap: break-word; padding: 0.1em 0.5ex; text-rendering: optimizespeed; word-spacing: -0.15em;">new</code> operator, it cannot be used (and tested) independently from this class and this is called a hard dependency. The following example shows a class which has no hard dependencies.</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">package</span> <span class="namespace" style="box-sizing: border-box;">com.vogella.tasks.ui.parts</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">java.util.logging.Logger</span>;
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">class</span> <span class="class" style="box-sizing: border-box; color: #445588; font-weight: bold;">MyClass</span> {
<span class="directive" style="box-sizing: border-box; font-weight: bold;">private</span> <span class="predefined-type" style="box-sizing: border-box; color: inherit;">Logger</span> logger;
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> MyClass(<span class="predefined-type" style="box-sizing: border-box; color: inherit;">Logger</span> logger) {
<span class="local-variable" style="box-sizing: border-box; color: #996633;">this</span>.logger = logger;
<span class="comment" style="box-sizing: border-box; color: #999988; font-style: italic;">// write an info log message</span>
logger.info(<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">This is a log message.</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>)
}
}</code></pre>
</div>
</div>
<div class="admonitionblock note" style="box-sizing: border-box; direction: ltr; margin: 0px; overflow-wrap: break-word; padding: 0px; word-break: break-word;">
<table style="background: none; border-spacing: 0px; border: 0px; box-sizing: border-box; margin-bottom: 1.25em; overflow-wrap: break-word; width: 970px; word-break: break-word;"><tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;"><td class="icon" style="box-sizing: border-box; color: rgba(0, 0, 0, 0.8); direction: ltr; font-size: inherit; line-height: 1.6; margin: 0px; padding: 0.5625em 0.625em; text-align: center; width: 80px;"><span class="fa icon-note" style="box-sizing: border-box; cursor: default; display: inline-block; font-family: "fontawesome"; font-size: 2.5em; font-stretch: normal; line-height: 1; text-shadow: rgba(0 , 0 , 0 , 0.5) 1px 1px 2px;" title="Note"></span></td><td class="content" style="border-left: 1px solid rgb(221, 221, 216); box-sizing: border-box; color: rgba(0, 0, 0, 0.6); direction: ltr; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.6; margin: 0px; padding: 0.5625em 1.25em 0.5625em 1.125em; text-rendering: optimizelegibility;">Please note that this class is just a normal Java class, there is nothing special about it, except that it avoids direct object creation.</td></tr>
</tbody></table>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
A framework class, usually called the <i style="box-sizing: border-box; line-height: inherit;">dependency container</i>, could analyze the dependencies of this class. With this analysis it is able to create an instance of the class and inject the objects into the defined dependencies, via Java reflection.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
This way the Java class has no hard dependencies, which means it does not rely on an instance of a certain class. This allows you to testyour class in isolation, for example by using <i style="box-sizing: border-box; line-height: inherit;">mock</i> objects.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Mock objects (mocks) are objects which behave similar as the real object. But these mocks are not programmed; they are configured to behave in a certain predefined way. Mock is an English word which means to mimic or to imitate.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
If dependency injection is used, a Java class can be tested in isolation.</div>
</div>
</div>
<div class="sect2" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<h3 id="dependencyinjection_annotations" style="box-sizing: border-box; color: #ba3925; direction: ltr; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-size: 1.6875em; font-weight: 300; line-height: 1.2; margin: -50px 0px 0.5em; padding: 50px 0px 0px; text-rendering: optimizelegibility; word-spacing: -0.05em;">
<a class="link" href="https://www.vogella.com/tutorials/DependencyInjection/article.html#dependencyinjection_annotations" style="background: transparent; box-sizing: border-box; color: #28373c; font-weight: bold; line-height: inherit; overflow-wrap: break-word; text-decoration-line: none;">1.2. Using annotations to describe class dependencies</a></h3>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Different approaches exist to describe the dependencies of a class. The most common approach is to use Java annotations to describe the dependencies directly in the class.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
The standard Java annotations for describing the dependencies of a class are defined in the Java Specification Request 330 (JSR330). This specification describes the <code style="background-color: #f7f7f8; border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 0.9375em; letter-spacing: 0px; line-height: 1.45; overflow-wrap: break-word; padding: 0.1em 0.5ex; text-rendering: optimizespeed; word-spacing: -0.15em;">@Inject</code> and <code style="background-color: #f7f7f8; border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 0.9375em; letter-spacing: 0px; line-height: 1.45; overflow-wrap: break-word; padding: 0.1em 0.5ex; text-rendering: optimizespeed; word-spacing: -0.15em;">@Named</code> annotations.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
The following listing shows a class which uses annotations to describe its dependencies.</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="comment" style="box-sizing: border-box; color: #999988; font-style: italic;">// import statements left out</span>
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">class</span> <span class="class" style="box-sizing: border-box; color: #445588; font-weight: bold;">MyPart</span> {
<span class="annotation" style="box-sizing: border-box; color: #000077;">@Inject</span> <span class="directive" style="box-sizing: border-box; font-weight: bold;">private</span> <span class="predefined-type" style="box-sizing: border-box; color: inherit;">Logger</span> logger;
<span class="comment" style="box-sizing: border-box; color: #999988; font-style: italic;">// inject class for database access</span>
<span class="annotation" style="box-sizing: border-box; color: #000077;">@Inject</span> <span class="directive" style="box-sizing: border-box; font-weight: bold;">private</span> DatabaseAccessClass dao;
<span class="annotation" style="box-sizing: border-box; color: #000077;">@Inject</span>
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">void</span> createControls(<span class="predefined-type" style="box-sizing: border-box; color: inherit;">Composite</span> parent) {
logger.info(<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">UI will start to build</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>);
<span class="predefined-type" style="box-sizing: border-box; color: inherit;">Label</span> label = <span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">new</span> <span class="predefined-type" style="box-sizing: border-box; color: inherit;">Label</span>(parent, SWT.NONE);
label.setText(<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">Eclipse 4</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>);
Text text = <span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">new</span> Text(parent, SWT.NONE);
text.setText(dao.getNumber());
}
}</code></pre>
</div>
</div>
<div class="admonitionblock note" style="box-sizing: border-box; direction: ltr; margin: 0px; overflow-wrap: break-word; padding: 0px; word-break: break-word;">
<table style="background: none; border-spacing: 0px; border: 0px; box-sizing: border-box; margin-bottom: 1.25em; overflow-wrap: break-word; width: 970px; word-break: break-word;"><tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;"><td class="icon" style="box-sizing: border-box; color: rgba(0, 0, 0, 0.8); direction: ltr; font-size: inherit; line-height: 1.6; margin: 0px; padding: 0.5625em 0.625em; text-align: center; width: 80px;"><span class="fa icon-note" style="box-sizing: border-box; cursor: default; display: inline-block; font-family: "fontawesome"; font-size: 2.5em; font-stretch: normal; line-height: 1; text-shadow: rgba(0 , 0 , 0 , 0.5) 1px 1px 2px;" title="Note"></span></td><td class="content" style="border-left: 1px solid rgb(221, 221, 216); box-sizing: border-box; color: rgba(0, 0, 0, 0.6); direction: ltr; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.6; margin: 0px; padding: 0.5625em 1.25em 0.5625em 1.125em; text-rendering: optimizelegibility;">Please note that this class uses the <code style="background-color: #f7f7f8; border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 0.9375em; letter-spacing: 0px; line-height: 1.45; overflow-wrap: break-word; padding: 0.1em 0.5ex; text-rendering: optimizespeed; word-spacing: -0.15em;">new</code> operator for the user interface components. This implies that this part of the code is nothing you plan to replace via your tests. In this case you made the decision to have a hard coupling to the corresponding user interface toolkit.</td></tr>
</tbody></table>
</div>
</div>
<div class="sect2" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<h3 id="dependencyinjection_places" style="box-sizing: border-box; color: #ba3925; direction: ltr; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-size: 1.6875em; font-weight: 300; line-height: 1.2; margin: -50px 0px 0.5em; padding: 50px 0px 0px; text-rendering: optimizelegibility; word-spacing: -0.05em;">
<a class="link" href="https://www.vogella.com/tutorials/DependencyInjection/article.html#dependencyinjection_places" style="background: transparent; box-sizing: border-box; color: #28373c; font-weight: bold; line-height: inherit; overflow-wrap: break-word; text-decoration-line: none;">1.3. Where can objects be injected into a class according to JSR330?</a></h3>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Dependency injection can be performed on:</div>
</div>
<div class="ulist" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<ul style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1em; line-height: 1.6; list-style-position: outside; margin: 0px 0px 1.25em 1.5em; padding: 0px;">
<li style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;"><div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0.625em; padding: 0px; text-rendering: optimizelegibility;">
the constructor of the class (construction injection)</div>
</li>
<li style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;"><div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0.625em; padding: 0px; text-rendering: optimizelegibility;">
a field (field injection)</div>
</li>
<li style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;"><div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0.625em; padding: 0px; text-rendering: optimizelegibility;">
the parameters of a method (method injection)</div>
</li>
</ul>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
It is possible to use dependency injection on static and on non-static fields and methods. Avoiding dependency injection on static fields and methods is a good practice, as it has the following restrictions and can be hard to debug.</div>
</div>
<div class="ulist" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<ul style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1em; line-height: 1.6; list-style-position: outside; margin: 0px 0px 1.25em 1.5em; padding: 0px;">
<li style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;"><div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0.625em; padding: 0px; text-rendering: optimizelegibility;">
Static fields will be injected after the first object of the class was created via DI, which means no access to the static field in the constructor</div>
</li>
<li style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;"><div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0.625em; padding: 0px; text-rendering: optimizelegibility;">
Static fields can not be marked as final, otherwise the compiler or the application complains at runtime about them</div>
</li>
<li style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;"><div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0.625em; padding: 0px; text-rendering: optimizelegibility;">
Static methods are called only once after the first instance of the class was created</div>
</li>
</ul>
</div>
</div>
<div class="sect2" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<h3 id="dependencyinjection_order" style="box-sizing: border-box; color: #ba3925; direction: ltr; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-size: 1.6875em; font-weight: 300; line-height: 1.2; margin: -50px 0px 0.5em; padding: 50px 0px 0px; text-rendering: optimizelegibility; word-spacing: -0.05em;">
<a class="link" href="https://www.vogella.com/tutorials/DependencyInjection/article.html#dependencyinjection_order" style="background: transparent; box-sizing: border-box; color: #28373c; font-weight: bold; line-height: inherit; overflow-wrap: break-word; text-decoration-line: none;">1.4. Order in which dependency injection is performed on a class</a></h3>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
According to JSR330 the injection is done in the following order:</div>
</div>
<div class="ulist" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<ul style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1em; line-height: 1.6; list-style-position: outside; margin: 0px 0px 1.25em 1.5em; padding: 0px;">
<li style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;"><div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0.625em; padding: 0px; text-rendering: optimizelegibility;">
constructor injection</div>
</li>
<li style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;"><div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0.625em; padding: 0px; text-rendering: optimizelegibility;">
field injection</div>
</li>
<li style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;"><div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0.625em; padding: 0px; text-rendering: optimizelegibility;">
method injection</div>
</li>
</ul>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
The order in which the methods or fields annotated with <code style="background-color: #f7f7f8; border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 0.9375em; letter-spacing: 0px; line-height: 1.45; overflow-wrap: break-word; padding: 0.1em 0.5ex; text-rendering: optimizespeed; word-spacing: -0.15em;">@Inject</code> are called is not defined by JSR330. You cannot assume that the methods or fields are called in the order of their declaration in the class.</div>
</div>
<div class="admonitionblock note" style="box-sizing: border-box; direction: ltr; margin: 0px; overflow-wrap: break-word; padding: 0px; word-break: break-word;">
<table style="background: none; border-spacing: 0px; border: 0px; box-sizing: border-box; margin-bottom: 1.25em; overflow-wrap: break-word; width: 970px; word-break: break-word;"><tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;"><td class="icon" style="box-sizing: border-box; color: rgba(0, 0, 0, 0.8); direction: ltr; font-size: inherit; line-height: 1.6; margin: 0px; padding: 0.5625em 0.625em; text-align: center; width: 80px;"><span class="fa icon-note" style="box-sizing: border-box; cursor: default; display: inline-block; font-family: "fontawesome"; font-size: 2.5em; font-stretch: normal; line-height: 1; text-shadow: rgba(0 , 0 , 0 , 0.5) 1px 1px 2px;" title="Note"></span></td><td class="content" style="border-left: 1px solid rgb(221, 221, 216); box-sizing: border-box; color: rgba(0, 0, 0, 0.6); direction: ltr; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.6; margin: 0px; padding: 0.5625em 1.25em 0.5625em 1.125em; text-rendering: optimizelegibility;">As fields and method parameters are injected after the constructor is called, you cannot use injected member variables in the constructor.</td></tr>
</tbody></table>
</div>
</div>
</div>
</div>
<div class="sect1" style="background-color: white; border-top: 1px solid rgb(239, 239, 237); box-sizing: border-box; color: rgba(0, 0, 0, 0.8); direction: ltr; font-family: "Noto Serif", "DejaVu Serif", serif; font-size: 16px; margin: 0px; padding: 0px 0px 1.25em;">
<h2 id="java" style="box-sizing: border-box; color: #ba3925; direction: ltr; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-size: 2.3125em; font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; margin: -50px 0px 0.5em; padding: 50px 0px 0px; text-rendering: optimizelegibility; word-spacing: -0.05em;">
<a class="link" href="https://www.vogella.com/tutorials/DependencyInjection/article.html#java" style="background: transparent; box-sizing: border-box; color: #28373c; font-weight: bold; line-height: inherit; overflow-wrap: break-word; text-decoration-line: none;">2. Java and dependency injection frameworks</a></h2>
<div class="sectionbody" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
You can use dependency injection without any additional framework by providing classes with sufficient constructors or getter and setter methods.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
A dependency injection framework simplifies the initialization of the classes with the correct objects.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Two popular dependency injection frameworks are Spring and <a href="http://code.google.com/p/google-guice/" style="background: transparent; box-sizing: border-box; color: #2156a5; line-height: inherit; overflow-wrap: break-word;">Google Guice</a>.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
The usage of the Spring framework for dependency injection is described in <a href="https://www.vogella.com/tutorials/SpringDependencyInjection/article.html" style="background: transparent; box-sizing: border-box; color: #2156a5; line-height: inherit; overflow-wrap: break-word;">Dependency Injection with the Spring Framework - Tutorial</a>.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Also <a href="https://www.vogella.com/tutorials/EclipseE4/article.html" style="background: transparent; box-sizing: border-box; color: #2156a5; line-height: inherit; overflow-wrap: break-word;">Eclipse 4</a> is using dependency injection.</div>
<div class="sect1" style="border-top: 1px solid rgb(239, 239, 237); box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px 0px 1.25em;">
<h2 id="springoverview" style="box-sizing: border-box; color: #ba3925; direction: ltr; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-size: 2.3125em; font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; margin: -50px 0px 0.5em; padding: 50px 0px 0px; text-rendering: optimizelegibility; word-spacing: -0.05em;">
<a class="link" href="https://www.vogella.com/tutorials/SpringDependencyInjection/article.html#springoverview" style="background: transparent; box-sizing: border-box; color: #28373c; font-weight: bold; line-height: inherit; overflow-wrap: break-word; text-decoration-line: none;">2. Spring Overview</a></h2>
<div class="sectionbody" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
The Spring Framework is a very comprehensive framework. The fundamental functionality provided by the Spring Container is dependency injection. Spring provides a light-weight container, e.g. the Spring core container, for dependency injection (DI). This container lets you inject required objects into other objects. This results in a design in which the Java class are not hard-coupled. The injection in Spring is either done via setter injection of via construction injection. These classes which are managed by Spring must conform to the JavaBean standard. In the context of Spring classes are also referred to as beans or as Spring beans.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
The Spring core container:</div>
</div>
<div class="ulist" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<ul style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1em; line-height: 1.6; list-style-position: outside; margin: 0px 0px 1.25em 1.5em; padding: 0px;">
<li style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;"><div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0.625em; padding: 0px; text-rendering: optimizelegibility;">
handles the configuration, generally based on annotations or on an XML file (XMLBeanFactory)</div>
</li>
<li style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;"><div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0.625em; padding: 0px; text-rendering: optimizelegibility;">
manages the selected Java classes via the BeanFactory</div>
</li>
</ul>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
The core container uses the so-called bean factory to create new objects. New objects are generally created as Singletons if not specified differently.</div>
</div>
<div data-google-query-id="CKCojOSE3-ACFUOwZAodLmAG3Q" id="ad-inBetween01" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div id="google_ads_iframe_/6839/lqm.javaeclipseandroid.site/inbetween01_0__container__" style="border: 0pt none; box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<iframe data-google-container-id="3" data-load-complete="true" frameborder="0" height="90" id="google_ads_iframe_/6839/lqm.javaeclipseandroid.site/inbetween01_0" marginheight="0" marginwidth="0" name="google_ads_iframe_/6839/lqm.javaeclipseandroid.site/inbetween01_0" scrolling="no" style="border-style: initial; border-width: 0px; box-sizing: border-box; vertical-align: bottom;" title="3rd party ad content" width="728"></iframe></div>
</div>
</div>
</div>
<div class="sect1" style="border-top: 1px solid rgb(239, 239, 237); box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px 0px 1.25em;">
<h2 id="Installation" style="box-sizing: border-box; color: #ba3925; direction: ltr; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-size: 2.3125em; font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; margin: -50px 0px 0.5em; padding: 50px 0px 0px; text-rendering: optimizelegibility; word-spacing: -0.05em;">
<a class="link" href="https://www.vogella.com/tutorials/SpringDependencyInjection/article.html#Installation" style="background: transparent; box-sizing: border-box; color: #28373c; font-weight: bold; line-height: inherit; overflow-wrap: break-word; text-decoration-line: none;">3. Spring Installation</a></h2>
<div class="sectionbody" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Download Spring from <a class="bare" href="http://www.springframework.org/download" style="background: transparent; box-sizing: border-box; color: #2156a5; line-height: inherit; overflow-wrap: break-word;">http://www.springframework.org/download</a>. Select the -with-dependencies.zip to get also all required plugins. At the time of writing I downloaded the version Spring Framework 2.5.5.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
The folder "dist" contains the Spring container "spring.jar". The folder lib contains additional require libraries. A minimal Spring application requires the spring.jar, commons-logging.jar (from \lib\jakarta-commons) and log4j*.jar (from \lib\log4j).</div>
</div>
</div>
</div>
<div class="sect1" style="border-top: 1px solid rgb(239, 239, 237); box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px 0px 1.25em;">
<h2 id="datamodel" style="box-sizing: border-box; color: #ba3925; direction: ltr; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-size: 2.3125em; font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; margin: -50px 0px 0.5em; padding: 50px 0px 0px; text-rendering: optimizelegibility; word-spacing: -0.05em;">
<a class="link" href="https://www.vogella.com/tutorials/SpringDependencyInjection/article.html#datamodel" style="background: transparent; box-sizing: border-box; color: #28373c; font-weight: bold; line-height: inherit; overflow-wrap: break-word; text-decoration-line: none;">4. Datamodel</a></h2>
<div class="sectionbody" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
We will later use the following datamodel for the example.</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Create a Java project "de.vogella.spring.di.model" and create the following packages and classes.</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">package</span> <span class="namespace" style="box-sizing: border-box;">writer</span>;
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">interface</span> <span class="class" style="box-sizing: border-box; color: #445588; font-weight: bold;">IWriter</span> {
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">void</span> writer(<span class="predefined-type" style="box-sizing: border-box; color: inherit;">String</span> s);
}</code></pre>
</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">package</span> <span class="namespace" style="box-sizing: border-box;">writer</span>;
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">class</span> <span class="class" style="box-sizing: border-box; color: #445588; font-weight: bold;">Writer</span> <span class="directive" style="box-sizing: border-box; font-weight: bold;">implements</span> IWriter {
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">void</span> writer (<span class="predefined-type" style="box-sizing: border-box; color: inherit;">String</span> s){
<span class="predefined-type" style="box-sizing: border-box; color: inherit;">System</span>.out.println(s);
}
}</code></pre>
</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">package</span> <span class="namespace" style="box-sizing: border-box;">writer</span>;
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">class</span> <span class="class" style="box-sizing: border-box; color: #445588; font-weight: bold;">NiceWriter</span> <span class="directive" style="box-sizing: border-box; font-weight: bold;">implements</span> IWriter {
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">void</span> writer (<span class="predefined-type" style="box-sizing: border-box; color: inherit;">String</span> s){
<span class="predefined-type" style="box-sizing: border-box; color: inherit;">System</span>.out.println(<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">The string is </span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span> + s);
}
}</code></pre>
</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">package</span> <span class="namespace" style="box-sizing: border-box;">testbean</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">writer.IWriter</span>;
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">class</span> <span class="class" style="box-sizing: border-box; color: #445588; font-weight: bold;">MySpringBeanWithDependency</span> {
<span class="directive" style="box-sizing: border-box; font-weight: bold;">private</span> IWriter writer;
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">void</span> setWriter(IWriter writer) {
<span class="local-variable" style="box-sizing: border-box; color: #996633;">this</span>.writer = writer;
}
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">void</span> run() {
<span class="predefined-type" style="box-sizing: border-box; color: inherit;">String</span> s = <span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">This is my test</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>;
writer.writer(s);
}
}</code></pre>
</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
The class "MySpringBeanWithDependency.java" contains a setter for the actual writer. We will use the Spring Framework to inject the correct writer into this class.</div>
</div>
<div data-google-query-id="CKGojOSE3-ACFUOwZAodLmAG3Q" id="ad-inBetween02" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div id="google_ads_iframe_/6839/lqm.javaeclipseandroid.site/inbetween02_0__container__" style="border: 0pt none; box-sizing: border-box; direction: ltr; height: 90px; margin: 0px; padding: 0px; width: 728px;">
</div>
</div>
</div>
</div>
<div class="sect1" style="border-top: 1px solid rgb(239, 239, 237); box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px 0px 1.25em;">
<h2 id="usageannotations" style="box-sizing: border-box; color: #ba3925; direction: ltr; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-size: 2.3125em; font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; margin: -50px 0px 0.5em; padding: 50px 0px 0px; text-rendering: optimizelegibility; word-spacing: -0.05em;">
<a class="link" href="https://www.vogella.com/tutorials/SpringDependencyInjection/article.html#usageannotations" style="background: transparent; box-sizing: border-box; color: #28373c; font-weight: bold; line-height: inherit; overflow-wrap: break-word; text-decoration-line: none;">5. Using dependency injection with annotations</a></h2>
<div class="sectionbody" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
As of Spring 2.5 it is possible to configure the dependency injection via annotations. I recommend to use this way of configuring your Spring beans. The next chapter will also describe the way to configure this via XML. Create a new Java project "de.vogella.spring.di.annotations.first" and include the minimal required spring jars into your classpath. Copy your model class from the de.vogella.spring.di.model project into this project. You need now to add annotations to your model to tell Spring which beans should be managed by Spring and how they should be connected. Add the @Service annotation the MySpringBeanWithDependency.java and NiceWriter.java. Also define with @Autowired on the setWriter method that the property "writer" will be autowired by Spring.</div>
</div>
<div class="admonitionblock tip" style="box-sizing: border-box; direction: ltr; margin: 0px; overflow-wrap: break-word; padding: 0px; word-break: break-word;">
<table style="background: none; border-spacing: 0px; border: 0px; box-sizing: border-box; margin-bottom: 1.25em; overflow-wrap: break-word; width: 970px; word-break: break-word;"><tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;"><td class="icon" style="box-sizing: border-box; color: rgba(0, 0, 0, 0.8); direction: ltr; font-size: inherit; line-height: 1.6; margin: 0px; padding: 0.5625em 0.625em; text-align: center; width: 80px;"><span class="fa icon-tip" style="box-sizing: border-box; cursor: default; display: inline-block; font-family: "fontawesome"; font-size: 2.5em; font-stretch: normal; line-height: 1; text-shadow: rgba(0 , 0 , 0 , 0.5) 1px 1px 2px;" title="Tip"></span></td><td class="content" style="border-left: 1px solid rgb(221, 221, 216); box-sizing: border-box; color: rgba(0, 0, 0, 0.6); direction: ltr; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.6; margin: 0px; padding: 0.5625em 1.25em 0.5625em 1.125em; text-rendering: optimizelegibility;">@Autowired will tell Spring to search for a Spring bean which implements the required interface and place it automatically into the setter.</td></tr>
</tbody></table>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">package</span> <span class="namespace" style="box-sizing: border-box;">testbean</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">org.springframework.beans.factory.annotation.Autowired</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">org.springframework.stereotype.Service</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">writer.IWriter</span>;
<span class="annotation" style="box-sizing: border-box; color: #000077;">@Service</span>
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">class</span> <span class="class" style="box-sizing: border-box; color: #445588; font-weight: bold;">MySpringBeanWithDependency</span> {
<span class="directive" style="box-sizing: border-box; font-weight: bold;">private</span> IWriter writer;
<span class="annotation" style="box-sizing: border-box; color: #000077;">@Autowired</span>
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">void</span> setWriter(IWriter writer) {
<span class="local-variable" style="box-sizing: border-box; color: #996633;">this</span>.writer = writer;
}
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">void</span> run() {
<span class="predefined-type" style="box-sizing: border-box; color: inherit;">String</span> s = <span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">This is my test</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>;
writer.writer(s);
}
}</code></pre>
</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">package</span> <span class="namespace" style="box-sizing: border-box;">writer</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">org.springframework.stereotype.Service</span>;
<span class="annotation" style="box-sizing: border-box; color: #000077;">@Service</span>
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">class</span> <span class="class" style="box-sizing: border-box; color: #445588; font-weight: bold;">NiceWriter</span> <span class="directive" style="box-sizing: border-box; font-weight: bold;">implements</span> IWriter {
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">void</span> writer(<span class="predefined-type" style="box-sizing: border-box; color: inherit;">String</span> s) {
<span class="predefined-type" style="box-sizing: border-box; color: inherit;">System</span>.out.println(<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">The string is </span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span> + s);
}
}</code></pre>
</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Under the src folder create a folder META-INF and create the following file in this folder. This is the Spring configuration file.</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="xml" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="tag" style="box-sizing: border-box; color: teal;"><beans</span> <span class="attribute-name" style="box-sizing: border-box; color: navy;">xmlns</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/beans</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>
<span class="attribute-name" style="box-sizing: border-box; color: navy;">xmlns:xsi</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.w3.org/2001/XMLSchema-instance</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>
<span class="attribute-name" style="box-sizing: border-box; color: navy;">xmlns:aop</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/aop</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>
<span class="attribute-name" style="box-sizing: border-box; color: navy;">xmlns:context</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/context</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>
<span class="attribute-name" style="box-sizing: border-box; color: navy;">xsi:schemaLocation</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/beans</span>
<span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/beans/spring-beans-2.5.xsd</span>
<span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/aop</span>
<span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/aop/spring-aop-2.5.xsd</span>
<span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/context</span>
<span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/context/spring-context-2.5.xsd</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span><span class="tag" style="box-sizing: border-box; color: teal;">></span>
<span class="tag" style="box-sizing: border-box; color: teal;"><context:component-scan</span> <span class="attribute-name" style="box-sizing: border-box; color: navy;">base-package</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">testbean</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span> <span class="tag" style="box-sizing: border-box; color: teal;">/></span>
<span class="tag" style="box-sizing: border-box; color: teal;"><context:component-scan</span> <span class="attribute-name" style="box-sizing: border-box; color: navy;">base-package</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">writer</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span> <span class="tag" style="box-sizing: border-box; color: teal;">/></span>
<span class="tag" style="box-sizing: border-box; color: teal;"></beans></span></code></pre>
</div>
</div>
<div class="admonitionblock tip" style="box-sizing: border-box; direction: ltr; margin: 0px; overflow-wrap: break-word; padding: 0px; word-break: break-word;">
<table style="background: none; border-spacing: 0px; border: 0px; box-sizing: border-box; margin-bottom: 1.25em; overflow-wrap: break-word; width: 970px; word-break: break-word;"><tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;"><td class="icon" style="box-sizing: border-box; color: rgba(0, 0, 0, 0.8); direction: ltr; font-size: inherit; line-height: 1.6; margin: 0px; padding: 0.5625em 0.625em; text-align: center; width: 80px;"><span class="fa icon-tip" style="box-sizing: border-box; cursor: default; display: inline-block; font-family: "fontawesome"; font-size: 2.5em; font-stretch: normal; line-height: 1; text-shadow: rgba(0 , 0 , 0 , 0.5) 1px 1px 2px;" title="Tip"></span></td><td class="content" style="border-left: 1px solid rgb(221, 221, 216); box-sizing: border-box; color: rgba(0, 0, 0, 0.6); direction: ltr; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.6; margin: 0px; padding: 0.5625em 1.25em 0.5625em 1.125em; text-rendering: optimizelegibility;"><div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
You can also configure the log4j logger (this is optional) by copying the following file into the source folder.</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;">log4j.rootLogger=FATAL, first
log4j.appender.first=org.apache.log4j.ConsoleAppender
log4j.appender.first.layout=org.apache.log4j.PatternLayout
log4j.appender.first.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n</code></pre>
</div>
</div>
</td></tr>
</tbody></table>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Afer this setup you can wire the application together. Create a main class which reads the configuration file and starts the application.</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">package</span> <span class="namespace" style="box-sizing: border-box;">main</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">org.springframework.beans.factory.BeanFactory</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">org.springframework.context.ApplicationContext</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">org.springframework.context.support.ClassPathXmlApplicationContext</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">testbean.MySpringBeanWithDependency</span>;
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">class</span> <span class="class" style="box-sizing: border-box; color: #445588; font-weight: bold;">Main</span> {
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="directive" style="box-sizing: border-box; font-weight: bold;">static</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">void</span> main(<span class="predefined-type" style="box-sizing: border-box; color: inherit;">String</span><span class="type" style="box-sizing: border-box; font-weight: bold;">[]</span> args) {
ApplicationContext context = <span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">new</span> ClassPathXmlApplicationContext(
<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">META-INF/beans.xml</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>);
BeanFactory factory = context;
MySpringBeanWithDependency test = (MySpringBeanWithDependency) factory
.getBean(<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">mySpringBeanWithDependency</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>);
test.run();
}
}</code></pre>
</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
If you run the application then the class for the IWriterInterface will be inserted into the Test class. By applying the dependency injecting I can later replace this writer with a more sophisticated writer. As a result the class Test does not depend on the concrete Writer class, is extensible and can be easily tested.</div>
</div>
</div>
</div>
<div class="sect1" style="border-top: 1px solid rgb(239, 239, 237); box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px 0px 1.25em;">
<h2 id="usagexml" style="box-sizing: border-box; color: #ba3925; direction: ltr; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-size: 2.3125em; font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; margin: -50px 0px 0.5em; padding: 50px 0px 0px; text-rendering: optimizelegibility; word-spacing: -0.05em;">
<a class="link" href="https://www.vogella.com/tutorials/SpringDependencyInjection/article.html#usagexml" style="background: transparent; box-sizing: border-box; color: #28373c; font-weight: bold; line-height: inherit; overflow-wrap: break-word; text-decoration-line: none;">6. Using dependency injection with XML</a></h2>
<div class="sectionbody" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
The following example will demonstrate the usage of the dependency injection via xml. The example will inject a writer into another class.</div>
</div>
<div class="admonitionblock tip" style="box-sizing: border-box; direction: ltr; margin: 0px; overflow-wrap: break-word; padding: 0px; word-break: break-word;">
<table style="background: none; border-spacing: 0px; border: 0px; box-sizing: border-box; margin-bottom: 1.25em; overflow-wrap: break-word; width: 970px; word-break: break-word;"><tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;"><td class="icon" style="box-sizing: border-box; color: rgba(0, 0, 0, 0.8); direction: ltr; font-size: inherit; line-height: 1.6; margin: 0px; padding: 0.5625em 0.625em; text-align: center; width: 80px;"><span class="fa icon-tip" style="box-sizing: border-box; cursor: default; display: inline-block; font-family: "fontawesome"; font-size: 2.5em; font-stretch: normal; line-height: 1; text-shadow: rgba(0 , 0 , 0 , 0.5) 1px 1px 2px;" title="Tip"></span></td><td class="content" style="border-left: 1px solid rgb(221, 221, 216); box-sizing: border-box; color: rgba(0, 0, 0, 0.6); direction: ltr; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.6; margin: 0px; padding: 0.5625em 1.25em 0.5625em 1.125em; text-rendering: optimizelegibility;">I think annotations rock in general, therefore I recommend not to use the XML configuration but the annotation one. If you have good reason to use the XML configuration please feel free to do so.</td></tr>
</tbody></table>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Create a new Java project "de.vogella.spring.di.xml.first" and include the minimal required spring jars into your classpath. Copy your model class from the de.vogella.spring.di.model project into this project. Under the src folder create a folder META-INF and create the following file in this folder. This is the Spring configuration file.</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="xml" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="tag" style="box-sizing: border-box; color: teal;"><beans</span> <span class="attribute-name" style="box-sizing: border-box; color: navy;">xmlns</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/beans</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>
<span class="attribute-name" style="box-sizing: border-box; color: navy;">xmlns:xsi</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.w3.org/2001/XMLSchema-instance</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>
<span class="attribute-name" style="box-sizing: border-box; color: navy;">xmlns:aop</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/aop</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>
<span class="attribute-name" style="box-sizing: border-box; color: navy;">xmlns:context</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/context</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>
<span class="attribute-name" style="box-sizing: border-box; color: navy;">xsi:schemaLocation</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/beans</span>
<span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/beans/spring-beans-2.5.xsd</span>
<span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/aop</span>
<span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/aop/spring-aop-2.5.xsd</span>
<span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/context</span>
<span class="content" style="box-sizing: border-box; color: #dd1144;">http://www.springframework.org/schema/context/spring-context-2.5.xsd</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span><span class="tag" style="box-sizing: border-box; color: teal;">></span>
<span class="tag" style="box-sizing: border-box; color: teal;"><bean</span> <span class="attribute-name" style="box-sizing: border-box; color: navy;">id</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">writer</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span> <span class="attribute-name" style="box-sizing: border-box; color: navy;">class</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">writer.NiceWriter</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span> <span class="tag" style="box-sizing: border-box; color: teal;">/></span>
<span class="tag" style="box-sizing: border-box; color: teal;"><bean</span> <span class="attribute-name" style="box-sizing: border-box; color: navy;">id</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">mySpringBeanWithDependency</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span> <span class="attribute-name" style="box-sizing: border-box; color: navy;">class</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">testbean.MySpringBeanWithDependency</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span><span class="tag" style="box-sizing: border-box; color: teal;">></span>
<span class="tag" style="box-sizing: border-box; color: teal;"><property</span> <span class="attribute-name" style="box-sizing: border-box; color: navy;">name</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">writer</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span> <span class="attribute-name" style="box-sizing: border-box; color: navy;">ref</span>=<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">writer</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span> <span class="tag" style="box-sizing: border-box; color: teal;">/></span>
<span class="tag" style="box-sizing: border-box; color: teal;"></bean></span>
<span class="tag" style="box-sizing: border-box; color: teal;"></beans></span></code></pre>
</div>
</div>
<div class="paragraph" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px;">
<div style="box-sizing: border-box; direction: ltr; font-family: inherit; font-size: 1.0625rem; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 1.25rem; padding: 0px; text-rendering: optimizelegibility;">
Again, you can now wire the application together. Create a main class which reads the configuration file and starts the application.</div>
</div>
<div class="listingblock" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1.25em; padding: 0px;">
<div class="content" style="box-sizing: border-box; direction: ltr; margin: 0px; padding: 0px; position: relative;">
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">package</span> <span class="namespace" style="box-sizing: border-box;">main</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">org.springframework.beans.factory.BeanFactory</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">org.springframework.context.ApplicationContext</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">org.springframework.context.support.ClassPathXmlApplicationContext</span>;
<span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">import</span> <span class="include" style="box-sizing: border-box; color: #555555;">testbean.MySpringBeanWithDependency</span>;
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">class</span> <span class="class" style="box-sizing: border-box; color: #445588; font-weight: bold;">Main</span> {
<span class="directive" style="box-sizing: border-box; font-weight: bold;">public</span> <span class="directive" style="box-sizing: border-box; font-weight: bold;">static</span> <span class="type" style="box-sizing: border-box; font-weight: bold;">void</span> main(<span class="predefined-type" style="box-sizing: border-box; color: inherit;">String</span><span class="type" style="box-sizing: border-box; font-weight: bold;">[]</span> args) {
ApplicationContext context = <span class="keyword" style="box-sizing: border-box; color: black; font-weight: bold;">new</span> ClassPathXmlApplicationContext(
<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">META-INF/beans.xml</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>);
BeanFactory factory = context;
MySpringBeanWithDependency test = (MySpringBeanWithDependency) factory
.getBean(<span class="string" style="box-sizing: border-box; color: #dd2200;"><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span><span class="content" style="box-sizing: border-box; color: #dd1144;">mySpringBeanWithDependency</span><span class="delimiter" style="box-sizing: border-box; color: #dd1144;">"</span></span>);
test.run();
}
}</code></pre>
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;">
</code></pre>
<pre class="CodeRay highlight" style="background: rgb(247, 247, 248); border-radius: 4px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); direction: ltr; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; padding: 1em; text-rendering: optimizespeed; white-space: pre-wrap;"><code data-lang="java" style="box-sizing: border-box; font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-size: 1em; line-height: 1.45; overflow-wrap: break-word; text-rendering: optimizespeed;"><h3 style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 24px; line-height: 1.1; margin-bottom: 1.3em; margin-top: 2.1em; white-space: normal;">
<span style="box-sizing: border-box;">3.1. <i style="box-sizing: border-box;">@Autowired</i> on Properties</span></h3>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 18px; line-height: 1.334; margin-bottom: 10px; white-space: normal;">
The annotation can be used directly on properties, therefore eliminating the need for getters and setters:</div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 18px; white-space: normal;">
<div class="syntaxhighlighter notranslate java" id="highlighter_404233" style="box-sizing: border-box; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-size: 14px !important; line-height: 1.43 !important; margin: 25px 0px !important; overflow: auto hidden !important; padding: 1px !important; position: relative !important; width: 759.427px;">
<table border="0" cellpadding="0" cellspacing="0" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 14px !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 757.333px;"><tbody style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
1</div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
2</div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
3</div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
4</div>
<div class="line number5 index4 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
5</div>
<div class="line number6 index5 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
6</div>
<div class="line number7 index6 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
7</div>
</td><td class="code" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 724.667px;"><div class="container" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; max-width: 1520px; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java color1" style="background: 0px 0px; border-radius: 0px; border: 0px; bottom: auto; box-sizing: content-box; color: grey; float: none; font-family: "source code pro" , "consolas" , "bitstream vera sans mono" , "courier new" , "courier" , monospace "important"; height: auto; left: auto; line-height: 1.43; margin: 0px; min-height: auto; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto;">@Component</code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(</code><code class="java string" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"fooFormatter"</code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">)</code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">class</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">FooFormatter {</code></div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">String format() {</code></div>
<div class="line number5 index4 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">return</code> <code class="java string" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"foo"</code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">;</code></div>
<div class="line number6 index5 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
<div class="line number7 index6 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 18px; white-space: normal;">
<div class="syntaxhighlighter notranslate java" id="highlighter_863255" style="box-sizing: border-box; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-size: 14px !important; line-height: 1.43 !important; margin: 25px 0px !important; overflow: auto hidden !important; padding: 1px !important; position: relative !important; width: 759.427px;">
<table border="0" cellpadding="0" cellspacing="0" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 14px !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 757.333px;"><tbody style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
1</div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
2</div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
3</div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
4</div>
<div class="line number5 index4 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
5</div>
<div class="line number6 index5 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
6</div>
<div class="line number7 index6 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
7</div>
</td><td class="code" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 724.667px;"><div class="container" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; max-width: 1520px; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java color1" style="background: 0px 0px; border-radius: 0px; border: 0px; bottom: auto; box-sizing: content-box; color: grey; float: none; font-family: "source code pro" , "consolas" , "bitstream vera sans mono" , "courier new" , "courier" , monospace "important"; height: auto; left: auto; line-height: 1.43; margin: 0px; min-height: auto; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto;">@Component</code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">class</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">FooService {</code></div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code> </div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java color1" style="background: 0px 0px; border-radius: 0px; border: 0px; bottom: auto; box-sizing: content-box; color: grey; float: none; font-family: "source code pro" , "consolas" , "bitstream vera sans mono" , "courier new" , "courier" , monospace "important"; height: auto; left: auto; line-height: 1.43; margin: 0px; min-height: auto; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto;">@Autowired</code></div>
<div class="line number5 index4 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">private</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">FooFormatter fooFormatter;</code></div>
<div class="line number6 index5 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number7 index6 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div class="brush: java; gutter: true" style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 18px; line-height: 1.334; margin-bottom: 10px; white-space: normal;">
In the above example, Spring looks for and injects <i style="box-sizing: border-box;">fooFormatter</i> when <i style="box-sizing: border-box;">FooService</i> is created.</div>
<h3 style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 24px; line-height: 1.1; margin-bottom: 1.3em; margin-top: 2.1em; white-space: normal;">
<span style="box-sizing: border-box;">3.2. <i style="box-sizing: border-box;">@Autowired</i> on Setters</span></h3>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 18px; line-height: 1.334; margin-bottom: 10px; white-space: normal;">
The<i style="box-sizing: border-box;"> @Autowired</i> annotation can be used on setter methods. In the below example, when the annotation is used on the setter method, the setter method is called with the instance of <i style="box-sizing: border-box;">FooFormatter </i>when <i style="box-sizing: border-box;">FooService</i> is created:</div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 18px; white-space: normal;">
<div class="syntaxhighlighter notranslate java" id="highlighter_715590" style="box-sizing: border-box; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-size: 14px !important; line-height: 1.43 !important; margin: 25px 0px !important; overflow: auto hidden !important; padding: 1px !important; position: relative !important; width: 759.427px;">
<table border="0" cellpadding="0" cellspacing="0" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 14px !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 757.333px;"><tbody style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
1</div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
2</div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
3</div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
4</div>
<div class="line number5 index4 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
5</div>
<div class="line number6 index5 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
6</div>
<div class="line number7 index6 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
7</div>
<div class="line number8 index7 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
8</div>
<div class="line number9 index8 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
9</div>
</td><td class="code" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 724.667px;"><div class="container" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; max-width: 1520px; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">class</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">FooService {</code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">private</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">FooFormatter fooFormatter;</code></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number5 index4 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java color1" style="background: 0px 0px; border-radius: 0px; border: 0px; bottom: auto; box-sizing: content-box; color: grey; float: none; font-family: "source code pro" , "consolas" , "bitstream vera sans mono" , "courier new" , "courier" , monospace "important"; height: auto; left: auto; line-height: 1.43; margin: 0px; min-height: auto; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto;">@Autowired</code></div>
<div class="line number6 index5 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">void</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">setFooFormatter(FooFormatter fooFormatter) {</code></div>
<div class="line number7 index6 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">this</code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.fooFormatter = fooFormatter;</code></div>
<div class="line number8 index7 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
<div class="line number9 index8 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<h3 style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 24px; line-height: 1.1; margin-bottom: 1.3em; margin-top: 2.1em; white-space: normal;">
<span style="box-sizing: border-box;">3.3. <i style="box-sizing: border-box;">@Autowired</i> on Constructors</span></h3>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 18px; line-height: 1.334; margin-bottom: 10px; white-space: normal;">
The<i style="box-sizing: border-box;"> @Autowired</i> annotation can also be used on constructors. In the below example, when the annotation is used on a constructor, an instance of <i style="box-sizing: border-box;">FooFormatter</i> is injected as an argument to the constructor when <i style="box-sizing: border-box;">FooService</i> is created:</div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 18px; white-space: normal;">
<div class="syntaxhighlighter notranslate java" id="highlighter_895341" style="box-sizing: border-box; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-size: 14px !important; line-height: 1.43 !important; margin: 25px 0px !important; overflow: auto hidden !important; padding: 1px !important; position: relative !important; width: 759.427px;">
<table border="0" cellpadding="0" cellspacing="0" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 14px !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 757.333px;"><tbody style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
1</div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
2</div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
3</div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
4</div>
<div class="line number5 index4 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
5</div>
<div class="line number6 index5 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
6</div>
<div class="line number7 index6 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
7</div>
<div class="line number8 index7 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
8</div>
<div class="line number9 index8 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
9</div>
</td><td class="code" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 724.667px;"><div class="container" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; max-width: 1520px; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">class</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">FooService {</code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">private</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">FooFormatter fooFormatter;</code></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number5 index4 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java color1" style="background: 0px 0px; border-radius: 0px; border: 0px; bottom: auto; box-sizing: content-box; color: grey; float: none; font-family: "source code pro" , "consolas" , "bitstream vera sans mono" , "courier new" , "courier" , monospace "important"; height: auto; left: auto; line-height: 1.43; margin: 0px; min-height: auto; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto;">@Autowired</code></div>
<div class="line number6 index5 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">FooService(FooFormatter fooFormatter) {</code></div>
<div class="line number7 index6 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">this</code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.fooFormatter = fooFormatter;</code></div>
<div class="line number8 index7 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
<div class="line number9 index8 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
</code></pre>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com37tag:blogger.com,1999:blog-345010455501069031.post-84365393908566453532019-04-20T14:00:00.001-07:002019-04-20T14:09:42.229-07:00Linkedlist Java<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="background: rgb(238, 238, 238); text-align: left;">
Key facts about Linkedlist<br />
<span style="font-family: "symbol";"><span style="mso-list: Ignore;">·<span style="font-family: "times new roman"; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span><span style="font-family: "open sans" , sans-serif; text-indent: -0.25in;">LinkedList
can have duplicate and null values.</span><span style="font-family: "symbol";"><span style="mso-list: Ignore;">·<span style="font-family: "times new roman"; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span><span style="font-family: "open sans" , sans-serif;">The
LinkedList class implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Queue.html" style="box-sizing: border-box; overflow-wrap: break-word;"><code style="border-radius: 3px; box-sizing: border-box; overflow-wrap: break-word;"><span style="background: rgb(246 , 248 , 250); border: 1pt solid rgb(246 , 248 , 250); color: #419be8; padding: 1pt; text-decoration: none;">Queue</span></code></a> and <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Deque.html" style="box-sizing: border-box; overflow-wrap: break-word;"><code style="border-radius: 3px; box-sizing: border-box; overflow-wrap: break-word;"><span style="background: rgb(246 , 248 , 250); border: 1pt solid rgb(246 , 248 , 250); color: #419be8; padding: 1pt; text-decoration: none;">Deque</span></code></a> interfaces. Therefore, It can
also be used as a </span><code style="border-radius: 3px; box-sizing: border-box; overflow-wrap: break-word;"><span style="background: rgb(246, 248, 250); border: 1pt solid rgb(246, 248, 250); padding: 1pt;">Queue</span></code><span style="font-family: "open sans" , sans-serif;">, </span><code style="border-radius: 3px; box-sizing: border-box; overflow-wrap: break-word;"><span style="background: rgb(246, 248, 250); border: 1pt solid rgb(246, 248, 250); padding: 1pt;">Deque</span></code><span style="font-family: "open sans" , sans-serif;"> or </span><code style="border-radius: 3px; box-sizing: border-box; overflow-wrap: break-word;"><span style="background: rgb(246, 248, 250); border: 1pt solid rgb(246, 248, 250); padding: 1pt;">Stack</span></code><span style="font-family: "open sans" , sans-serif;">.<br /><o:p></o:p></span><span style="font-family: "symbol";"><span style="mso-list: Ignore;">·<span style="font-family: "times new roman"; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span><span style="font-family: "open sans" , sans-serif;">Java
LinkedList is not thread-safe. You must explicitly synchronize concurrent
modifications to the LinkedList in a multi-threaded environment.</span><span style="font-family: "symbol";">·</span><span style="font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span><span style="font-family: "open sans" , sans-serif; text-indent: -0.25in;">Java LinkedList maintains the insertion order of the elements.</span></div>
<div style="background: rgb(238, 238, 238); text-align: left;">
<span style="font-family: "open sans" , sans-serif; text-indent: -0.25in;"><br /></span><span style="font-family: "open sans" , sans-serif; text-indent: -0.25in;"><b><i>Linkedlist Example:</i></b></span><span class="kwd"><span style="color: darkblue; font-family: "consolas";">import</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> java</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">util</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.*;</span></span></span></div>
<div style="text-align: left;">
</div>
<pre style="background: #EEEEEE;"><span class="kwd"><span style="color: darkblue; font-family: "consolas";">public</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="kwd"></span><span style="color: darkblue; font-family: "consolas";"><span style="box-sizing: border-box;">class</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="typ"></span><span style="color: #2b91af; font-family: "consolas";"><span style="box-sizing: border-box;">LinkedListExample</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="pun"></span><span style="font-family: "consolas";"><span style="box-sizing: border-box;">{</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="kwd"></span><span style="color: darkblue; font-family: "consolas";"><span style="box-sizing: border-box;">public</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="kwd"></span><span style="color: darkblue; font-family: "consolas";"><span style="box-sizing: border-box;">static</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="kwd"></span><span style="color: darkblue; font-family: "consolas";"><span style="box-sizing: border-box;">void</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> main</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="typ"><span style="color: #2b91af; font-family: "consolas";">String</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> args</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">[])</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="pun"></span><span style="font-family: "consolas";"><span style="box-sizing: border-box;">{</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="com"></span><span style="color: grey; font-family: "consolas";"><span style="box-sizing: border-box;">/* Linked List Declaration */</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="typ"></span><span style="color: #2b91af; font-family: "consolas";"><span style="box-sizing: border-box;">LinkedList</span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";"><</span></span></span><span style="box-sizing: border-box;"><span class="typ"><span style="color: #2b91af; font-family: "consolas";">String</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">></span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> testlist </span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">=</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="kwd"></span><span style="color: darkblue; font-family: "consolas";"><span style="box-sizing: border-box;">new</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="typ"></span><span style="color: #2b91af; font-family: "consolas";"><span style="box-sizing: border-box;">LinkedList</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";"><</span></span></span><span style="box-sizing: border-box;"><span class="typ"><span style="color: #2b91af; font-family: "consolas";">String</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">>();</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="com"></span><span style="color: grey; font-family: "consolas";"><span style="box-sizing: border-box;">/*add(String Element) is used for adding <o:p></o:p></span></span></pre>
<pre style="background: #EEEEEE;"><span class="com"><span style="color: grey; font-family: "consolas";"> * the elements to the linked list*/</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">add</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"Item1"</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">add</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"Item5"</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">add</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"Item3"</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">add</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"Item6"</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">add</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"Item2"</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="com"></span><span style="color: grey; font-family: "consolas";"><span style="box-sizing: border-box;">/*Display Linked List Content*/</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="typ"></span><span style="color: #2b91af; font-family: "consolas";"><span style="box-sizing: border-box;">System</span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="kwd"><span style="color: darkblue; font-family: "consolas";">out</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">println</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"Linked List Content: "</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="pun"></span><span style="font-family: "consolas";"><span style="box-sizing: border-box;">+</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="com"></span><span style="color: grey; font-family: "consolas";"><span style="box-sizing: border-box;">/*Add First and Last Element*/</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">addFirst</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"First Item"</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">addLast</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"Last Item"</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="typ"></span><span style="color: #2b91af; font-family: "consolas";"><span style="box-sizing: border-box;">System</span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="kwd"><span style="color: darkblue; font-family: "consolas";">out</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">println</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"LinkedList Content after addition: "</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="pun"></span><span style="font-family: "consolas";"><span style="box-sizing: border-box;">+</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="com"></span><span style="color: grey; font-family: "consolas";"><span style="box-sizing: border-box;">/*This is how to get and set Values*/</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="typ"></span><span style="color: #2b91af; font-family: "consolas";"><span style="box-sizing: border-box;">Object</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> firstvar </span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">=</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="kwd"><span style="color: darkblue; font-family: "consolas";">get</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="lit"><span style="color: maroon; font-family: "consolas";">0</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="typ"></span><span style="color: #2b91af; font-family: "consolas";"><span style="box-sizing: border-box;">System</span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="kwd"><span style="color: darkblue; font-family: "consolas";">out</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">println</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"First element: "</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="pun"></span><span style="font-family: "consolas";"><span style="box-sizing: border-box;">+</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">firstvar</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="kwd"><span style="color: darkblue; font-family: "consolas";">set</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="lit"><span style="color: maroon; font-family: "consolas";">0</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">,</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="str"></span><span style="color: maroon; font-family: "consolas";"><span style="box-sizing: border-box;">"Changed first item"</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="typ"></span><span style="color: #2b91af; font-family: "consolas";"><span style="box-sizing: border-box;">Object</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> firstvar2 </span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">=</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="kwd"><span style="color: darkblue; font-family: "consolas";">get</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="lit"><span style="color: maroon; font-family: "consolas";">0</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="typ"></span><span style="color: #2b91af; font-family: "consolas";"><span style="box-sizing: border-box;">System</span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="kwd"><span style="color: darkblue; font-family: "consolas";">out</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">println</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"First element after update by set method: "</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="pun"></span><span style="font-family: "consolas";"><span style="box-sizing: border-box;">+</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">firstvar2</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="com"></span><span style="color: grey; font-family: "consolas";"><span style="box-sizing: border-box;">/*Remove first and last element*/</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">removeFirst</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">();</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">removeLast</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">();</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="typ"></span><span style="color: #2b91af; font-family: "consolas";"><span style="box-sizing: border-box;">System</span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="kwd"><span style="color: darkblue; font-family: "consolas";">out</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">println</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"LinkedList after deletion of first and last element: "</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="pun"></span><span style="font-family: "consolas";"><span style="box-sizing: border-box;">+</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="com"></span><span style="color: grey; font-family: "consolas";"><span style="box-sizing: border-box;">/* Add to a Position and remove from a position*/</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">add</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="lit"><span style="color: maroon; font-family: "consolas";">0</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">,</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="str"></span><span style="color: maroon; font-family: "consolas";"><span style="box-sizing: border-box;">"Newly added item"</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">.</span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">remove</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="lit"><span style="color: maroon; font-family: "consolas";">2</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"><o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="typ"></span><span style="color: #2b91af; font-family: "consolas";"><span style="box-sizing: border-box;">System</span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="kwd"><span style="color: darkblue; font-family: "consolas";">out</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">.</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";">println</span></span></span><span style="box-sizing: border-box;"><span class="pun"><span style="font-family: "consolas";">(</span></span></span><span style="box-sizing: border-box;"><span class="str"><span style="color: maroon; font-family: "consolas";">"Final Content: "</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="pun"></span><span style="font-family: "consolas";"><span style="box-sizing: border-box;">+</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> testlist</span></span><span class="pun"><span style="font-family: "consolas";">);</span></span></span><span style="box-sizing: border-box;"><span class="pln"><span style="font-family: "consolas";"> <o:p></o:p></span></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> <o:p></o:p></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pln"><span style="font-family: "consolas";"> </span></span><span class="com"><span style="color: grey; font-family: "consolas";">/* Access specific element in the Linkedlist*/</span><o:p></o:p></span><span style="box-sizing: border-box;"></span></pre>
<pre style="background: #EEEEEE;"><span class="com"><span style="color: grey; font-family: "consolas";"> </span></span><span class="pln"><span style="font-family: "consolas";">testlist</span></span><span class="pun"><span style="font-family: "consolas";">.indexOf(“Newly added item”);<o:p></o:p></span></span></pre>
<pre style="background: #EEEEEE;"><span class="pun">
<div style="background: #F6F8FA; border: solid #F6F8FA 1.0pt; mso-border-alt: solid #F6F8FA .75pt; mso-element: para-border-div; padding: .25in 15.0pt .25in 15.0pt;">
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; margin-bottom: 11.25pt; padding: 0in;"><span class="pun"><span style="font-family: "consolas";"> </span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"> /*Iterator for Linkedlist*/<o:p></o:p></span></code></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; margin-bottom: 11.25pt; padding: 0in;"><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"> Iterator</span><span style="box-sizing: border-box;"></span></code><span class="token"><span style="border: none 1.0pt; color: #a67f59; padding: 0in;"><</span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;">String</span><span style="box-sizing: border-box;"></span></code><span class="token"><span style="border: none 1.0pt; color: #a67f59; padding: 0in;">></span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"> </span></code><span class="pln"><span style="font-family: "consolas";">testlistIterator </span></span><span class="token"><span style="border: none 1.0pt; color: #a67f59; padding: 0in;">=</span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"> </span></code><span class="pln"><span style="font-family: "consolas";">testlist</span></span><span class="token"><span style="border: none 1.0pt; color: #999999; padding: 0in;">.</span></span><span style="border: none 1.0pt; color: #dd4a68; padding: 0in;"><span style="box-sizing: border-box;">iterator</span></span><span style="border: none 1.0pt; color: #999999; padding: 0in;"><span style="box-sizing: border-box;">(</span><span style="box-sizing: border-box;">)</span><span style="box-sizing: border-box;">;</span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"><o:p></o:p></span></code></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; margin-bottom: 11.25pt; padding: 0in;"><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"> </span><span style="box-sizing: border-box;"></span></code><span class="token"><span style="border: none 1.0pt; color: #0077aa; padding: 0in;">while</span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"> </span><span style="box-sizing: border-box;"></span></code><span class="token"><span style="border: none 1.0pt; color: #999999; padding: 0in;">(</span></span><span class="pln"><span style="font-family: "consolas";">testlistIterator</span></span><span class="token"><span style="border: none 1.0pt; color: #999999; padding: 0in;">.</span></span><span style="border: none 1.0pt; color: #dd4a68; padding: 0in;"><span style="box-sizing: border-box;">hasNext</span></span><span style="border: none 1.0pt; color: #999999; padding: 0in;"><span style="box-sizing: border-box;">(</span><span style="box-sizing: border-box;">)</span><span style="box-sizing: border-box;">)</span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"> </span><span style="box-sizing: border-box;"></span></code><span class="token"><span style="border: none 1.0pt; color: #999999; padding: 0in;">{</span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"><o:p></o:p></span></code></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; margin-bottom: 11.25pt; padding: 0in;"><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"> String speciesName </span><span style="box-sizing: border-box;"></span></code><span class="token"><span style="border: none 1.0pt; color: #a67f59; padding: 0in;">=</span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"> </span></code><span class="pln"><span style="font-family: "consolas";">testlistIterator</span></span><span class="token"><span style="border: none 1.0pt; color: #999999; padding: 0in;">.</span></span><span style="border: none 1.0pt; color: #dd4a68; padding: 0in;"><span style="box-sizing: border-box;">next</span></span><span style="border: none 1.0pt; color: #999999; padding: 0in;"><span style="box-sizing: border-box;">(</span><span style="box-sizing: border-box;">)</span><span style="box-sizing: border-box;">;</span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"><o:p></o:p></span></code></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; margin-bottom: 11.25pt; padding: 0in;"><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"> System</span><span style="box-sizing: border-box;"></span></code><span class="token"><span style="border: none 1.0pt; color: #999999; padding: 0in;">.</span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;">out</span><span style="box-sizing: border-box;"></span></code><span class="token"><span style="border: none 1.0pt; color: #999999; padding: 0in;">.</span></span><span style="border: none 1.0pt; color: #dd4a68; padding: 0in;"><span style="box-sizing: border-box;">println</span></span><span style="border: none 1.0pt; color: #999999; padding: 0in;"><span style="box-sizing: border-box;">(</span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;">speciesName</span><span style="box-sizing: border-box;"></span></code><span class="token"><span style="border: none 1.0pt; color: #999999; padding: 0in;">)</span><span style="box-sizing: border-box;">;</span></span><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"><o:p></o:p></span></code></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; margin-bottom: 11.25pt; padding: 0in;"><code><span style="border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;"> </span><span style="box-sizing: border-box;"></span></code><span class="token"><span style="border: none 1.0pt; color: #999999; padding: 0in;">}</span></span><span style="font-size: 11.0pt;"><o:p></o:p></span></pre>
</div>
</span></pre>
<br />
<div style="background-color: white; border: 0px; color: rgba(0, 0, 0, 0.84); font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.71429; margin-bottom: 10px; padding: 0px; vertical-align: baseline;">
<strong style="border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Applications of linked list in real world-</strong></div>
<ol style="background-color: white; border: 0px; color: rgba(0, 0, 0, 0.84); font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.71429; list-style-image: initial; list-style-position: outside; margin: 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;">
<li style="border: 0px; line-height: 1.58; margin: 0px 0px 0px 36px; padding: 0px; text-align: left; vertical-align: baseline;"><em style="border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Image viewer</em> – Previous and next images are linked, hence can be accessed by next and previous button.</li>
<li style="border: 0px; line-height: 1.58; margin: 0px 0px 0px 36px; padding: 0px; text-align: left; vertical-align: baseline;"><em style="border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Previous and next page in web browser</em> – We can access previous and next url searched in web browser by pressing back and next button since, they are linked as linked list.</li>
<li style="border: 0px; line-height: 1.58; margin: 0px 0px 0px 36px; padding: 0px; text-align: left; vertical-align: baseline;"><em style="border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Music Player</em> – Songs in music player are linked to previous and next song. you can play songs either from starting or ending of the list.</li>
</ol>
<br /></div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com4tag:blogger.com,1999:blog-345010455501069031.post-79094637560920237662019-04-15T18:00:00.001-07:002019-04-15T18:00:52.084-07:00AWS Lamdba: Exception in thread "main" java.lang.Error: java.lang.OutOfMemoryError: Metaspace<div dir="ltr" style="text-align: left;" trbidi="on">
Execution of newly created Lambda gives below error<br />
<br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;">Exception in thread "main" java.lang.Error: java.lang.OutOfMemoryError: Metaspace</span><br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"><br /></span>
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;">Bydefault the Memory allocated to Lambda is 128MB this needs to be increased</span><br />
<br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"><u><i><b>Solution: </b></i></u></span><br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"></span><br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"></span><br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"></span><br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"></span><br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"></span><br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"></span><br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"></span><br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"></span><br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"><br /></span>
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;">Navigate to your Lambda in AWS and update the Basic setting increase the Memory and test it out</span><br />
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"><br /></span>
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-JkGeKoPsXmU/XKKJg7jKm5I/AAAAAAAArwE/Yqq34Fi9cDoc5NKy7Yq942-GPzjbxR0LQCLcBGAs/s1600/Capture.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="349" data-original-width="799" height="139" src="https://3.bp.blogspot.com/-JkGeKoPsXmU/XKKJg7jKm5I/AAAAAAAArwE/Yqq34Fi9cDoc5NKy7Yq942-GPzjbxR0LQCLcBGAs/s320/Capture.JPG" width="320" /></a></div>
<span style="background-color: white; color: #444444; font-family: "monaco" , "menlo" , "consolas" , "courier prime" , "courier" , "courier new" , monospace; font-size: 12px;"><br /></span></div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com3tag:blogger.com,1999:blog-345010455501069031.post-39855923512139010442019-03-30T19:20:00.002-07:002019-03-30T19:20:44.438-07:00JSON Serialization and Deserialization <div dir="ltr" style="text-align: left;" trbidi="on">
<div style="background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
JSON is a format that encodes objects in a string. <a href="http://en.wikipedia.org/wiki/Serialization" rel="noreferrer" style="border: 0px; box-sizing: inherit; color: #005999; cursor: pointer; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Serialization</a> means to convert an object into that string, and deserialization is its inverse operation.</div>
<div style="background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
When transmitting data or storing them in a file, the data are required to be byte strings, but complex objects are seldom in this format. Serialization can convert these complex objects into byte strings for such use. After the byte strings are transmitted, the receiver will have to recover the original object from the byte string. This is known as deserialization.</div>
<div style="background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
Say, you have an object</div>
<pre class="default prettyprint prettyprinted" style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">{</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">foo</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">[</span><span class="lit" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">1</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">,</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="lit" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">4</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">,</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="lit" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">7</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">,</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="lit" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">10</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">],</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> bar</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="str" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">"baz"</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">}</span></code></pre>
<div style="background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
serializing into JSON will convert it into a string:</div>
<pre class="default prettyprint prettyprinted" style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="str" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">'{"foo":[1,4,7,10],"bar":"baz"}'</span></code></pre>
<div style="background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
which can be stored or sent through wire to anywhere. The receiver can then deserialize this string to get back the original object. <code style="background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">{foo: [1, 4, 7, 10], bar: "baz"}</code>.</div>
</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com0tag:blogger.com,1999:blog-345010455501069031.post-49540248576762637512019-03-30T19:20:00.001-07:002019-03-30T19:20:33.462-07:00DynamoDB Read/Write Capacity<div dir="ltr" style="text-align: left;" trbidi="on">
<h3 id="HowItWorks.requests">
Read Request Units and Write Request Units</h3>
<ul style="text-align: left;">
<li>One <i>read request unit</i> represents one strongly consistent
read request, or two eventually consistent read requests, for an item up
to 4 KB in size. Transactional read requests require 2 read
request units to perform one read for items up to
4 KB. If you need to read an item that is larger than
4 KB, DynamoDB needs additional read request units. The total number
of read request units required depends on the item size, and whether you
want an eventually consistent or strongly consistent read. For example,
if your item size is 8 KB, you require 2 read request units to sustain
one strongly consistent read, 1 read request unit if you
choose eventually consistent reads, or 4 read request units for a transnational read request.
</li>
</ul>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
<div class="aws-note">
One <i>write request unit</i> represents one write for an item
up to 1 KB in size. If you need to write an item that is larger
than 1 KB, DynamoDB needs to consume additional write request
units. Transactional write requests require 2 write request units to
perform one write for items up to 1 KB. The total number of
write request units required depends on the item size. For example, if
your item size is 2 KB, you require 2 write request units to sustain one
write request or 4 write request units for a transnational write request. </div>
<div class="aws-note">
</div>
<div class="aws-note">
<u><b>Read Consistency</b></u></div>
<div class="aws-note">
<br />
<div class="title">
<b>Eventually Consistent Reads</b></div>
When you read data from a DynamoDB table, the response might not reflect the results
of a recently completed write operation. The response might include some stale data.
If you repeat your read request after a short time, the response should
return the latest data.
<br />
<div class="title">
<b>Strongly Consistent Reads</b></div>
When you request a strongly consistent read, DynamoDB returns a response with the
most up-to-date data, reflecting the updates from all prior write operations that
were successful. A strongly consistent read might not be available if there is a
network delay or outage. Consistent reads are not supported on global secondary indexes
(GSI).<br />
<br />
DynamoDB uses eventually consistent reads, unless you specify otherwise. Read operations
(such as
<code class="code">GetItem</code>, <code class="code">Query</code>, and <code class="code">Scan</code>) provide a
<code class="code">ConsistentRead</code> parameter. If you set this parameter to true, DynamoDB
uses strongly consistent reads during the operation.
</div>
</li>
</ul>
</div>
</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com0tag:blogger.com,1999:blog-345010455501069031.post-82459870521025780882019-03-15T12:33:00.001-07:002019-03-15T12:33:10.892-07:00Modulo Operator: Java<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: Arial, Helvetica, sans-serif;">Java has one important arithmetical operator you may not be familiar with, <code>%</code>, also known as the modulus or remainder operator. The <code>%</code> operator returns the remainder of two numbers. </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">So 20 modulo 5 is 0 because 20 divided by 5 is 4 with no remainder.</span><br />
<ul><span style="font-family: Arial, Helvetica, sans-serif;">21 modulo 5 is 1 22 modulo 5 is 2 23 modulo 5 is 3 24 modulo 5 is 4 25 modulo 5 is 0</span></ul>
<span style="font-family: Arial, Helvetica, sans-serif;">In C, C++ and Java, modulo is represented as the percent sign. So</span><br />
<pre><span style="font-family: Arial, Helvetica, sans-serif;"> int a = 20 % 5 ;</span></pre>
<pre><span style="font-family: Arial, Helvetica, sans-serif;">
</span></pre>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-size: 18px; line-height: 1.334; margin-bottom: 10px;">
<span style="box-sizing: border-box; font-weight: 700;"><span style="font-family: Arial, Helvetica, sans-serif;">The most common use case for the modulo operator is to find out if a given number is odd or even.</span></span></div>
<div style="background-color: white;">
<span style="font-family: Arial, Helvetica, sans-serif;">Modulo has a variety of uses. If you want to know if a number is an even "hundred", like 300, 400, 500 or 256700, you can test for it like this:</span></div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-size: 18px; line-height: 1.334; margin-bottom: 10px;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="box-sizing: border-box; font-weight: 700;"></span></span></div>
<pre style="background-color: white; font-size: 14px;"><span style="font-family: Arial, Helvetica, sans-serif;"> if ( ( a % 100 ) == 0 )
{
System.out.println( a + "exactly!");
}
</span></pre>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-size: 18px; line-height: 1.334; margin-bottom: 10px;">
<span style="font-family: Arial, Helvetica, sans-serif;">If the outcome of the modulo operation between any number and two is equal to one, it’s an odd number:</span></div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-size: 18px;">
<div class="syntaxhighlighter notranslate java" id="highlighter_604554" style="box-sizing: border-box; font-size: 14px !important; line-height: 1.43 !important; margin: 25px 0px !important; overflow: auto hidden !important; padding: 1px !important; position: relative !important; width: 970px;">
<table border="0" cellpadding="0" cellspacing="0" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 14px !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 968px;"><tbody style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;">1</span></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;">2</span></div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;">3</span></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;">4</span></div>
</td><td class="code" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 935px;"><div class="container" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; max-width: 1520px; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java color1" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="font-family: Arial, Helvetica, sans-serif;">@Test</span></code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">void</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">whenDivisorIsOddAndModulusIs2_thenResultIs1() {</code></span></div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">assertThat(</code><code class="java value" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">3</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">% </code><code class="java value" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">2</code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">).isEqualTo(</code><code class="java value" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">1</code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">);</code></span></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="font-family: Arial, Helvetica, sans-serif;">}</span></code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-size: 18px; line-height: 1.334; margin-bottom: 10px;">
<span style="font-family: Arial, Helvetica, sans-serif;">On the other hand, if the result is zero (i.e. there is no remainder), it’s an even number:</span></div>
<div style="background-color: white; box-sizing: border-box; color: #333333; font-family: raleway; font-size: 18px;">
<div class="syntaxhighlighter notranslate java" id="highlighter_613270" style="box-sizing: border-box; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; font-size: 14px !important; line-height: 1.43 !important; margin: 25px 0px !important; overflow: auto hidden !important; padding: 1px !important; position: relative !important; width: 970px;">
<table border="0" cellpadding="0" cellspacing="0" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 14px !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 968px;"><tbody style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;">1</span></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;">2</span></div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;">3</span></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(99, 177, 117) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;">4</span></div>
</td><td class="code" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 935px;"><div class="container" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; max-width: 1520px; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java color1" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="font-family: Arial, Helvetica, sans-serif;">@Test</span></code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java keyword" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(99, 177, 117) !important; float: none !important; font-weight: 600 !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">void</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">whenDivisorIsEvenAndModulusIs2_thenResultIs0() {</code></span></div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><code class="java spaces" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">assertThat(</code><code class="java value" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">4</code> <code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">% </code><code class="java value" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">2</code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">).isEqualTo(</code><code class="java value" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">0</code><code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">);</code></span></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="font-family: Arial, Helvetica, sans-serif;">}</span></code></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><br /></code></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java plain" style="background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: "source code pro", consolas, "bitstream vera sans mono", "courier new", Courier, monospace !important; height: auto !important; left: auto !important; line-height: 1.43 !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div style="font-family: "Times New Roman"; font-size: medium; white-space: normal;">
<br /></div>
</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com0tag:blogger.com,1999:blog-345010455501069031.post-16811751013149550772018-09-28T17:36:00.000-07:002018-09-28T17:36:23.234-07:00JavaScript Map Function<div dir="ltr" style="text-align: left;" trbidi="on">
How does JavaScript Map Function work....<br />
<br />
Here is an example<br />
<br />
<i>var numbers = [4, 9, 16, 25];</i><br />
<i><br /></i>
<i>function myFunction() {</i><br />
<i> x = document.getElementById("demo")</i><br />
<i> x.innerHTML = numbers.map(Math.sqrt);</i><br />
<i>}</i><br />
<br />
If I execute the above function as part of my Javascript it print<br />
<br />
2,3,4,5<br />
<br />
So what happened using map function I applied the Math.sqrt to every element of my numbers array.<br />
<br /></div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com73tag:blogger.com,1999:blog-345010455501069031.post-23498810119680716212016-12-31T18:35:00.003-08:002016-12-31T18:35:45.375-08:00R12 Supplier Bank Account details Oracle Apps<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;"> The supplier (or External) bank account information are stored in the table called </span><em style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;"><strong>IBY_EXT_BANK_ACCOUNTS</strong></em><span style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;">. The bank and bank branches information are stored in the table </span><em style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;"><strong>HZ_PARTIES</strong></em><span style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;">. They are linked together through Relationships (in HZ_RELATIONSHIP). There is a separate link for both Bank to Branch and also from Branch to Bank. Bank sites and Location information are stored in tables: </span><em style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;"><strong>HZ_PARTY_SITES </strong></em><span style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;">and </span><em style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;"><strong>HZ_LOCATIONS</strong></em><span style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;">. The bank_id and branch_id fields of IBY_EXT_BANK_ACCOUNTS table link the Bank Account to the relevant Bank and Branch Parties in the HZ_PARTIES table (IBY_EXT_BANK_ACCOUNTS.BANK_id = hz_paties.party_id).</span><br />
<span style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;">When the Bank is assigned to Vendors then it will be updated in a table called </span><em style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;"><strong>HZ_CODE_ASSIGNMENTS</strong></em><span style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;">. Payment related details of supplier are also inserted in </span><em style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;"><strong>iby_external_payees_all</strong></em><span style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;"> as well as </span><em style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;"><strong>iby_ext_party_pmt_mthds</strong></em><span style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;">.</span><br />
<span style="background-color: white; font-family: Arial, Tahoma, Verdana; font-size: 12px;"><br /></span>
<div class="line number1 index0 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql keyword" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><br /></code></div>
<div class="line number1 index0 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql keyword" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql keyword" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">SELECT</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">party_supp.party_name supplier_name</code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, aps.segment1 supplier_number</code></div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, ass.vendor_site_code supplier_site</code></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<span style="background-color: initial; color: black; font-size: 1em;">, branch_prof.bank_or_branch_number bank_number</span></div>
<div class="line number8 index7 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, party_branch.party_name branch_name</code></div>
<div class="line number9 index8 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, branch_prof.bank_or_branch_number branch_number</code></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, ieb.bank_account_num</code></div>
<div class="line number5 index4 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, ieb.bank_account_name</code></div>
<div class="line number6 index5 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, party_bank.party_name bank_name</code></div>
<div class="line number8 index7 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql keyword" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">FROM</code><span style="background-color: initial; font-size: 1em;"> </span><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">hz_parties party_supp</code></div>
<div class="line number11 index10 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, ap_suppliers aps</code></div>
<div class="line number12 index11 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, hz_party_sites site_supp</code></div>
<div class="line number13 index12 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, ap_supplier_sites_all ass</code></div>
<div class="line number14 index13 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, iby_external_payees_all iep</code></div>
<div class="line number15 index14 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, iby_pmt_instr_uses_all ipi</code></div>
<div class="line number16 index15 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, iby_ext_bank_accounts ieb</code></div>
<div class="line number17 index16 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, hz_parties party_bank</code></div>
<div class="line number18 index17 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, hz_parties party_branch</code></div>
<div class="line number19 index18 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, hz_organization_profiles bank_prof</code></div>
<div class="line number20 index19 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, hz_organization_profiles branch_prof</code></div>
<div class="line number21 index20 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql keyword" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">WHERE</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">party_supp.party_id = aps.party_id</code></div>
<div class="line number22 index21 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">party_supp.party_id = site_supp.party_id</code></div>
<div class="line number23 index22 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">site_supp.party_site_id = ass.party_site_id</code></div>
<div class="line number24 index23 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ass.vendor_id = aps.vendor_id</code></div>
<div class="line number25 index24 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">iep.payee_party_id = party_supp.party_id</code></div>
<div class="line number26 index25 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">iep.party_site_id = site_supp.party_site_id</code></div>
<div class="line number27 index26 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">iep.supplier_site_id = ass.vendor_site_id</code></div>
<div class="line number28 index27 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">iep.ext_payee_id = ipi.ext_pmt_party_id</code></div>
<div class="line number29 index28 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ipi.instrument_id = ieb.ext_bank_account_id</code></div>
<div class="line number30 index29 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ieb.bank_id = party_bank.party_id</code></div>
<div class="line number31 index30 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ieb.bank_id = party_branch.party_id</code></div>
<div class="line number32 index31 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">party_branch.party_id = branch_prof.party_id</code></div>
<div class="line number33 index32 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">AND</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">party_bank.party_id = bank_prof.party_id</code></div>
<div class="line number34 index33 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql keyword" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ORDER</code> <code class="sql keyword" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">BY</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">party_supp.party_name</code></div>
<div class="line number35 index34 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-weight: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, ass.vendor_site_code;</code></div>
</code></div>
<div class="line number1 index0 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql keyword" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><br /></code></div>
<div class="line number1 index0 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql keyword" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">SELECT</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">aps.vendor_name </code><code class="sql string" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"VERDOR NAME"</code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number2 index1 alt1" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">apss.vendor_site_code </code><code class="sql string" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"VENDOR SITE CODE"</code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number3 index2 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ieb.bank_name </code><code class="sql string" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"BANK NAME"</code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number4 index3 alt1" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">iebb.bank_branch_name </code><code class="sql string" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"BANK BRANCH NAME"</code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number5 index4 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">iebb.branch_number </code><code class="sql string" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"BRANCH NUMBER"</code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number6 index5 alt1" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ieba.BANK_ACCOUNT_NUM </code><code class="sql string" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"BANK ACCOUNT NUMBER"</code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number7 index6 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ieba.BANK_ACCOUNT_NAME </code><code class="sql string" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"BANK ACCOUNT NAME"</code></div>
<div class="line number8 index7 alt1" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql keyword" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">FROM</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ap.ap_suppliers aps,</code></div>
<div class="line number9 index8 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ap.ap_supplier_sites_all apss,</code></div>
<div class="line number10 index9 alt1" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">apps.iby_ext_bank_accounts ieba,</code></div>
<div class="line number11 index10 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">apps.iby_account_owners iao,</code></div>
<div class="line number12 index11 alt1" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">apps.iby_ext_banks_v ieb,</code></div>
<div class="line number13 index12 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">apps.iby_ext_bank_branches_v iebb</code></div>
<div class="line number14 index13 alt1" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql keyword" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">WHERE</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">aps.vendor_id = apss.vendor_id</code></div>
<div class="line number15 index14 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">and</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">iao.account_owner_party_id = aps.party_id</code></div>
<div class="line number16 index15 alt1" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">and</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ieba.ext_bank_account_id = iao.ext_bank_account_id</code></div>
<div class="line number17 index16 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">and</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ieb.bank_party_id = iebb.bank_party_id</code></div>
<div class="line number18 index17 alt1" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">and</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ieba.branch_id = iebb.branch_party_id</code></div>
<div class="line number19 index18 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="sql color1" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">and</code> <code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ieba.bank_id = ieb.bank_party_id;</code></div>
<div class="line number19 index18 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><br /></code></div>
<div class="line number19 index18 alt2" style="background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #555555; direction: ltr !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="sql plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><br /></code></div>
</div>
Anonymoushttp://www.blogger.com/profile/06498460618677524250noreply@blogger.com53tag:blogger.com,1999:blog-345010455501069031.post-65856436988529433772016-11-13T21:24:00.002-08:002016-11-13T21:24:39.546-08:00Oracle Apps: Query to find Scheduled Concurrent Program/ Requests<div dir="ltr" style="text-align: left;" trbidi="on">
Use the below query to find Scheduled CONCURRENT Programs or Request sets in Oracle Apps.<br />
<br />
<span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">SELECT fcr.request_id</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fcpt.user_concurrent_program_name|| NVL2(fcr.description, ' (' || fcr.description || ')', NULL) conc_prog</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fu.user_name requestor</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fu.description requested_by</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fu.email_address</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , frt.responsibility_name requested_by_resp</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , trim(fl.meaning) status</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fcr.phase_code</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fcr.status_code</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fcr.argument_text "PARAMETERS"</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , TO_CHAR(fcr.request_date, 'DD-MON-YYYY HH24:MI:SS') requested</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , TO_CHAR(fcr.requested_start_date, 'DD-MON-YYYY HH24:MI:SS') requested_start </span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , TO_CHAR((fcr.requested_start_date), 'HH24:MI:SS') start_time</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , DECODE(fcr.hold_flag, 'Y', 'Yes', 'N', 'No') on_hold</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , CASE</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> WHEN fcr.hold_flag = 'Y'</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> Then Substr(</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> fu.description</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , 0</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , 40</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> )</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> END last_update_by</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , CASE</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> WHEN fcr.hold_flag = 'Y'</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> THEN fcr.last_update_date</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> END last_update_date</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fcr.increment_dates</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , CASE WHEN fcrc.CLASS_INFO IS NULL THEN</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'Yes: ' || TO_CHAR(fcr.requested_start_date, 'DD-MON-YYYY HH24:MI:SS')</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> ELSE</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'n/a'</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> END run_once</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , CASE WHEN fcrc.class_type = 'P' THEN</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'Repeat every ' ||</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> substr(fcrc.class_info, 1, instr(fcrc.class_info, ':') - 1) ||</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> decode(substr(fcrc.class_info, instr(fcrc.class_info, ':', 1, 1) + 1, 1),</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'N', ' minutes',</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'M', ' months',</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'H', ' hours',</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'D', ' days') ||</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> decode(substr(fcrc.class_info, instr(fcrc.class_info, ':', 1, 2) + 1, 1),</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'S', ' from the start of the prior run',</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'C', ' from the completion of the prior run')</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> ELSE</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'n/a'</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> END set_days_of_week</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , CASE WHEN fcrc.class_type = 'S' AND instr(substr(fcrc.class_info, 33),'1',1) > 0 THEN</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'Days of week: ' ||</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> decode(substr(fcrc.class_info, 33, 1), '1', 'Sun, ') ||</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> decode(substr(fcrc.class_info, 34, 1), '1', 'Mon, ') ||</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> decode(substr(fcrc.class_info, 35, 1), '1', 'Tue, ') ||</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> decode(substr(fcrc.class_info, 36, 1), '1', 'Wed, ') ||</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> decode(substr(fcrc.class_info, 37, 1), '1', 'Thu, ') ||</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> decode(substr(fcrc.class_info, 38, 1), '1', 'Fri, ') ||</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> decode(substr(fcrc.class_info, 39, 1), '1', 'Sat ')</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> ELSE</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> 'n/a'</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> end days_of_week </span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> FROM fnd_concurrent_requests fcr</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fnd_user fu</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fnd_concurrent_programs fcp</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fnd_concurrent_programs_tl fcpt</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fnd_printer_styles_tl fpst</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fnd_conc_release_classes fcrc</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fnd_responsibility_tl frt</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> , fnd_lookups fl</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> WHERE fcp.application_id = fcpt.application_id</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> AND fcr.requested_by = fu.user_id</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> AND fcr.concurrent_program_id = fcp.concurrent_program_id</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> AND fcr.program_application_id = fcp.application_id</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> AND fcr.concurrent_program_id = fcpt.concurrent_program_id</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> AND fcr.responsibility_id = frt.responsibility_id</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> AND fcr.print_style = fpst.printer_style_name(+)</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> AND fcr.release_class_id = fcrc.release_class_id(+)</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> AND fcr.status_code = fl.lookup_code</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> AND fl.lookup_type = 'CP_STATUS_CODE'</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> AND fcr.phase_code = 'P'</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> AND 1=1</span><br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">Order By Fu.Description, Fcr.Requested_Start_Date Asc;</span></div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com6tag:blogger.com,1999:blog-345010455501069031.post-622010830617489732016-10-31T06:02:00.002-07:002016-10-31T06:02:37.570-07:00Oracle Apps Fixed Assets Table<div dir="ltr" style="text-align: left;" trbidi="on">
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 555.982px; transform: scaleX(1);">
Below are some important tables frequently used in query's in Oracle Apps for Fixed Assets module. </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 555.982px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 555.982px; transform: scaleX(1);">
FA_ADDITIONS_B Descriptive information about assets </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 555.982px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 555.982px; transform: scaleX(1);">
FA_ADDITIONS_TL Translated Descriptive information about assets</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 555.982px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 555.982px; transform: scaleX(1);">
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
FA_ADJUSTMENTS Adjustment information on assets user by </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
General Ledger to create journal entry lines </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
in the general ledger </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
FA_ASSET_HISTORY Historical information about asset </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
reclassification and unit adjustments </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
FA_ASSET_INVOICES Accounts payable and purchasing information </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
for each asset </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
FA_BOOKS Financial information of each asset </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
FA_BOOK_CONTROLS Control information that affects all assets </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
in a depreciation book </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
FA_CALENDAR_PERIODS Detailed calendar information </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
FA_CATEGORIES_B Default financial information for asset </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
categories </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
FA_CATEGORY_BOOKS Default financial information for an asset </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
category and depreciation book combination </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
</div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
FA_DEPRN_DETAIL Depreciation amounts charged to the </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
depreciation expense account in each </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
distribution line <br /><br /><br />FA_DEPRN_PERIODS Information about each depreciation period <br /><br />FA_DISTRIBUTION_ACCOUNTS Table to store account ccids for all </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
distributions for a book<br /><br /><br />FA_DISTRIBUTION_HISTORY Employee, location, and Accounting Flexfield </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
values assigned to each asset <br /><br />FA_RETIREMENTS Information about asset retirements and </div>
<div data-canvas-width="125.99999999999999" style="font-family: monospace; font-size: 15px; left: 60px; top: 700.833px; transform: scaleX(1);">
reinstatements <br /> </div>
</div>
</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com0tag:blogger.com,1999:blog-345010455501069031.post-42190404026980394572016-10-31T05:08:00.003-07:002016-10-31T05:28:00.790-07:00Oracle Apps GL Period to Date(PTD) and Year to Date(YTD) query<div dir="ltr" style="text-align: left;" trbidi="on">
Below query will give YTD and PTD balances for specific Account posted in a specific Period.<br />
<br />
SELECT gb.LEDGER_ID,<br /> glcc.SEGMENT1,<br /> glcc.segment2,<br /> glcc.SEGMENT3,<br /> glcc.segment4,<br /> glcc.segment5,<br /> glcc.segment6<br /> FFV.DESCRIPTION,<br /> gb.PERIOD_NAME,<br /> NVL (gb.PERIOD_NET_DR, 0) - NVL (gb.PERIOD_NET_CR, 0) PTD,<br /> (NVL (gb.BEGIN_BALANCE_DR, 0) - NVL (gb.BEGIN_BALANCE_CR, 0))<br /> + (NVL (gb.PERIOD_NET_DR, 0) - NVL (gb.PERIOD_NET_CR, 0)) YTD<br /> FROM gl_balances gb,<br /> gl_ledgers gl,<br /> gl_code_combinations_kfv glcc,<br /> APPS.FND_FLEX_VALUES_VL FFV,<br /> gl_ledgers gl<br /> WHERE gb.code_combination_id = glcc.code_combination_id<br /> AND gb.LEDGER_ID = gl.ledger_id<br /> AND GLCC.SEGMENT3 = FFV.FLEX_VALUE<br /> AND gl.name = :ledger_name<br /> AND gb.period_name = :PERIOD_NAME<br />ORDER BY gb.LEDGER_ID, <br /> glcc.SEGMENT1,<br /> glcc.segment2,<br /> glcc.SEGMENT3,<br /> glcc.segment4,<br /> glcc.segment5,<br /> glcc.segment6<br />
<br />
<span style="font-size: xx-small;">Oracle Apps, General Ledger, YTD query, PTD query</span></div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com1tag:blogger.com,1999:blog-345010455501069031.post-52266125946278912122016-10-31T05:08:00.002-07:002016-10-31T05:14:06.763-07:00Oracle apps GL Trial Balance Detail Report query<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "courier new" , "courier" , monospace;"><b>Trial Balance in Oracle Apps will give you the Credits, Debits and Net balances for a specific account in a given period. Below query does the same.</b></span><br />
<span style="font-family: "courier new" , "courier" , monospace;"><b>Sam<span style="font-family: "courier new" , "courier" , monospace;">e q<span style="font-family: "courier new" , "courier" , monospace;">uery in Oracle Apps can be us<span style="font-family: "courier new" , "courier" , monospace;">ed to find out the <span style="font-family: "courier new" , "courier" , monospace;">Journals posted in a s<span style="font-family: "courier new" , "courier" , monospace;">pecific Account, Company for a given period.</span></span></span></span></span></b></span><br />
<br />
<span style="color: black; font-family: "tahoma" , "sans-serif"; font-size: 10pt;"><i>select </i></span><br />
<span style="color: black; font-family: "tahoma" , "sans-serif"; font-size: 10pt;"><i>gjh.name Journal_name,<br />gjh.je_category category_name,<br />gjh.je_source source_name,<br />gjb.name batch_name,<br />GCC.SEGMENT1, -- comapny<br />GCC.SEGMENT2, --cost center<br />GCC.SEGMENT3, -- account<br />GCC.SEGMENT4, ---Project<br />GCC.SEGMENT5, --Product<br />GCC.SEGMENT6, --Others<br />SUM(NVL(GJL.ACCOUNTED_DR,0))ACCOUNTED_DR,<br />SUM(NVL(GJL.ACCOUNTED_CR,0))ACCOUNTED_CR,<br />SUM(NVL(GJL.ACCOUNTED_DR,0)-NVL(GJL.ACCOUNTED_CR,0))BALANCE<br />from gl_je_headers gjh,<br />gl_je_lines gjl,<br />gl_ledgers gl,<br />gl_code_combinations gcc,<br />GL_JE_BATCHES GJB<br />where gjl.je_header_id = gjh.je_header_id<br />AND gjh.je_batch_id=gjb.je_batch_id<br />and gjl.code_combination_id=gcc.code_combination_id<br />and gjh.ledger_id=gl.ledger_id<br />and gjh.status='P' </i></span><br />
<span style="color: black; font-family: "tahoma" , "sans-serif"; font-size: 10pt;"><i>--Actual balances<br />AND gjh.actual_flag='A' <br />AND gjh.period_name='AUG-14'<br />AND GL.name='US Vision Operation' --Ledger<br />GROUP BY <br />GCC.SEGMENT1,<br />GCC.SEGMENT2,<br />GCC.SEGMENT3,<br />GCC.SEGMENT4,<br />GCC.SEGMENT5,<br />GCC.SEGMENT6,<br />GCC.SEGMENT7,<br />gjh.je_category ,<br />gjh.je_source ,<br />gjb.name,</i></span><br />
<span style="color: black; font-family: "tahoma" , "sans-serif"; font-size: 10pt;"><i>gjh.name ;</i></span></div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com3tag:blogger.com,1999:blog-345010455501069031.post-10949768862043177592016-03-08T16:01:00.002-08:002016-03-08T16:02:50.270-08:00Oracle Apps Concurrent Program Trace file location<div dir="ltr" style="text-align: left;" trbidi="on">
<i>Below query can help you to find the location of the Trace file for Concurrent Program submitted in Oracle Apps</i><br />
<br />
SELECT<br />
req.request_id<br />
,req.logfile_node_name node<br />
,req.oracle_Process_id<br />
,req.enable_trace<br />
,dest.VALUE||'/'||LOWER(dbnm.VALUE)||'_ora_'||oracle_process_id||'.trc' trace_filename<br />
,prog.user_concurrent_program_name<br />
,execname.execution_file_name<br />
,execname.subroutine_name<br />
,phase_code<br />
,status_code<br />
,ses.SID<br />
,ses.serial#<br />
,ses.module<br />
,ses.machine<br />
FROM<br />
fnd_concurrent_requests req<br />
,v$session ses<br />
,v$process proc<br />
,v$parameter dest<br />
,v$parameter dbnm<br />
,fnd_concurrent_programs_vl prog<br />
,fnd_executables execname<br />
WHERE 1=1<br />
AND req.request_id = <Request id><br />
AND req.oracle_process_id=proc.spid(+)<br />
AND proc.addr = ses.paddr(+)<br />
AND dest.NAME='user_dump_dest'<br />
AND dbnm.NAME='db_name'<br />
AND req.concurrent_program_id = prog.concurrent_program_id<br />
AND req.program_application_id = prog.application_id<br />
AND prog.application_id = execname.application_id<br />
AND prog.executable_id=execname.executable_id</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com1tag:blogger.com,1999:blog-345010455501069031.post-75675208522060374672016-02-28T09:30:00.002-08:002016-03-08T16:02:29.511-08:00Oracle SQL Parallel hint<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="https://www.blogger.com/null" id="sthref856"></a><a href="https://www.blogger.com/null" id="sthref857"></a><a href="https://www.blogger.com/null" id="sthref858"></a>Each SQL statement undergoes an optimization and parallelization process when it is parsed. If parallel execution is chosen, then the following steps occur:<br />
<ol>
<li>The user session or shadow process takes on the role of a coordinator, often called the query coordinator.</li>
<li>The query coordinator obtains the necessary number of parallel servers.</li>
<li>The SQL statement is executed as a sequence of operations (a full table scan to perform a join on a nonindexed column, an <code>ORDER</code> <code>BY</code> clause, and so on). The parallel execution servers performs each operation in parallel if possible.</li>
<li>When the parallel servers are finished executing the statement, the query coordinator performs any portion of the work that cannot be executed in parallel. For example, a parallel query with a <code>SUM()</code> operation requires adding the individual subtotals calculated by each parallel server.</li>
<li>Finally, the query coordinator returns any results to the user</li>
</ol>
<b>Example</b> <br />
<b><i>Parallel hint at Query level</i></b><br />
SELECT /*+ PARALLEL(4) */<br />
<div style="text-align: left;">
e.name, </div>
<div style="text-align: left;">
e.dept<br />
FROM emp e, </div>
<div style="text-align: left;">
dept d<br />
WHERE e.emp_id = d.emp_id</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<b><i>Parallel hint at Table level</i></b></div>
<div style="text-align: left;">
Use table alias to provide hint at Table level</div>
<div style="text-align: left;">
SELECT /*+ PARALLEL(e, 4) */ </div>
<div style="text-align: left;">
e.name, </div>
<div style="text-align: left;">
e.dept<br />
FROM emp e, </div>
<div style="text-align: left;">
dept d<br />
WHERE e.emp_id = d.emp_id</div>
<div style="text-align: left;">
<b><i></i></b><br /></div>
</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com1tag:blogger.com,1999:blog-345010455501069031.post-63145853441779566262016-02-26T08:29:00.002-08:002016-02-26T08:29:24.263-08:00Oracle Performance Tuning: Flush Cache and Share memory<div dir="ltr" style="text-align: left;" trbidi="on">
If you are doing Performance tuning every time you execute the Program/Query its important that you Flush the Cache and Shared memory. If you don't the results of Performance tuning exercise will be incorrect as the query will use Data available in Shared memory or Cache instead of fetching from DB thus resulting in faster execution.<br />
<br />
1.<em> alter system flush
shared_pool</em> is one way the alter system command statement can be
used to clear existing data and re-load fresh data.<br />
<br />
<b><span class="style10"><span style="color: black; font-family: Courier New; font-size: x-small;">SQL> alter system flush
shared_pool;</span></span></b><br />
<br />
<span class="style10"><span style="color: black; font-family: Courier New; font-size: x-small;"> </span></span><span class="style10"></span><span class="style10"><span style="color: black; font-family: Courier New; font-size: x-small;"> </span></span><br />
<em></em>2. The FLUSH
SHARED POOL clause of ALTER SYSTEM lets you clear all data from the
shared pool in the SGA (system global area).<br /><em></em><br />
<br />
<b><span class="style10"><span style="color: black; font-family: Courier New; font-size: x-small;"><span style="font-family: Courier New; font-size: x-small;">SQL> ALTER SYSTEM FLUSH
BUFFER_CACHE;</span> </span></span></b> </div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com0tag:blogger.com,1999:blog-345010455501069031.post-80059147521302939122016-02-18T21:59:00.001-08:002016-02-18T21:59:15.713-08:00Oracle Database Random Function in PLSQL<div dir="ltr" style="text-align: left;" trbidi="on">
<h3>
DBMS_RANDOM package</h3>
The DBMS_RANDOM package will generate random data in character,
numeric or alphanumeric formats. The size and the range from which to
pickup the random values can also be specified.<br />
<br />
The following functions present in the package can be used to serve
the purpose of generating random numbers and strings. RANDOM - generate
random numbers.<br />
VALUE - generate random numbers from the range provided. The range will be taken as 0-1 if none is provided.<br />
STRING - generate strings in upper case, lower case or alphanumeric format.<br />
<br />
<b>Generating a random number (positive or negative)</b>
<br />
<pre>SQL> select dbms_random.random from dual;
RANDOM
_____________
1393936551</pre>
<pre> </pre>
<b>Generating a random number between 0 and 1.
</b><pre>SQL> select dbms_random.value from dual;
VALUE
_____________
1
</pre>
<br />
<b>Generating a random number from a range, between 1 to 1000.</b><br />
<pre>SQL> select dbms_random.value(1,1000) num from dual;
NUM
_____________
611
</pre>
<br />
<b>Generating a 12 digit random number.</b><br />
<pre>SQL> select dbms_random.value(100000000000, 999999999999) num from dual;
NUM
_____________
175055628780
</pre>
<br />
<b>Generating an upper case string of 20 characters</b><br />
<pre>SQL> select dbms_random.string('U', 20) str from dual;
STR
_______________________
VUOQOSTLHCKIPIADIZTD</pre>
<pre> </pre>
<pre> </pre>
<b>Generating a lower case string of 20 characters</b>
<pre>SQL> select dbms_random.string('L', 20) str from dual;
STR
____________________
xpoovuspmehvcptdtzcz
</pre>
<br />
<b>Generating an alphanumeric string of 20 characters. </b><br />
<pre>SQL> select dbms_random.string('A', 20) str from dual;
STR
__________________
sTjERojjL^OlTaIc]PLB</pre>
<pre> </pre>
<pre> </pre>
<b>Generating an upper case alphanumeric string of 20 characters</b><br />
<pre>SQL> select dbms_random.string('X', 20) str from dual;
STR
________________________
SQ3E3B3NRBIP:GOGAKSC
</pre>
<br />
<b>Generating a string of printable 20 characters. </b><br />
<pre>SQL> select dbms_random.string('P', 20) str from dual;
</pre>
<br />
</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com0tag:blogger.com,1999:blog-345010455501069031.post-79600377345376102762016-01-11T19:20:00.002-08:002016-01-11T19:20:38.616-08:00Oracle Application r12: Query to fetch Legal entity for Operating Unit<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;">In R12 use below query to fetch Legal entity details for Operating Unit</span></b><br />
<span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> </span><br />
<span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;">Select a.organization_id, </span><br />
<span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> a.organization_code, </span><br />
<span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> a.organization_name, </span><br />
<div dir="ltr" style="text-align: left;">
<span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> a.operating_unit, </span></div>
<div dir="ltr" style="text-align: left;">
<span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> b.name OU, </span></div>
<div dir="ltr" style="text-align: left;">
<span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> a.set_of_books_id,</span></div>
<div dir="ltr" style="text-align: left;">
<span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> d.name LEDGER,</span><br style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;" /><span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> a.legal_entity,</span></div>
<div dir="ltr" style="text-align: left;">
<span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> c.name LE_NAME</span><br style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;" /><span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;">From apps. ORG_ORGANIZATION_DEFINITIONS a,</span><br style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;" /><span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> apps. HR_OPERATING_UNITS b,</span><br style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;" /><span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> apps. xle_entity_profiles c,</span><br style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;" /><span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"> apps. gl_ledgers d</span><br style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;" /><span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;">Where a.operating_unit=b.organizatio</span><wbr style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"></wbr><span class="word_break" style="background-color: white; color: #333333; display: inline-block; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"></span><span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;">n_id</span><br style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;" /><span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;">and C.LEGAL_ENTITY_ID=a.LEGAL_ENTI</span><wbr style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"></wbr><span class="word_break" style="background-color: white; color: #333333; display: inline-block; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"></span><span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;">TY</span><br style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;" /><span style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;">AND d.ledger_id=a.set_of_books_id;</span></div>
</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com0tag:blogger.com,1999:blog-345010455501069031.post-16285215556327331362015-09-19T09:19:00.002-07:002015-09-19T09:19:59.751-07:00Oracle Apps: Query to check Value Set Values<div dir="ltr" style="text-align: left;" trbidi="on">
Below is Query to check Valueset Values in Oracle Apps<br />
<br />
SELECT ffvs.flex_value_set_id ,<br />
ffvs.flex_value_set_name ,<br />
ffvs.description set_description ,<br />
ffvs.validation_type,<br />
ffv.flex_value,<br />
ffvt.description value_description,<br />
ffv.enabled_flag,<br />
ffv.last_update_date,<br />
ffv.last_updated_by,<br />
ffv.attribute1,<br />
ffv.attribute2,<br />
ffv.attribute3–Include attribute values based on DFF segments<br />
FROM fnd_flex_value_sets ffvs ,<br />
fnd_flex_values ffv ,<br />
fnd_flex_values_tl ffvt<br />
WHERE<br />
ffvs.flex_value_set_id = ffv.flex_value_set_id<br />
and ffv.flex_value_id = ffvt.flex_value_id<br />
AND ffvt.language = USERENV(‘LANG’)<br />
and flex_value_set_name like <Valueset><br />
ORDER BY flex_value asc</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com6tag:blogger.com,1999:blog-345010455501069031.post-71259292637650817602015-09-10T20:25:00.004-07:002015-09-10T20:25:36.554-07:00Oracle Apps General Ledger Tables: Oracle GL Tables and Common GL Queries<div dir="ltr" style="text-align: left;" trbidi="on">
Below are Common Oracle Apps GL Tables<br />
<br />
<b>GL_SETS_OF_BOOKS</b><br />
Stores information about the sets of books you define in your Oracle General Ledger application. Each row includes the set of books name, description, functional currency, and other information. This table corresponds to the Set of Books form.<br />
<br />
<b>GL_IMPORT_REFERENCES</b><br />
Stores individual transactions from subledgers that have been summarized into Oracle General Ledger journal entry lines through the Journal Import process. You can specify the journal entry sources for which you want to maintain your transaction’s origin by entering ’Yes’ in the Import Journal References field of the Journal Sources form.<br />
For each source that has Import Journal References set to ’Yes’, Oracle General Ledger will populate GL_IMPORT_REFERENCES with one record for each transaction in your feeder system.<br />
<br />
<b>GL_DAILY_RATES</b><br />
Stores the daily conversion rates for foreign currency transactions. It replaces the GL_DAILY_CONVERSION_RATES table. It stores the rate to use when converting between two currencies for a given conversion date and conversion type. Each row in this table has a corresponding inverse row in which the from and to currencies are switched.<br />
<br />
<b>GL_JE_LINES</b><br />
Stores the journal entry lines that you enter in the Enter Journals form. There is a one–to–many relationship between journal entries and journal entry lines. Each row in this table stores the associated journal entry header ID, the line number, the associated code combination ID, and the debits or credits associated with the journal line. STATUS is ’U’ for unposted or ’P’ for posted.<br />
<br />
<b>GL_PERIODS</b><br />
Stores information about the accounting periods you define using the Accounting Calendar form. Each row includes the start date and end date of the period, the period type, the fiscal year, the period number, and other information. There is a one–to–many relationship between a row in the GL_PERIOD_SETS table and rows inthis table.<br />
<br />
<b>GL_JE_HEADERS</b><br />
Stores journal entries. There is a one–to–many relationship between journal entry batches and journal entries. Each row in this table includes the associated batch ID, the journal entry name and description, and other information about the journal entry. This table corresponds to the Journals window of the Enter Journals form. STATUS is ’U’ for unposted, ’P’ for posted.<br />
<br />
<b>GL_JE_BATCHES</b><br />
Stores journal entry batches. Each row includes the batch name, description, status, running total debits and credits, and other information. This table corresponds to the Batch window of the Enter Journals form. STATUS is ’U’ for unposted, ’P’ for posted, ’S’ for selected, ’I’ for in the process of being posted. Other values of status indicate an error condition. STATUS_VERIFIED is ’N’ when you create or modify an unposted journal entry batch.<br />
<br />
<b>GL_BALANCES</b><br />
Stores actual, budget, and encumbrance balances for detail and summary accounts. This table stores functional currency, foreign currency, and statistical balances for each accounting period that has ever been opened.<br />
ACTUAL_FLAG is either ’A’, ’B’, or ’E’ for actual, budget, or encumbrance balances, respectively. If ACTUAL_FLAG is ’B’, then BUDGET_VERSION_ID is required. If ACTUAL_FLAG is ’E’, then ENCUMBRANCE_TYPE_ID is required.<br />
<br />
<b>GL_CODE_COMBINATIONS</b><br />
Stores valid account combinations foreach Accounting Flexfield structure within your Oracle General Ledger application. Associated with each account are certain codes and flags, including whether the account is enabled, whether detail posting ordetail budgeting is allowed, and others.<br />
<br />
<b><u>Common Oracle Apps General Ledger (GL Queries)</u></b><br />
<b>--Journal header summary</b><br />
<i><span style="font-size: x-small;">SELECT sob.SHORT_NAME"Book"</span></i><br />
<i><span style="font-size: x-small;">,<span class="Apple-tab-span" style="white-space: pre;"> </span> gjh.STATUS</span></i><br />
<i><span style="font-size: x-small;">,<span class="Apple-tab-span" style="white-space: pre;"> </span> gjh.POSTED_DATE</span></i><br />
<i><span style="font-size: x-small;">,<span class="Apple-tab-span" style="white-space: pre;"> </span> gjh.CREATION_DATE</span></i><br />
<i><span style="font-size: x-small;">,<span class="Apple-tab-span" style="white-space: pre;"> </span> gls.user_je_source_name"Source"</span></i><br />
<i><span style="font-size: x-small;">,<span class="Apple-tab-span" style="white-space: pre;"> </span> glc.user_je_category_name"Category"</span></i><br />
<i><span style="font-size: x-small;">,<span class="Apple-tab-span" style="white-space: pre;"> </span> gjh.PERIOD_NAME"Period"</span></i><br />
<i><span style="font-size: x-small;">,<span class="Apple-tab-span" style="white-space: pre;"> </span> gjb.NAME"Batch Name"</span></i><br />
<i><span style="font-size: x-small;">,<span class="Apple-tab-span" style="white-space: pre;"> </span> gjh.NAME"Journal Name"</span></i><br />
<i><span style="font-size: x-small;">,<span class="Apple-tab-span" style="white-space: pre;"> </span> gjh.currency_code"Currency"</span></i><br />
<i><span style="font-size: x-small;">FROM GL_JE_BATCHES gjb, GL_JE_HEADERS gjh,GL_SETS_OF_BOOKS sob,</span></i><br />
<i><span style="font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> GL_JE_SOURCES gls, GL_JE_CATEGORIES glc</span></i><br />
<i><span style="font-size: x-small;">WHERE gjb.JE_BATCH_ID = gjh.JE_BATCH_ID</span></i><br />
<i><span style="font-size: x-small;">AND gjh.SET_OF_BOOKS_ID = sob.set_of_books_id</span></i><br />
<i><span style="font-size: x-small;">AND gls.JE_SOURCE_NAME = gjh.JE_SOURCE</span></i><br />
<i><span style="font-size: x-small;">AND glc.JE_CATEGORY_NAME = gjh.JE_CATEGORY</span></i><br />
<i><span style="font-size: x-small;">--and gjh.NAME <span class="Apple-tab-span" style="white-space: pre;"> </span> = 'QUV-DECLARATION TVA 11/04'<span class="Apple-tab-span" style="white-space: pre;"> </span> <span class="Apple-tab-span" style="white-space: pre;"> </span> -- JOURNAL NAME<span class="Apple-tab-span" style="white-space: pre;"> </span> </span></i><br />
<i><span style="font-size: x-small;">--and gls.user_je_source_name like '%Mass%'<span class="Apple-tab-span" style="white-space: pre;"> </span> -- JOURNAL SOURCE</span></i><br />
<i><span style="font-size: x-small;">--AND glc.user_je_category_name= 'Adjustment'<span class="Apple-tab-span" style="white-space: pre;"> </span> -- JOURNAL CATEGORY</span></i><br />
<i><span style="font-size: x-small;">--and gjh.PERIOD_NAME in ('MAY-06')<span class="Apple-tab-span" style="white-space: pre;"> </span> <span class="Apple-tab-span" style="white-space: pre;"> </span> -- JOURNAL PERIOD</span></i><br />
<i><span style="font-size: x-small;">and (trunc(gjh.creation_date) >= to_date('01/07/2002','dd/mm/yyyy')</span></i><br />
<i><span style="font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>or trunc(gjh.posted_date) >= to_date('01/07/2002','dd/mm/yyyy'))</span></i><br />
<i><span style="font-size: x-small;">--and substr(sob.short_name,1,2) in ('DE')</span></i><br />
<i><span style="font-size: x-small;">order by 1,2 desc,3,4,5,7</span></i><br />
<br />
<b>--Interface Details</b><br />
<span style="font-size: x-small;"><i>SELECT<span class="Apple-tab-span" style="white-space: pre;"> </span>SOB.SHORT_NAME "BOOK"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span> GLI.SET_OF_BOOKS_ID "SOB ID"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>TRUNC(GLI.ACCOUNTING_DATE) "GL DATE"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.CURRENCY_CODE "CUR"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.USER_JE_CATEGORY_NAME "JE CATEGOTY"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.USER_JE_SOURCE_NAME "JE SOURCE"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.ENTERED_DR "ENT DR"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.ENTERED_CR "ENT CR"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.ACCOUNTED_DR "ACC DR"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.ACCOUNTED_CR "ACC CR"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.SEGMENT1||'.'||GLI.SEGMENT2||'.'||GLI.SEGMENT3||'.'||GLI.SEGMENT4||'.'||GLI.SEGMENT5</i></span><br />
<span style="font-size: x-small;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>||'.'||GLI.SEGMENT6||'.'||GLI.SEGMENT7||'.'||GLI.SEGMENT8||'.'||GLI.SEGMENT9||'.'||GLI.SEGMENT10 "ACCOUNT COMB."</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.REFERENCE1 "REF 1"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.REFERENCE2 "REF 2"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.REFERENCE4 "REF 4"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.REFERENCE7 "REF 7"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.REFERENCE10 "REF 10"</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.WARNING_CODE</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.STATUS_DESCRIPTION</i></span><br />
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span>GLI.STATUS</i></span><br />
<span style="font-size: x-small;"><i>--SELECT GLI.REFERENCE10 "REF 10"</i></span><br />
<span style="font-size: x-small;"><i>--SELECT DISTINCT GLI.SEGMENT4--,GLI.SEGMENT2, GLI.SEGMENT3, SOB.SHORT_NAME, GLI.SET_OF_BOOKS_ID</i></span><br />
<span style="font-size: x-small;"><i>FROM GL_INTERFACE GLI, GL_SETS_OF_BOOKS SOB</i></span><br />
<span style="font-size: x-small;"><i>WHERE SOB.SET_OF_BOOKS_ID(+) = GLI.SET_OF_BOOKS_ID </i></span><br />
<span style="font-size: x-small;"><i>--AND GLI.WARNING_CODE IS NOT NULL</i></span><br />
<span style="font-size: x-small;"><i>--AND GLI.STATUS <> 'P'</i></span><br />
<span style="font-size: x-small;"><i>and GLI.USER_JE_SOURCE_NAME = 'Payables'</i></span><br />
<span style="font-size: x-small;"><i>--and trunc(GLI.DATE_CREATED) > '01-DEC-2005'</i></span><br />
<span style="font-size: x-small;"><i>--and GLI.CURRENCY_CODE = 'GBP'</i></span><br />
<span style="font-size: x-small;"><i>--and (GLI.ENTERED_DR <> GLI.ACCOUNTED_DR</i></span><br />
<span style="font-size: x-small;"><i>--<span class="Apple-tab-span" style="white-space: pre;"> </span>or GLI.ENTERED_CR <> GLI.ACCOUNTED_CR)</i></span><br />
<span style="font-size: x-small;"><i>--and GLI.USER_JE_CATEGORY_NAME = 'Bill'</i></span><br />
<span style="font-size: x-small;"><i>--and substr(SOB.SHORT_NAME,1,2) in ('BE')</i></span><br />
<span style="font-size: x-small;"><i>--and GLI.SEGMENT3 = '8181'</i></span><br />
<span style="font-size: x-small;"><i>--AND GLI.STATUS_DESCRIPTION IS NOT NULL</i></span><br />
<span style="font-size: x-small;"><i>order by 3</i></span><br />
<br />
<b>--Journal line details</b><br />
<div style="text-align: left;">
<span style="font-size: x-small;"><i>SELECT SOB.SHORT_NAME</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span> SOB.NAME</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span> GJH.NAME</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span> GCC.SEGMENT1||'-'||GCC.SEGMENT2||'-'||GCC.SEGMENT3||'-'||GCC.SEGMENT4||'-'||GCC.SEGMENT5||'-'||GCC.SEGMENT6||'-'||GCC.SEGMENT7||'-'||GCC.SEGMENT8||'-'||GCC.SEGMENT9 "ACCOUNT"</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span> GJH.CURRENCY_CODE</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span> SUM(GJL.ACCOUNTED_DR)"DR"</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span> SUM(GJL.ACCOUNTED_CR)"CR"</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span> SUM( NVL(GJL.ACCOUNTED_DR,0) - NVL(GJL.ACCOUNTED_CR,0))"END BALANCE"</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span> GJL.PERIOD_NAME</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>FROM GL_JE_LINES GJL</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span> GL_JE_HEADERS GJH</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>, <span class="Apple-tab-span" style="white-space: pre;"> </span> GL_CODE_COMBINATIONS GCC</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>,<span class="Apple-tab-span" style="white-space: pre;"> </span> GL_SETS_OF_BOOKS SOB</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>WHERE GJL.CODE_COMBINATION_ID = GCC.CODE_COMBINATION_ID</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>AND GJL.JE_HEADER_ID = GJH.JE_HEADER_ID</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>AND GJL.SET_OF_BOOKS_ID = GJH.SET_OF_BOOKS_ID</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>AND SOB.SET_OF_BOOKS_ID = GJH.SET_OF_BOOKS_ID</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>AND SOB.SET_OF_BOOKS_ID = GJL.SET_OF_BOOKS_ID</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>AND GJL.PERIOD_NAME = 'JUL-03'</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>--AND SOB.SHORT_NAME = 'GBMAN'</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>--AND GJH.NAME LIKE '%PPL%'</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>--AND GCC.SEGMENT1 = '85'</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>--AND GCC.SEGMENT2 = '70'</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>--AND GCC.SEGMENT3 = '0000'</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>--AND GCC.SEGMENT4 = '88165'</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>--AND GJH.STATUS = 'P'</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>--AND GJL.EFFECTIVE_DATE >= TO_DATE('06/04/2002','DD/MM/YYYY')</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>--AND GJL.EFFECTIVE_DATE <= TO_DATE('30/11/2002','DD/MM/YYYY')</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>GROUP BY SOB.SHORT_NAME, SOB.NAME, GJH.NAME</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>, GCC.SEGMENT1||'-'||GCC.SEGMENT2||'-'||GCC.SEGMENT3||'-'||GCC.SEGMENT4||'-'||GCC.SEGMENT5||'-'||GCC.SEGMENT6||'-'||GCC.SEGMENT7||'-'||GCC.SEGMENT8||'-'||GCC.SEGMENT9</i></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><i>,GJH.CURRENCY_CODE, GJL.PERIOD_NAME</i></span></div>
</div>
Anonymoushttp://www.blogger.com/profile/06498460618677524250noreply@blogger.com241tag:blogger.com,1999:blog-345010455501069031.post-35692894712153857362015-08-11T22:57:00.002-07:002015-08-11T22:57:50.892-07:00Oracle Apps Web ADI: Modify Default upload Parameters<div dir="ltr" style="text-align: left;" trbidi="on">
<h2 style="background-color: white; border: 0px; clear: both; color: #2c2c33; font-family: 'Droid Serif', serif; font-size: 2.1rem; font-weight: 400; margin: 0px 0px 0.5238095238em; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px;">To change the default value of the Oracle Applications Web ADI Journal Upload parameters for the Descriptive FlexField Import and Validation.</span></h2>
<h2 style="background-color: white; border: 0px; clear: both; color: #2c2c33; font-family: 'Droid Serif', serif; font-size: 2.1rem; font-weight: 400; margin: 0px 0px 0.5238095238em; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px;">1. From the Menu Associated with Responsibility, note the Function value for the menu item you use to </span><span style="color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px;">create your document with. Close the form after noting the name. </span><span style="color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px;">For R12 GL it will be </span><span style="color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px;">GL_ADI_CREATE_DOCUMENT function.</span></h2>
<div style="background-color: white; border: 0px; color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px; margin-bottom: 1.5714285714em; outline: 0px; padding: 0px; vertical-align: baseline;">
2. In system Administrator Navigate to Application, and click Function. Search for the form function name you noted </div>
<div style="background-color: white; border: 0px; color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
3. Change the Parameter value for your form function to the required value</div>
<div style="background-color: white; border: 0px; color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
For example, it might be set to:<br /> bne:page=BneCreateDoc&bne:importFlex=IMPORTNOVALIDATION</div>
<div style="background-color: white; border: 0px; color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px; margin-bottom: 1.5714285714em; outline: 0px; padding: 0px; vertical-align: baseline;">
<br /></div>
<div style="background-color: white; border: 0px; color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
The parameter bne:importFlex can have the values:<br />– IMPORTVALIDATION (import DFF with validation)<br />– IMPORTNOVALIDATION (import DFF without validation)<br />– NOIMPORT (no import DFF)</div>
<div style="background-color: white; border: 0px; color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px; margin-bottom: 1.5714285714em; outline: 0px; padding: 0px; vertical-align: baseline;">
4. Save your form function, then close the form.</div>
<div style="background-color: white; border: 0px; color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px; margin-bottom: 1.5714285714em; outline: 0px; padding: 0px; vertical-align: baseline;">
5. Select “Requests” from the “View” menu in forms – and monitor the “Compile Security” request to ensure your menus are recompiled. Exit out Oracle Applications.</div>
<div style="background-color: white; border: 0px; color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px; margin-bottom: 1.5714285714em; outline: 0px; padding: 0px; vertical-align: baseline;">
<br /></div>
<div style="background-color: white; border: 0px; color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px; margin-bottom: 1.5714285714em; outline: 0px; padding: 0px; vertical-align: baseline;">
<br /></div>
<h2 style="background-color: white; border: 0px; clear: both; color: #2c2c33; font-family: 'Droid Serif', serif; font-size: 2.1rem; font-weight: 400; margin: 0px 0px 0.5238095238em; outline: 0px; padding: 0px; vertical-align: baseline;">
<a href="https://support.oracle.com/epmos/faces/DocumentDisplay?id=344780.1" style="border: 0px; color: #2c807f; font-family: inherit; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 22px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">NOTE:344780.1</a><span style="color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px;"> </span><span style="color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px;">– WebADI – Is It Possible to Change the Upload Parameter Values that Default When Creating Document and Uploading to GL?</span><a href="https://www.blogger.com/null" name="REF" style="border: 0px; color: #2c807f; font-family: inherit; font-size: 21px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></a></h2>
<div style="background-color: white; border: 0px; color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px; margin-bottom: 1.5714285714em; outline: 0px; padding: 0px; vertical-align: baseline;">
<a href="https://support.oracle.com/epmos/faces/BugDisplay?id=5247233" style="border: 0px; color: #2c807f; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">BUG:5247233</a> – WEB ADI – JOURNAL IMPORT (JOURNAL IMPORT) NOT IMPORTING DESCRIPTIVE FLEXFIELDS</div>
<div style="background-color: white; border: 0px; color: #3c3d47; font-family: Georgia, serif; font-size: 14px; line-height: 22px; margin-bottom: 1.5714285714em; outline: 0px; padding: 0px; vertical-align: baseline;">
Web ADI, Oracle Applications, DFF, Descriptive Flex Field, Journal import</div>
</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com2tag:blogger.com,1999:blog-345010455501069031.post-49222976564912052752015-07-11T08:53:00.000-07:002015-07-11T08:53:04.382-07:00Oracle Forms Personalization: when validate record fires multiple times<div dir="ltr" style="text-align: left;" trbidi="on">
In Oracle Apps if your doing a personalization on Oracle Forms and requirement is to Display a Message on WHEN-VALIDATE-RECORD. Its typical that WHEN-VALIDATE-RECORD fires multiple times and the Message will be displayed multiple times.<br />
<br />
The way to handle this situation is simply to check the RECORD STATUS is in NEW CHANGED. Include the below condition in your personlization<br />
<br />
<span style="color: white; font-family: Open Sans, sans-serif;"><span style="background-color: #534d4d; font-size: 15px; line-height: 18px;">:SYSTEM.RECORD_STATUS IN ('NEW','CHANGED')</span></span><br />
<span style="color: white; font-family: Open Sans, sans-serif;"><span style="background-color: #534d4d; font-size: 15px; line-height: 18px;"><br /></span></span>
<span style="color: white; font-family: Open Sans, sans-serif;"><span style="background-color: #534d4d; font-size: 15px; line-height: 18px;"><br /></span></span>
<span style="color: white; font-family: Open Sans, sans-serif;"><span style="background-color: #534d4d; font-size: 15px; line-height: 18px;"><br /></span></span>
<span style="color: white; font-family: Open Sans, sans-serif;"><span style="background-color: #534d4d; font-size: 15px; line-height: 18px;"><br /></span></span>
<span style="color: white; font-family: Open Sans, sans-serif;"><span style="background-color: #534d4d; font-size: 15px; line-height: 18px;"><br /></span></span>
<span style="color: white; font-family: Open Sans, sans-serif;"><span style="background-color: #534d4d; font-size: 15px; line-height: 18px;"><br /></span></span></div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com1tag:blogger.com,1999:blog-345010455501069031.post-18863995422395257362015-06-26T09:12:00.001-07:002015-06-26T09:12:16.398-07:00Oracle Apps documentation: R12 docs and 11i Docs<div dir="ltr" style="text-align: left;" trbidi="on">
Oracle provides several User and implementation guides for each module, below are the important links that provide them<br />
<br />
<br />
R12:<br />
http://docs.oracle.com/cd/B34956_01/current/html/docset.html<br />
<br />
<br />
11i:<br />
http://docs.oracle.com/cd/B25284_01/current/html/docset.html<br />
<br />
Oracle Etrm link:<br />
<span class="st" style="-webkit-text-stroke-width: 0px; background-color: white; color: #545454; font-family: arial, sans-serif; font-size: x-small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.4; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; word-wrap: break-word;"></span><br />
<div class="f kv _SWb" style="-webkit-text-stroke-width: 0px; background-color: white; color: grey; display: block; font-family: arial, sans-serif; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; height: 17px; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: nowrap; widows: 1; word-spacing: 0px;">
<cite class="_Rm" style="color: #006621; font-size: 14px; font-style: normal;"><b>https://etrm</b>.<b>oracle</b>.com/</cite><div class="action-menu ab_ctl" style="-webkit-user-select: none; display: inline; margin: 0px 3px; position: relative; vertical-align: middle;">
<a aria-expanded="false" aria-haspopup="true" aria-label="Result details" class="_Fmb ab_button" data-ved="0CB8Q7B0wAA" href="https://www.google.com/#" id="am-b0" jsaction="m.tdd;keydown:m.hbke;keypress:m.mskpe" role="button" style="-webkit-transition: none; -webkit-user-select: none; background-color: white; background-image: none; border-radius: 0px; border: 0px; box-shadow: 0px 0px 0px 0px; color: grey; cursor: default; display: inline-block; filter: none; font-family: arial, sans-serif; font-size: 11px; font-weight: bold; height: 12px; line-height: 27px; margin: 0px; min-width: 0px; padding: 0px; text-align: center; text-decoration: none; transition: none; width: 13px;"><span class="mn-dwn-arw" style="border-color: rgb(0, 102, 33) transparent; border-style: solid; border-width: 4px 4px 0px; height: 0px; left: 0px; margin-left: 3px; margin-top: -4px; position: absolute; top: 8.5px; width: 0px;"></span></a><div class="action-menu-panel ab_dropdown" data-ved="0CCAQqR8wAA" jsaction="keydown:m.hdke;mouseover:m.hdhne;mouseout:m.hdhue" role="menu" style="-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px; -webkit-transition: opacity 0.218s; background: rgb(255, 255, 255); border: 1px solid rgba(0, 0, 0, 0.2); box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px; font-size: 13px; left: 0px; padding: 0px; position: absolute; right: auto; top: 12px; transition: opacity 0.218s; visibility: hidden; white-space: nowrap; z-index: 3;" tabindex="-1">
<ul style="border: 0px; margin: 0px; padding: 0px;">
<li class="action-menu-item ab_dropdownitem" role="menuitem" style="-webkit-user-select: none; border: 0px; cursor: pointer; list-style: none; margin: 0px; padding: 0px;"><a class="fl" href="https://www.google.com/search?biw=1366&bih=667&q=related:etrm.oracle.com/+etrm+oracle&tbo=1&sa=X&ei=knmNVbrtEsjRoASIsYCQBw&sqi=2&ved=0CCEQHzAA" style="color: #333333; cursor: pointer; display: block; font-size: 14px; outline: 0px; padding: 7px 18px; text-decoration: none;"></a></li>
</ul>
</div>
</div>
</div>
<h3 class="r" style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 18px; font-weight: normal; margin: 0px; overflow: hidden; padding: 0px; text-overflow: ellipsis; white-space: nowrap;">
<br /></h3>
</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com0tag:blogger.com,1999:blog-345010455501069031.post-72640364506895523962015-06-24T21:50:00.001-07:002015-06-24T21:50:29.412-07:00Oracle Global Temporary Tables<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Global Temporary Tables (GTT)</u></b><br />
Applications often use some form of temporary data store for processes that are to complicated to complete in a single pass. Often, these temporary stores are defined as database tables or PL/SQL tables. From Oracle 8i onward, the maintenance and management of temporary tables can be delegated to the server by using Global Temporary Tables.<br />
<br />
<b><u>Creation of Global Temporary Tables</u></b><br />
The data in a global temporary table is private, such that data inserted by a session can only be accessed by that session. The session-specific rows in a global temporary table can be preserved for the whole session, or just for the current transaction. The ON COMMIT DELETE ROWS clause indicates that the data should be deleted at the end of the transaction.<br />
<br />
CREATE GLOBAL TEMPORARY TABLE XXX_temp_table (<br />
COL1 NUMBER,<br />
COL2 NUMBER<br />
) ON COMMIT DELETE ROWS;<br />
<br />
<br />
In contrast, the <b>ON COMMIT PRESERVE ROWS</b> clause indicates that rows should be preserved until the end of the session.<br />
CREATE GLOBAL TEMPORARY TABLE XXX_temp_table (<br />
COL1 NUMBER,<br />
COL2 NUMBER<br />
) ON COMMIT PRESERVE ROWS;<br />
<br />
<br />
<b><u>Important points</u></b><br />
If the TRUNCATE statement is issued against a temporary table, only the session specific data is truncated. There is no affect on the data of other sessions.<br />
<br />
Data in temporary tables is stored in temp segments in the temp tablespace.<br />
<br />
Data in temporary tables is automatically deleted at the end of the database session, even if it ends abnormally.<br />
<br />
Indexes can be created on temporary tables. The content of the index and the scope of the index is the same as the database session.<br />
<br />
Views can be created against temporary tables and combinations of temporary and permanent tables.<br />
Temporary tables can have triggers associated with them.<br />
<br />
Export and Import utilities can be used to transfer the table definitions, but no data rows are processed.<br />
<br />
Statistics on temporary tables are common to all sessions. Oracle 12c allows session specific statistics.<br />
<br />
There are a number of restrictions related to temporary tables but these are version specific.</div>
Santosh Dhongadehttp://www.blogger.com/profile/04012283373396321100noreply@blogger.com1