can I use setObject()
method of PreparedStatement
for all datatypes(like string, int, double..) for Oracle database and in its OJDBC?
Possible duplicate is this :
But I want to know about using it for Oracle database and OJDBC. What are possible problems?
The possible problems are:
My advise is to use setObject only if absolutely necessary.