Garlapati Ravi

Ranch Hand
+ Follow
since Mar 05, 2008
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Garlapati Ravi

Excellent!!! Thanks Rob. Link you provide is spot on.

This worked perfectly fine.

7 years ago
Just click on any column directly from the editing cell. Don't click on any other cell.

Please find the attached screenshots.

1)Edit the value in cell, without doing anything else, click on any column.

2)If click on any column, you can see in 2.png screenshot “my message” has disappeared

3)But If you click on any other cell, the value “my message” retains as in 3.png
7 years ago
Hi,

I am facing some peculiar issue with JTable.

Change value of a cell, without clicking on anywhere else, directly click on column (or) try to expand column size, value you entered in that cell vanishes. But if you click on any other cell instead of expanding column size, value will remain in cell. Not really sure how to fix this issue. I am clueless Please suggest.



Thanks,
Ravi
7 years ago
i tried with String array too.
String st[] = {"move","sourcefodler","destinationfolder"};
Runtime.getRuntime().exec(st);

This also gives the same error :-(
9 years ago
Hi everyone,

I have to zip all the files in a folder which has the timestamp more than 90days, for this i want to move all the files to a filder which ever has > 90days timestamp, to achive this i have used IO package, but the original time stamps of the files are changing to current date, to avoid this i started writing code in native "move" command, like below:



I am getting the below error, please help:

java.io.IOException: Cannot run program "move": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.ssga.jar.job.Sample.main(Sample.java:25)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 5 more
9 years ago
No able to correlate with my requirement, any example would be helpful ?
9 years ago
If not DecimalFormat class, is there anything else which will full fill my requirement.

Thanks,
Ravi
9 years ago
Hi All,

I did lot of google for my answer, no where i found anything:



Expected result is : 123.99, but i am getting 124.00 (doing round up)

Please help.

Regards,
Ravi
9 years ago
bit confusing about the SOAP versions mentioned in https://coderanch.com/how-to/java/ScdjwsLinks

Which version of the SOAP specification is tested on the OCE WSD 6 exam?
Answer: SOAP 1.1
Which version of the SOAP specification is tested on the SCDJWS 5.0 exam?
Answer: SOAP 1.2

how v6 supporting SOAP 1.1 and lower version v5 is supporting 1.2 ? is it a typo ? or is it like that ?
Hi All,

onMessage of MDB is not invoked, please correct me if i am doing wrong?



MDB code as follows:


Weblogic version : 10.3

my system.out.println messages are as below:
message is ::my FIRST JMS message
destination ::raviJMSModule!raviQueue
confactory ::weblogic.jms.client.JMSConnectionFactory@10a4d6b
message sent

if you see MDB messages are not fired

Thanks,
Ravi
Thanks for the document, how can we download it ?
Hi All,

Does anybody know a good material for JPA, i am preparing for CX-310-091.
I started reading EJB 3 in Action, JPA part is bit confusing, all JPA has been dumped at one place (personal opinion).
EJB3.0 is very well covered in this book in sequence order, couldn't find the same approach for JPA, i felt so.

any better material or book for JPA ?

Thanks,
Ravi
Hi All,

I started preparation for CX-310-091.

does anybody know when Oracle will officially release EJB3.1 exam ?
Shall i wait for EJB3.1 or gohead with EJB3.0 preparation/exam ?

Please suggest.

Thanks,
Ravi
Hi All,

The enterprise bean must not attempt to define a class in a package.


what does it means ?