JDBC اسئلة واجوبة المقابلات
Question: How do you call a stored procedure from JDBC?Answer: The first step is to create a CallableStatement object. As with Statement an and PreparedStatement objects, this is done with an openConnection object. A CallableStatement object contains a call to a stored procedure. CallableStatement cs = con.prepareCall("{call SHOW_EMPLOYEES}"); ResultSet rs = cs.executeQuery(); |
احفظ للمراجعة
احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.
سجل الدخول لحفظ الإشارات المرجعية والاسئلة الصعبة ومجموعات المراجعة.
هل هذا مفيد؟ نعم لا
الاكثر فائدة حسب تقييم المستخدمين:
- What is JDBC? Describe the steps needed to execute a SQL query using JDBC.
- What are the steps involved in establishing a JDBC connection?
- Is JDBC-ODBC bridge multi-threaded?
- Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection?
- What are the different driver types available in JDBC?