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 57 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
Excellent


kilada

  • Member
  • Posts: 311
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

For about 100 years, scientists thought that peptic ulcers were caused by stress, spicy food, and alcohol. Later, researchers added stomach acid to the list of causes and began treating ulcers with antacids. Now it is known that peptic ulcers are predominantly caused by Helicobacter pylori, a spiral-shaped bacterium that normally exist in the stomach.

Did you know?

Amoebae are the simplest type of protozoans, and are characterized by a feeding and dividing trophozoite stage that moves by temporary extensions called pseudopodia or false feet.

Did you know?

Elderly adults are at greatest risk of stroke and myocardial infarction and have the most to gain from prophylaxis. Patients ages 60 to 80 years with blood pressures above 160/90 mm Hg should benefit from antihypertensive treatment.

Did you know?

Approximately 500,000 babies are born each year in the United States to teenage mothers.

Did you know?

More than 50% of American adults have oral herpes, which is commonly known as "cold sores" or "fever blisters." The herpes virus can be active on the skin surface without showing any signs or causing any symptoms.

For a complete list of videos, visit our video library