shilpa vijay

Greenhorn
+ Follow
since Mar 29, 2009
Merit badge: grant badges
For More
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 shilpa vijay

I want to implement functionlity for drag and drop component based gui just like as igoogle.how to implement that .
Please help me .it is urgent
14 years ago
I am struts validation.xml for a field called name.
If entered name is not John then show message 'John not allowed'
how to do it........
Please help me
14 years ago
I solved the problem.
As I was trying to update 100 records at a time...it is updating successfully
close connection wherver required,make sure that while updating records there shd be only one active connection .
If if more than active conjection ,then this type of error will occur.

I want to update 100 records in a table ,I am using batchUpdate but it is giving following error
Lock wait timeout exceeded; try restarting transaction
at com.mysql.jdbc.StatementImpl.executeBatch(StatementImpl.java:1008)
at Task.Sample.updateUrl(Sample.java:115)
at Task.Sample.fetchHundredRecordFromURLS(Sample.java:50)
at Task.Sample.fetchHundredRecordFromURLS(Sample.java:58)
at Task.Sample.main(Sample.java:138)

how to overcome this.
I am using mysql