aspose file tools*
The moose likes JDBC and the fly likes java.lang.InstantiationError: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "java.lang.InstantiationError:" Watch "java.lang.InstantiationError:" New topic


punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
i am getting error when i try to run the procedure from my java program please help me.

java.lang.InstantiationError: oracle.jdbc.driver.OracleCallableStatement
at oracle.jdbc.driver.OracleConnection.privatePrepareCall(
at oracle.jdbc.driver.OracleConnection.prepareCall(
at CommonDAO.prepareCall(Unknown Source)
at TestProcedureDAO.CheckFlag(Unknown Source)

Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381
Yoinks! That is not a good error. Something has gone badly wrong here. Possibly you tried something bad like feeding a null into prepareCall? Please put some debugging statements around the offending code so that you can find out exactly what code the problem originates in and what yu are doing at the time.

On the one hand this kind of error is a driver failure in that it should not be throwing that type of exception.... but ultimatley placing blame won't actually help you get your problem resolved. So gather more information about where the problem is happening and what you are doing in your code when it happens.
punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
Thanks for u r replay
punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
thanks for ur replay

this error is happening when ever i am calling stored procedure.and one more thing it's not happening frequently,some times it's happening and some times it's not happening

i am useing WAS version and rsadapter.jar file for connection.

could you please help me out?

this is codeing error or driver mis match error

waiting for ur Quick Replay

thanks for ur assistance

Consider Paul's rocket mass heater.
subject: java.lang.InstantiationError:
Similar Threads
Protocol Violation
DB Error
Java Oracle Connectivity (JDBC:ODBC)
What are these JVM Errors??
JDBC connection to Oracle 8.0.5