Presentation is loading. Please wait.

Presentation is loading. Please wait.

Oracle Opens Your Windows Dick Vesters Frank van der Borden Oracle Nederland BV.

Similar presentations


Presentation on theme: "Oracle Opens Your Windows Dick Vesters Frank van der Borden Oracle Nederland BV."— Presentation transcript:

1 Oracle Opens Your Windows Dick Vesters Frank van der Borden Oracle Nederland BV

2 Agenda Start installation of Oracle10g DB SE Integration of Visual Studio and Oracle ?? Demo Oracle Enterprise Manager Integration of Windows and Oracle DB Summary

3 Installation Startup

4 Oracle Developer Tools for Visual Studio.NET

5 Tightly integrated “Add-in” for MS Visual Studio.NET Brings the power of Oracle Database to Windows developers Oracle is a premier-level partner in MS Visual Studio Industry Partner Program (VSIP) Beta2 now available www.oracle.com/technology/tech/dotnet/index.html Give feedback to christian.shay@oracle.com

6 Develop on Windows, Database on any platform Visual Studio Environment Oracle Developer Tools for VS.NET Windows Linux Windows Solaris Oracle DB 10g, 9i Other

7 Feature Overview Oracle Explorer – browse / alter schema Wizards & Designers – eg Table designer, SP Wizard Automatic Code Generation Database Procedure  PL/SQL Editor Integrated Help System –SQL, PLSQL keywords.NET Stored Procedure Deployment

8 Oracle Explorer Tree control, similar to “Server Explorer” Can view most Oracle schema objects, not just lowest common denominator A starting place for most tasks –View, Alter, Create schema objects –Auto generate code –View and edit Oracle data

9

10 Designers and Wizards Table Designer View Designer Stored Procedure/Function Wizard Package Wizards Sequence Designer Synonym Designer Data Adapter Wizard.NET Stored Procedure Deployment Wizard

11

12 Data Window View and Update Table data Run Stored procedures and view cursors and arrays Supports Oracle data types View complex data types such as REF Cursors

13

14

15 PL/SQL Code Editor Syntax Coloring Intelli-sense Context sensitive help for SQL and PLSQL Keywords and Datatypes Intelligent Error display Collapsible regions

16

17

18

19

20 Automatic code generation Drag and drop a schema object from Oracle explorer Generated code uses Oracle Data Adapter (ODP.NET) Data Adapter Wizard can be run for custom designs

21

22

23

24

25 Integrated Online Help Getting started Walkthroughs ODT Reference Context sensitive help for UI elements SQL Users Guide PL/SQL Users Guide Context sensitive SQL and PLSQL keywords

26

27 Benefits Easy to learn –intuitive for Oracle on Windows programmers Leverage MS Developers experience –to write Oracle apps easily and quickly Powerful features –greatly enhance productivity – e.g.designers, code generation Exposes native Oracle functionality and features – not typically available in generic tools Stay in your comfort zone –You don’t have to leave your MS environment to do ordinary database tasks

28 Agenda Start installation of Oracle10g DB SE Integration of Visual Studio and Oracle ?? Demo Oracle Enterprise Manager Integration of Windows and Oracle DB Summary

29 Oracle Enterprise Manager Demo

30 Agenda Start installation of Oracle10g DB SE Integration of Visual Studio and Oracle ?? Demo Oracle Enterprise Manager Integration of Windows and Oracle DB Summary

31 ODP.NET - Basics Available today in production for free –www.oracle.com/technology/tech/dotnet/index.html –Original release: 2002 –Fully compliant with ADO.Net Can be used with Oracle9i, Oracle10g DB servers –DB server can be on Windows, Linux, Unix, etc. –Database client on Windows Supports VS.NET 2002 and 2003 Supports.NET Framework 1.0 and 1.1 Wide adoption –50k+ ODP.NET downloads in past year –4k+ posts on ODP discussion forum

32 ODP.NET Object Model DataSet Oracle DataAdapter Oracle Transaction Oracle Command Oracle Connection Oracle DataReader Connected Layer (ODP.NET) Disconnected Layer Oracle OracleCommand Builder Data Layer

