WHERE ID = ?
Consider the following statement:
prepStmt = dbConn.prepareStatement (” DELETE
FROM MyTable
WHERE ID = ?”);
The prepStmt member is of type PreparedStatement. The dbConn member is of type Connection
and represents a connection to a database. The ID column is an int data type. The value for the ?
placeholder in the SQL statement is held by a member variable named id. The id member’s value
was acquired via a getPhmaryKey() method. Which of the following statements would properly
execute the statement given in this question?
which these activities occur during a typical interaction between a client and an EJB?
Consider the following four activities that occur during a typical interaction between a client and an
enterprise bean:
1 .A reference to an EJB home object is returned to the client.
2.A reference to the EJB object is returned to the client.
3.JNDI is used to acquire a reference to an enterprise bean’s home object.
4.The client requests the bean’s home object to create or find an enterprise bean.
Which choice lists the correct order in which these activities occur during a typical interaction
between a client and an EJB?
which Java primitive data type?
The IDL type double maps to which Java primitive data type?
which code demonstrates an ejbCreate() method for an entity bean that uses container-managed persistence?
What is the return type for an ejbPostCreate() method?
What is the return type for an ejbPostCreate() method?
which statement is true of the getCustomerBalance method?
Which choice correctly describes the functionality of the begin() method of the UserTransaction interface?
Which choice correctly describes the functionality of the begin() method of the UserTransaction
interface?
Which statements correctly define a CORBA exception using IDL?
Which statements correctly define a CORBA exception using IDL?