This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Corrupted connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Corrupted connection" Watch "Corrupted connection" New topic
Author

Corrupted connection

Rajesh Pathak
Ranch Hand

Joined: Aug 15, 2002
Posts: 56
Hi,
What will happen when we get a corrupted connection object for a connection pool? Can the JDBC program recover from it?
Thanks in advance


Rajesh(Bangalore,India)<br />SCJP2, SCWCD, SCEA, IBM-XML, UML-OOAD, IBM-Enterprise Connectivity with J2EE.
Sajid Insaf
Greenhorn

Joined: Nov 26, 2002
Posts: 5
Rajesh,
Not sure what you mean by a corrupted connection object. Usually drivers are designed to handle any abnormalities while obtaining a connection or using a connection.
Having implemented the JDBC APIs, the driver should raise exceptions in such cases which would then be thrown up to the application.
Sajid.
Rajesh Pathak
Ranch Hand

Joined: Aug 15, 2002
Posts: 56
Thanks Sajid.
Actually this was a question asked to me in an interview. So, I am equally not sure what the interviewer wanted as answer :roll:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Corrupted connection
 
Similar Threads
common-dbcp.jar
Applet Not Working on Web Server
invalid CEN header (bad signature)
FileInputStream Not Working
Insert into db does not work, no errors doh !?