33 ODP.NET Features Native Oracle data types –LOBs, REF Cursor, N-data types, Date, TimeStamps, Long, Raw, etc. Full DB procedure (PL/SQL) support –Packaged, non-packaged, anonymous, autonomous –Batch SQL available with anonymous PL/SQL Grid Support (RAC) –Notification callbacks

34 Oracle XML DB XML repository Native XMLType XML stored as CLOB or object Schema and non-schema-based XML Views

35 ODP.NET XML Features XMLType data type –Schema and non-schema based XML Query and Save XML from the DB –Both relational and object-relational Interoperate with.NET XML APIs –e.g. XmlReader, XmlDocument Supports XSLT and XPATH

36 More ODP.NET Features Connection Pooling –Min, Max, Timeout, Lifetime, Increment, Decrement Transactions –Enterprise Services via Oracle Services for MTS –Local (Implicit and Explicit) –Save-points Globalization –Full Unicode support –Client settings are used to display Oracle data in locale-specific manner

37 ODP.NET Security Windows Native Authentication –Single sign-on Proxy user authentication –Connection pooling Full support of row level security in DB (VPD) and Oracle Label Security (OLS) Kerberos and SSL

38 MSMS Data Access Providers Oracle Native Access ( high performance ) Yes Multiple Active Result Sets (MARS)Yes Native XML Data Type Yes Result Set Retrieval Tuning OptionsYes Configurable LOB Retrieval Yes Array Parameters Yes Security; Pooling; Globalization… Yes Data Access Providers Oracle Native Access ( high performance ) Yes Multiple Active Result Sets (MARS)Yes Native XML Data Type Yes Result Set Retrieval Tuning OptionsYes Configurable LOB Retrieval Yes Array Parameters Yes Security; Pooling; Globalization… Yes Differences Oracle vs MS Data Access Provider No

39 New! ODP.NET 10.1.0.3 Just released SQL Statement Caching Command cancellation and timeout DeriveParameters support (automatic stored procedure parameter metadata population) Support for APIs introduced with ADO.NET 1.1 And bug fixes...

40 Agenda Start installation of Oracle10g DB SE Integration of Visual Studio and Oracle ?? Demo Oracle Enterprise Manager Integration of Windows and Oracle DB Summary

41 Oracle brings the power of Oracle Database to Windows Developers Oracle is committed to delivering a great database for Windows and making Windows developers more productive when using Oracle Database dotNet Developer Center www.oracle.com/technology/tech/dotnet/index.html

42 Dell Computer Uses ODP.NET to handle United States order management placed over the web Dell incorporates ODP.NET because –More control over connection pooling –Performance –Native support for ref cursors –Native support for LOB data types –Parameter binding Uses XML DB and ODP.NET for XML document manipulation

43 A Q & Q U E S T I O N S A N S W E R S

44

45 Best Practices - Connections Use connection pooling –Keep number of connections/connection pools to a minimum Watch out for dynamically-created connection strings –Changing parameter values does create new pools Use proxy authentication –Effective for uniquely-identified users with same roles Use Validate Connection only if you have to –Guarantees a valid connection, BUT extra round trip –Writing your own exception handler may be better/faster Close all ODP.NET objects when finished (e.g. OracleConnection) –Do not count on the garbage collector to do this automatically

46 Best Practices – Data Retrieval and Updates Key concept: control database roundtrips –Retrieve only the data that is needed when it’s needed Single command (SELECT) tuning –Use FetchSize (OracleDataReader) and RowSize (OracleCommand) to control result retrieval –Use DataAdapter Requery Save DB round trip and save from re-executing Multi-statement tuning (in one round trip) –Executing multiple, differing statements? Use anonymous PL/SQL Batches statements for execution in one round trip –Executing the same command multiple times? Use parameter array binding –Statement will execute once for each array value Use PL/SQL associative arrays for SELECT statements –Statement will execute once for the entire array

47 Best Practices – Data Types Key concept: control database roundtrips These benefits come from using ODP.NET types (e.g. OracleClob) Use OracleRefCursor class –Defers data retrieval until results needed Use Oracle LOB classes (DML) –No need to retrieve data when updating or writing to LOBs


Download ppt "Oracle Opens Your Windows Dick Vesters Frank van der Borden Oracle Nederland BV."

Similar presentations


Ads by Google