praveen oruganti

Ranch Hand
+ Follow
since Feb 05, 2007
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by praveen oruganti

I am getting ORA-00001 unique constraint issue while doing batch insert in a table and i am using NEXTVAL function while inserting.

Please let me know how to resolve this.


I am having string like "65234Markets6713Investments".

I need to seperate this string as 65234,Markets,6713,Investments.


I have used the logic like :



But i am able to get the ouput like 65234,Markets6713,Investments.

can any one help me out in this.


14 years ago
I am using HTMLParser for parsing html and getting the data of a table.


praveen 1 sbncbndx
1 xchh
lucky 1 sbncbndx
sample 1 xchh


i am having a table lke the above.

I am filitering the table depending on the table idi.e.. parveen.[please refer below op.html]

i need to get the data like 1,sbncbndx,1,xchh.

I have given the logic below.

But i am not able to get the output.

Can anyone guide me on this.









[/code]
14 years ago
"Avoid using inline conditions like conditional operators in java code".

It is predicting by checkstyle plugin. Whether there is any performance affects related to the above quote
15 years ago
Whether there is any performance increase by using entrySet compared to keySet for a Hashmap.
When i run the findbugs plugins, it is showing use entrySet rather going for keySet in the performance category.

Anyone experience these kind of performance issues...
15 years ago
Yes i got it, Whenever we close the writer it will automatically calls the flush first.
15 years ago
Whether it is necessary to introduce the flush for the writer before closing it.
15 years ago
Hi,

I am having a small doubt rgarding closing of writers in java.

I have written a method called getStackTrace in my program.

public static String getStackTrace(Throwable aThrowable) {
final StringWriter result = new StringWriter();
final PrintWriter printWriter = new PrintWriter(result);
aThrowable.printStackTrace(printWriter);
return result.toString();
}
Whether i need to close the StringWriter and PrintWriter compulsory due to unclosing of writers whether it causes any memory leak due to temporary unused java objects.

Please guide me in this regard.
15 years ago
Hi,

I am preparing for OCA exam.

Can anyone please provide mock exams for IZ0-007 and IZ0-147 exams.
Can anyone please help me in comparing two different DOM trees.

For eg:

My First XML contatining the following tags:

<MAIN>
<HEAD>
<LENGTH>
<lo>125</lo>
<po><224></po>
</LENGTH>
<BREADTH>
<bo>223</bo>
<go>111</go>
</BREADTH>
</HEAD>
</MAIN>

My second xml containing the following tags:

<MAIN>
<HEAD>
<LENGTH>
<lo>125</lo>
<ko>333>/ko>
<po><224></po>
</LENGTH>
<BREADTH>
<bo>223</bo>
<go>111</go>
<fo>333>/fo>
</BREADTH>
</HEAD>
</MAIN>

I have successfully created DOM trees for both of the xml's and tried to compare those.

But i have successfully compared the DOM trees when those have the same structure.

But i am not able to compare the above two xml's.

Can anyone please help me in this regard.

Regards,
Praveen
Can anyone please explain the uses of Filters...
Thanks for your reply


If you find anyother mocks please post here
Can anyone post the mock exam links for scwcd1.4. I have found some but many mock exams are reffering to scwcd 1.3.

Please post those links..