This works pretty well without any problem. But when I want to use PreparedStatement instead of Statement I receive the ORA-03115 error message, that is, when I replace the Statement with PreparedStatement in the following way:
I get the following:
Therefore, right after
the exception is thrown,
why it works with Statement but not with PreparedStatement? I tested with several other queries, insert a new row, delete a row, everytime it works well, but when I want to use PreparedStatement instead of Statement, again I have this error message.
Gregg Bolinger wrote:Google turns up a ton of good info about this error message
Thanks for your reply. I have been googling since yesterday, but I have not found any thread among HOWTOs and several forums (including this one) that explains my problem. That's why I posted here to get some help specifically about my class connection to the database.