wood burning stoves 2.0*
The moose likes JDBC and the fly likes Very Urgent !!!...Sql Gets Hanged... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Very Urgent !!!...Sql Gets Hanged..." Watch "Very Urgent !!!...Sql Gets Hanged..." New topic
Author

Very Urgent !!!...Sql Gets Hanged...

Geeta Gune
Greenhorn

Joined: Mar 19, 2002
Posts: 17
I am using Oracle 9i.Everything is working fine but now when i try to insert in a specific table using SQL Plus ,it gets hanged..why??
If i insert it in a different table it does not give any problem.
Can anybody tell me what is the problem..
Please help..its very urgent..
Thanx
Geeta
Younes Essouabni
Ranch Hand

Joined: Jan 13, 2002
Posts: 479
Most often is that you have another editor or a pgm that is working in that specific table. Once some process occurs on a table, the table may get locked until the process finish.


Younes
By constantly trying one ends up succeeding. Thus: the more one fails the more one has a chance to succeed.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

A related problem that is close but not quite the same is transactions.
I've had a similar problem with SQL Plus (again when another process is running against the same database), but SQL Plus doesn't have autocommit set by default and will lock tables until you commit or rollback the transaction.
 
Consider Paul's rocket mass heater.
 
subject: Very Urgent !!!...Sql Gets Hanged...
 
Similar Threads
URGENT......
Inserting CLOB(URGENT)
Autoincrement column in iSeries & Hibernate (URGENT)
urgent
servlet and jdbc (urgent)