4.2 JDBC APPLICATION FUNDAMENTALS As we discussed in Section 3.1 in Chapter 3, to run a Java database application to perform data actions against the selected database, the JDBC API
Category: Using the CallableStatement Object
Executing Statements – JDBC Applications and Design ConsiderationsExecuting Statements – JDBC Applications and Design Considerations
4.2.3 Executing Statements To successfully execute an appropriate Statement object to perform Oracle statements, the following operational sequence should be followed: 1) Creating a Statement object based on the requirements
Using the CallableStatement Object – JDBC Applications and Design ConsiderationsUsing the CallableStatement Object – JDBC Applications and Design Considerations
4.2.3.4 Using the CallableStatement Object As we discussed in the early part of this chapter, CallableStatement is a subclass of both Statement and PreparedStatement, and this interface is mainly used
Executing the CallableStatement Object – JDBC Applications and Design ConsiderationsExecuting the CallableStatement Object – JDBC Applications and Design Considerations
4.2.3.4.5 Executing the CallableStatement Object To run a CallableStatement object, three execution methods can be used: executeQuery(), executeUpdate() and execute(). As we discussed in Section 4.2.3.1, the executeQuery() method can
JDBC Escape Syntax – JDBC Applications and Design ConsiderationsJDBC Escape Syntax – JDBC Applications and Design Considerations
4.2.3.6.3 JDBC Escape Syntax When JDBC performs an Oracle statement, it does not check the Oracle grammar, and you can send any Oracle statement to your database. This gives you
Retrieving Results – JDBC Applications and Design ConsiderationsRetrieving Results – JDBC Applications and Design Considerations
4.2.4 Retrieving Results Based on the different Oracle statements, three execution methods can be used to run an associated Oracle statement. As we discussed in Section 4.2.3.1, each execution method
Getting and Processing the ResultSet Object – JDBC Applications and Design ConsiderationsGetting and Processing the ResultSet Object – JDBC Applications and Design Considerations
4.2.4.2 Getting and Processing the ResultSet Object When an Oracle data query is executed, the returned result is stored in a ResultSet object, and this ResultSet object can be created
Using the ParameterMetaData Interface – JDBC Applications and Design ConsiderationsUsing the ParameterMetaData Interface – JDBC Applications and Design Considerations
4.2.5.3 Using the ParameterMetaData Interface Detailed information about the parameters passed into or from the database can be obtained by calling the getParameterMetaData() method that is defined in the PreparedStatement
CHAPTER SUMMARY – JDBC Applications and Design ConsiderationsCHAPTER SUMMARY – JDBC Applications and Design Considerations
4.3 CHAPTER SUMMARY The application fundamentals of JDBC and the JDBC API, which include the application models and operational procedures of the JDBC API implemented in Java database applications, are
The Apache NetBeans Platform – Introduction to Apache NetBeans IDEThe Apache NetBeans Platform – Introduction to Apache NetBeans IDE
5.1.1 The Apache NetBeans Platform The Apache NetBeans Platform is a broad Swing-based framework on which you can base large desktop applications. The IDE itself is based on the NetBeans