What do they mean with "accepts a scale value"?If the parameter is of JDBC type NUMERIC or DECIMAL, the version of registerOutParameter that accepts a scale value should be used.
Thanks in advance.
Moderator: admin
What do they mean with "accepts a scale value"?If the parameter is of JDBC type NUMERIC or DECIMAL, the version of registerOutParameter that accepts a scale value should be used.
Absolutely incorrect. Сreation and use in both cases is identical. The difficulties connected with SQL don't belong to a subject. Moreover, syntax for a call of procedures really is always effaced from the memory, whereas syntax of simple queries - no.A CallableStatement is easier to build and call from JDBC code than a PreparedStatement.
This is true because you don't have to write any SQL query in Java code. You just use the name of the stored procedure. The queries are already there inside the stored procedure, which exists in the Database and not in JDBC code.
Users browsing this forum: Bing [Bot] and 4 guests