The PowerBuilder 12 ADO interface has been extended to support ADO.NET providers. Now, you can connect at runtime to any data source that adheres to the ADO.NET 2.0 Common Provider model.
Table 2.
ADO .NET Provider |
Enhancements for the ADO.NET Interface |
ADO.NET for Oracle |
ODP.NET Driver Updates Drivers for these ODP.NET versions are updated:
Both drivers are ADO.NET 2.0 compatible. The PowerBuilder ADO.NET interface no longer includes a driver for Oracle ODP.NET 9i. Users of that provider should migrate to Oracle ODP.NET 10g. New Features of ODP.NET 2.0 for Oracle 10.2 and Earlier
New Features for ODP.NET 2.0 for Oracle 11g
The following ADO.NET 1.1 features are not supported:
|
ADO.NET for Adaptive Server Enterprise |
Drivers for these ADO.NET versions are updated:
New Features for ASE 15 The ASE 15 ADO.NET driver supports these new ASE identity types:
|
ADO.NET for Microsoft SQL Server |
New Features for SQL Server 2005 and Earlier
New Features for SQL Server 2008 The following SQL Server 2008 features are supported:
The SQL Server date, time and datetime2 datatypes are mapped to PowerBuilder date, time and datetime types. varbinary(max) (filestream ) is mapped to the PowerBuilder blob type. The maximum scale of time or datetime2 is 6.
These SQL Server 2008 featues are not supported:
|
ADO.NET for SQL Anywhere |
Connect to a SQL Anywhere database using an iAnywhere.Data.SQLAnywhere provider. PowerBuilder applications can perform all database related operations, such as exploring SQL Anywhere database objects like tables and procedures, and retrieving and updating data in the Database Painter. |
ADO.NET for Informix |
The Informix DATETIME HOUR TO SECOND type is treated as type TIME in PowerBuilder. Also, the TIME type column is displayed in the Database Painter as DATETIME, because the two variants of Informix DATETIME type are indistinguishable in the resultset schema. The IBM.Data.Informix driver does not support the BindSPInput dbparm. |
ADO.NET for DB2 |
PowerBuilder supports DB2 using the System.Data.Odbc provider for both runtime and design time operations. |