Closed GoogleCodeExporter closed 8 years ago
First, why do you cast to OracleCallableStatement?
It's bad practice and you do not need that to call a stored procedure. You can
use only the standard java.sql API.
Then, if you want to cast to OracleCallableStatement, use in your code the
Statement.unwrap method first.
It was created for that in the java.sql API
http://docs.oracle.com/javase/6/docs/api/java/sql/Wrapper.html#unwrap%28java.lan
g.Class%29
Original comment by evernat@free.fr
on 11 Jul 2014 at 2:09
I know that, but my server has lots of old applications with bad practices of
programming. Okay, so to put JavaMelody in this environment I've to fix these
problems first. Right, this is the only solution?
Original comment by roger.tu...@gmail.com
on 14 Jul 2014 at 12:35
yes
Original comment by evernat@free.fr
on 14 Jul 2014 at 12:53
Ok, thank you.
Original comment by roger.tu...@gmail.com
on 14 Jul 2014 at 1:19
I hava a question, can I turn off the SQL monitoring for while, till I fix my
application problems, is that possible?
Original comment by roger.tu...@gmail.com
on 17 Jul 2014 at 2:23
I suggest that you fix your code instead.
Original comment by evernat@free.fr
on 18 Jul 2014 at 11:42
Original issue reported on code.google.com by
roger.tu...@gmail.com
on 10 Jul 2014 at 8:01