This topic contains a solution. Click here to go to the answer

Author Question: Suppose a callable statement is created as follows:CallableStatement callableStatement = ... (Read 75 times)

pane00

  • Hero Member
  • *****
  • Posts: 579
Suppose a callable statement is created as follows:

CallableStatement callableStatement = connection.prepareCall(
"{call sampleProcedure(?, ?, ?)}");

Assume that the second parameter is an OUT parameter with value John. To register this parameter, use  ________.
◦ callableStatement.registerOutParameter(1, java.sql.Types.STRING);
◦ callableStatement.registerOutParameter(2, java.sql.Types.STRING);
◦ callableStatement.registerOutParameter(0, java.sql.Types.STRING);


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by pane00 on May 6, 2020

xthemafja

  • Sr. Member
  • ****
  • Posts: 348
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 50% of students answer this correctly




pane00

  • Member
  • Posts: 579
Reply 2 on: May 6, 2020
YES! Correct, THANKS for helping me on my review


momolu

  • Member
  • Posts: 320
Reply 3 on: Yesterday
Excellent

 

Did you know?

Historic treatments for rheumatoid arthritis have included gold salts, acupuncture, a diet consisting of apples or rhubarb, nutmeg, nettles, bee venom, bracelets made of copper, prayer, rest, tooth extractions, fasting, honey, vitamins, insulin, snow collected on Christmas, magnets, and electric convulsion therapy.

Did you know?

Women are two-thirds more likely than men to develop irritable bowel syndrome. This may be attributable to hormonal changes related to their menstrual cycles.

Did you know?

Street names for barbiturates include reds, red devils, yellow jackets, blue heavens, Christmas trees, and rainbows. They are commonly referred to as downers.

Did you know?

Vaccines prevent between 2.5 and 4 million deaths every year.

Did you know?

Intradermal injections are somewhat difficult to correctly administer because the skin layers are so thin that it is easy to accidentally punch through to the deeper subcutaneous layer.

For a complete list of videos, visit our video library