JDBC 3.0 مقابل JDBC 4.0
راجع الفروقات بين JDBC 3.0 و JDBC 4.0 في جدول مقارنة منظم، ثم واصل إلى أسئلة المقابلات والاختبارات والمقارنات المشابهة.
الفرق بين
JDBC 3.0 مقابل JDBC 4.0 - مقارنة مهمة بين الموضوعات تساعدك على فهم الخيار الانسب لحالتك. اطلع على مقارنة JDBC 4.0 و JDBC 3.0 باعتبارها من اسئلة المقابلات الشائعة.
الفرق بين JDBC 3.0 و JDBC 4.0
JDBC 3.0 مقابل JDBC 4.0 - مقارنة مهمة بين الموضوعات تساعدك على فهم الخيار الانسب لحالتك. اطلع على مقارنة JDBC 4.0 و JDBC 3.0 باعتبارها من اسئلة المقابلات الشائعة.
|
JDBC 3.0
|
JDBC 4.0
|
|---|---|
| Features: - Reusabilty of prepared statements by connection pools. - In this version there is number of properties defined for the ConnectionPoolDataSource. These properties can be used to describe how the PooledConnection objects created by DataSource objects should be pooled. - A new concept has been added to this API is of savepoints: One of the useful new features is transactional savepoints. With JDBC 3.0, the transactional model is now more flexible. - Retrieval of parameter metadata. - It has added a means of retrieving values from columns containing automatically generated values. - Added a new data type i.e. java.sql.BOOLEAN. - Passing parameters to CallableStatement. - The data in the Blob and Clob can be altered: JDBC 3.0 introduces a standard mechanism for updating BLOB and CLOB data. - DatabaseMetaData API has been added. - It allows stored procedure parameters to be called by name. |
Features: - Auto- loading of JDBC driver class: In JDBC 4 invoking the getConnection() on DriverManager will automatically load a driver. - Connection management enhancements: In jdbc it may happen that a Connection is lying idle or not closed in a pool, then it became stale over time. This will led to the connection pool run out of resources due to stale connection. - Support for RowId data type: JDBC introduces support for ROWID, a data type that had been in use in database products even before it became part of the SQL. - SQL exception handling enhancements: JDBC 4 addresses the error handling beautifully. As databases are often remotely accessible resources, problems such as network failures is common and it can cause exceptions when executing a database operation. SQL statements can also cause exceptions. Prior to JDBC 4, most JDBC operations generated a simple SQLException. - SQL XML support. - DataSet implementation of SQL using Annotations: The JDBC 4.0 specification leverages annotations to allow developers to associate a SQL query with a Java class without a need to write a lot of code to achieve this association. |
احفظ للمراجعة
احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.
سجل الدخول لحفظ الإشارات المرجعية والاسئلة الصعبة ومجموعات المراجعة.
فروقات ذات صلة
استكشف مقارنات مشابهة مرتبطة بـ JDBC 3.0 و JDBC 4.0 للحصول على سياق أوسع وتحضير أفضل للمقابلات.
شاهد الفروقات بالاسفل
تصفح جميع المقارنات المتاحة أدناه، أو استخدم مربع البحث أعلاه لتضييق القائمة فورا.