SlideShare a Scribd company logo
Rajnish singh(presentation on  oracle )
Rajnish singh(presentation on  oracle )
The Oracle Corporation is an American global computer technology corporation, headquartered
in Redwood City, California
ElOracle Corporation in 1977 with Bob Miner and Ed Oates under the name Software
Development Laboratories (SDL)lison co-founded
In 1995, Oracle Systems Corporation changed its name to Oracle Corporation
The company primarily specializes in developing and marketing computer hardware systems and
enterprise software products – particularly its own brands of database management systems
In 2011 Oracle was the second-largest software maker by revenue, after Microsoft.
 In 2013 begins use of Oracle 12C which is capable of providing cloud services with Oracle
Database
December 22, 2014: Oracle acquired digital marketing company Datalogix for an undisclosed
amount
Rajnish singh(presentation on  oracle )
Christian Shay
Principal Product Manager
.NET and Windows
Introducing:
.NET Stored Procedures for
Oracle Database 10g Release
2 and Oracle Developer
Tools for Visual Studio .NET
Agenda
• Oracle Developer Tools for Visual Studio .NET
• Overview
• Demo - drill down
• Oracle Database Extensions for .NET
• Overview
• Demo – My First SP
• Tuning and Data Access
• Demo – Data Access in a SP
• Demo – Debugging a .NET SP
Windows Development
Environment Support
Visual Studio
Environment
IIS
Oracle DeveloperOracle Developer
Tools for VS.NETTools for VS.NET
C++, C#,
VB .NET
Application
Develop
ODP.NETODP.NET
Deploy
Oracle DBOracle DB
ExtensionsExtensions
For .NETFor .NET
IIS
(ASP
ASP.NET)
MTS/
COM+
Application
Deploy
Oracle Services for MTSOracle Services for MTS
Database
Development
Oracle Developer Tools for Visual
Studio .NET
• Tightly integrated “Add-in” for Visual Studio .NET
• Oracle is a premier-level partner in the Microsoft
Visual Studio Industry Partner (VSIP) Program
• Available for free download now
• http://otn.oracle.com/dotnet
Develop on Windows, Database on
any Platform
Visual StudioVisual Studio
EnvironmentEnvironment
Visual StudioVisual Studio
EnvironmentEnvironment
Oracle DeveloperOracle Developer
Tools for VS.NETTools for VS.NET
Oracle DeveloperOracle Developer
Tools for VS.NETTools for VS.NET
WindowsWindows
Windows
Linux
Unix
Oracle 10g, 9i, or 8i
Other
Benefits
• Easy to learn and intuitive
• Leverage SQL Server development experience
• Powerful features that enhance productivity – e.g.
designers, auto code generation
• Exposes latest and greatest Oracle functionality
• Stay in Visual Studio for project lifecycle
Feature Overview
• Oracle Explorer – browse and alter schema
• Wizards and Designers
• Automatic code generation
• PL/SQL Editor with IntelliSense
• Oracle Data Window
• Oracle Query Window (ad hoc SQL)
• .NET Stored Procedure Deployment Wizard
• Integrated help system – SQL, PL/SQL keywords
D E M O N S T R A T I O N
Oracle Developer
Tools - Drill Down
Oracle Explorer
• Tree control, similar to “Server Explorer”
• View Oracle schema objects
• Generate SQL for schema objects
• Filter hides unwanted schema objects
• A starting place for most tasks
• View, alter, create schema objects
• Auto generate code
• View and edit Oracle data
• Run stored procedures and functions
Oracle Explorer
Designers and Wizards
• Table Designer
• View Designer
• Stored Procedure/Function Wizard
• Package Wizards
• Sequence Designer
• Synonym Designer
• Trigger Designer
• Data Adapter Wizard
Table Designer
Automatic Code Generation
• Drag and drop a schema object from Oracle Explore
• Generated code uses OracleDataAdapter class
(ODP.NET)
• Data Adapter Wizard can be run to customize
• Generate “typed datasets” as needed
PL/SQL Code Editor
• Syntax Coloring
• Collapsible regions
• IntelliSense
• Context sensitive help for SQL/PLSQL keywords
• Intelligent error display in task list
• Context-sensitive help for Oracle error numbers
PL/SQL Code Editor
Data Window
• View and update table data
• Run stored procedures and view data
• Supports Oracle data types
• View complex data types such as Ref Cursors
Data Window
Oracle Query Window
• Execute “ad hoc” SQL
• Drag and drop objects from Oracle Explorer to
generate SQL
• Result of select statements in grid or text format
• Execute multiple statements in a row
• Run scripts (“@myscript.sql”)
Integrated Online Help
• Getting started
• Walkthroughs
• Oracle Developer Tools Reference Guide
• Context sensitive help for UI elements
• Context sensitive SQL and PLSQL keywords
• Oracle Error Manual
• Oracle SQL Reference Guide
• Oracle PL/SQL Reference Guide
Integrated Online Help
Coming Soon
• PL/SQL Debugging
• Visual Studio .NET 2015 support
• Many other features
Agenda
• Oracle Developer Tools for Visual Studio .NET
• Overview
• Demo - drill down
• Oracle Database Extensions for .NET
• Overview
• Demo – My First SP
• Tuning and Data Access
• Demo – Data Access in a SP
• Demo – Debugging a .NET SP
Oracle Database Extensions
for .NET
• Oracle 10g Release 2 on Windows
• Write Microsoft Visual C# or Visual Basic .NET
stored procedures/functions
• Build assembly in Visual Studio .NET
• Deploy from Visual Studio .NET using .NET
Deployment Wizard
Architecture
Write .NET Stored Procedures for
Oracle
Visual StudioVisual Studio
EnvironmentEnvironment
Visual StudioVisual Studio
EnvironmentEnvironment
Oracle DeveloperOracle Developer
Tools for VS.NETTools for VS.NET
Oracle DeveloperOracle Developer
Tools for VS.NETTools for VS.NET
Oracle DBOracle DB
ExtensionsExtensions
for .NETfor .NET
Oracle DBOracle DB
ExtensionsExtensions
for .NETfor .NET
C#,VB.NET,C++C#,VB.NET,C++
Server ProjectServer Project
((Use ODP.NETUse ODP.NET
if requiredif required))
C#,VB.NET,C++C#,VB.NET,C++
Server ProjectServer Project
((Use ODP.NETUse ODP.NET
if requiredif required))
AssemblyAssembly
foo.dllfoo.dll
(proc sp)(proc sp)
AssemblyAssembly
foo.dllfoo.dll
(proc sp)(proc sp)
BuildBuild
DevelopDevelop
Stored ProcStored Proc
StoredStored
Procedure,Procedure,
SQL ..SQL ..
StoredStored
Procedure,Procedure,
SQL ..SQL ..
ClientClient
ApplicationApplication
ClientClient
ApplicationApplication
InvokeInvoke
InvokeInvoke
DeployDeploy
Supported Platforms
• Windows only
• .NET Framework 1.1
• Oracle 10.2 or later
When to use
• Ease of development
• Computationally intensive code
• Leverage .NET programming expertise
• Leverage existing .NET code libraries
• Windows platform only
Install
• “Custom” install of “Oracle Database
Extensions for .NET” is required
• DBCA performs configuration
• CLR Service created and started
• Service is named <OracleHomeName>ClrAgnt
Creating a .NET Stored
Procedure
1. Use Visual Studio .NET to build a .NET
procedure or function in the usual way
2. If data access is required, use ODP.NET
classes
3. Result is a .NET assembly
4. Run .NET Stored Procedure Deployment
Wizard (included with Oracle Developer Tools)
5. Call .NET stored procedure as you would any
other Oracle stored procedure
Stored Procedure
Requirements
• Be declared a public static method.
• Not be a constructor or a destructor.
• Use parameter types that are compatible with
the Oracle native database types.
Security Levels
• Safe - Access only to database resources.
• External - Read or write to local files, and
access to network resources such as sockets
and internet nodes
• Unsafe- Unrestricted execution including
execution of unmanaged code. It is a superset
of all other security levels.
D E M O N S T R A T I O N
Your First .NET SP
OraCLRAgent Service
• Multithreaded Agent Architecture
• Optimized for security and performance
• A separate multithreaded process is started for
each system identifier
• Each TNS listener that is running on a system
listens for incoming connection requests for a set
of SIDs.
• As system load thresholds are met, additional
processes are spawed
Performance Tuning
• Edit Service <OracleHomeName>ClrAgnt
• Example: ORACLE_HOMEbinoraclragnt.exe
agent_sid=CLRExtProc max_task_threads=5
Performance Tuning
• max_sessions – (25) Number of maximum
sessions
• max_task_threads – (6) Number of maximum
task threads
• max_dispatchers – (2) Number of maximum
dispatchers
ODP.NET Server Side
Differences
• Failover/Notifications, Transaction and
Connection classes have differences
• No transactions can be started, committed, or
rolled back from within a .NET SP that uses
the default connection of the caller
• Regular transaction symantics apply if a new
connection is opened in the SP
Controversy of Oracle in last year
>> Oracle has been making waves inside and outside the company this year.
Hardware channel exec Mitch Breen left in January and sources told CRN at the time
that Oracle's direct sales team was battling both internally and with channel partners
>> Meanwhile, Oracle has had two earnings calls that failed to impress Wall Street.
That didn't stop CEO Larry Ellison from bashing Oracle's competitors and vowing an all-
out assault on the SaaS and PaaS markets
>> Ellison also said Oracle's new in-memory database technology is so fast, some
customers who tested it thought it was broken because they didn't realize it had already
performed its functions. This despite the fact that Oracle came late to this market and
has lots of catching up to do
Rajnish singh(presentation on  oracle )

More Related Content

What's hot (20)

PDF
SQLcl the next generation of SQLPlus?
Zohar Elkayam
 
PPTX
2017 OWASP SanFran March Meetup - Hacking SQL Server on Scale with PowerShell
Scott Sutherland
 
PDF
Hacking oracle using metasploit
Alberto García Illera
 
PDF
Access Data from XPages with the Relational Controls
Teamstudio
 
PDF
Things Every Oracle DBA Needs to Know about the Hadoop Ecosystem
Zohar Elkayam
 
PDF
1java Introduction
Adil Jafri
 
PDF
Learning Silicon Valley Culture
Taro L. Saito
 
PPTX
Brk2051 sql server on linux and docker
Bob Ward
 
PDF
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Zohar Elkayam
 
PPT
Apex ace update
Ayesha Fayyaz
 
PDF
An introduction into Oracle VM V3.x
Marco Gralike
 
PPTX
High density deployments using weblogic multitenancy
Getting value from IoT, Integration and Data Analytics
 
PPTX
Hibernate in XPages
Toby Samples
 
PPTX
Awr doag
Marcin Przepiórowski
 
PDF
Exploring Oracle Multitenant in Oracle Database 12c
Zohar Elkayam
 
PDF
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
Luc Bors
 
PDF
An AMIS overview of database 12c
Getting value from IoT, Integration and Data Analytics
 
PDF
OUG Ireland Meet-up - Updates from Oracle Open World 2016
Brendan Tierney
 
PDF
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
Alfredo Abate
 
PDF
Silicon Valley JUG meetup July 18, 2018
Oracle Developers
 
SQLcl the next generation of SQLPlus?
Zohar Elkayam
 
2017 OWASP SanFran March Meetup - Hacking SQL Server on Scale with PowerShell
Scott Sutherland
 
Hacking oracle using metasploit
Alberto García Illera
 
Access Data from XPages with the Relational Controls
Teamstudio
 
Things Every Oracle DBA Needs to Know about the Hadoop Ecosystem
Zohar Elkayam
 
1java Introduction
Adil Jafri
 
Learning Silicon Valley Culture
Taro L. Saito
 
Brk2051 sql server on linux and docker
Bob Ward
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Zohar Elkayam
 
Apex ace update
Ayesha Fayyaz
 
An introduction into Oracle VM V3.x
Marco Gralike
 
High density deployments using weblogic multitenancy
Getting value from IoT, Integration and Data Analytics
 
Hibernate in XPages
Toby Samples
 
Exploring Oracle Multitenant in Oracle Database 12c
Zohar Elkayam
 
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
Luc Bors
 
OUG Ireland Meet-up - Updates from Oracle Open World 2016
Brendan Tierney
 
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
Alfredo Abate
 
Silicon Valley JUG meetup July 18, 2018
Oracle Developers
 

Viewers also liked (12)

PDF
Curso biblico central
Lucas Soares
 
PDF
Zandro Endaya_Resume
Zandro Endaya
 
PPTX
Alma de ciudad
Fermin Chavez Mego
 
PPTX
Pre listing packet
Jessica Swingle
 
PPTX
Dang Viet Ha - Tech Talk #3 - Golang BDD Testing with Ginkgo:Gomega
Dang Viet Ha (Tony)
 
DOC
Blok 8 groep 8
CoenraadKerckhoffs
 
PDF
15 minutes chrono pour cuisiner du lapin, c’est possible !
Esperluette & Associés
 
PPT
Program de voluntariat: Prietenii bibliotecii: realizari si perspective
Biblioteca Municipala "B.P. Hasdeu"
 
PDF
Contextual Campaigns: Content, Context & Consumer Connections in a Post-Scree...
Rebecca Lieb
 
PDF
I1773s
Luis Schunk
 
PDF
RE:NEW Programme
EMEX
 
DOCX
"Learning to See" workshop - promo flyer December 2015
W3 Group Canada Inc.
 
Curso biblico central
Lucas Soares
 
Zandro Endaya_Resume
Zandro Endaya
 
Alma de ciudad
Fermin Chavez Mego
 
Pre listing packet
Jessica Swingle
 
Dang Viet Ha - Tech Talk #3 - Golang BDD Testing with Ginkgo:Gomega
Dang Viet Ha (Tony)
 
Blok 8 groep 8
CoenraadKerckhoffs
 
15 minutes chrono pour cuisiner du lapin, c’est possible !
Esperluette & Associés
 
Program de voluntariat: Prietenii bibliotecii: realizari si perspective
Biblioteca Municipala "B.P. Hasdeu"
 
Contextual Campaigns: Content, Context & Consumer Connections in a Post-Scree...
Rebecca Lieb
 
I1773s
Luis Schunk
 
RE:NEW Programme
EMEX
 
"Learning to See" workshop - promo flyer December 2015
W3 Group Canada Inc.
 
Ad

Similar to Rajnish singh(presentation on oracle ) (20)

PPT
ow-123123123123123123123123123123123123123
DngHong855117
 
PPT
ow.ppt
ssuser96a63c
 
PPT
kjdiakdnfdifjadsjkjklljlldasgjdjdljgfldjgldjgldjgl.ppt
Brahamam Veera
 
PDF
Odpnet Developers Guide Oracle Database 10g Development With Visual Studio 20...
harinblenktn
 
PPT
Oracle database connection with the .net developers
veerendramb3
 
PPT
Oracle Intro.ppt
DevilPurkhasiya
 
PPTX
Oracle database introduction
Mohammad Javad Beheshtian
 
PPT
Todd vatalaro oracle 2004
Todd Vatalaro
 
PPTX
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Lucas Jellema
 
PDF
(Ebook) Java Programming with Oracle JDBC by Donald Bales ISBN 9780596000882,...
couchkohnsdq
 
PPTX
PL/SQL All the Things in Oracle SQL Developer
Jeff Smith
 
PPTX
A History of Oracle Corporation
dsp
 
PPTX
Oracle's history
Georgi Sotirov
 
PDF
Java Programming With Oracle Jdbc 1st Ed Donald Bales
diehlstoosxz
 
PPTX
An Introduction To Oracle Database
Meysam Javadi
 
DOC
DBMS Practical File
Dushmanta Nath
 
PDF
Pl sql student guide v 3
Nexus
 
PPT
ORACLE Architechture.ppt
aggarwalb
 
PPT
R12 d49656 gc10-apps dba 03
zeesniper
 
ow-123123123123123123123123123123123123123
DngHong855117
 
ow.ppt
ssuser96a63c
 
kjdiakdnfdifjadsjkjklljlldasgjdjdljgfldjgldjgldjgl.ppt
Brahamam Veera
 
Odpnet Developers Guide Oracle Database 10g Development With Visual Studio 20...
harinblenktn
 
Oracle database connection with the .net developers
veerendramb3
 
Oracle Intro.ppt
DevilPurkhasiya
 
Oracle database introduction
Mohammad Javad Beheshtian
 
Todd vatalaro oracle 2004
Todd Vatalaro
 
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Lucas Jellema
 
(Ebook) Java Programming with Oracle JDBC by Donald Bales ISBN 9780596000882,...
couchkohnsdq
 
PL/SQL All the Things in Oracle SQL Developer
Jeff Smith
 
A History of Oracle Corporation
dsp
 
Oracle's history
Georgi Sotirov
 
Java Programming With Oracle Jdbc 1st Ed Donald Bales
diehlstoosxz
 
An Introduction To Oracle Database
Meysam Javadi
 
DBMS Practical File
Dushmanta Nath
 
Pl sql student guide v 3
Nexus
 
ORACLE Architechture.ppt
aggarwalb
 
R12 d49656 gc10-apps dba 03
zeesniper
 
Ad

Recently uploaded (20)

PPTX
DECODING AI AGENTS AND WORKFLOW AUTOMATION FOR MODERN RECRUITMENT
José Kadlec
 
PPTX
6 Critical Factors to Evaluate Before Starting a Retail Business
RUPAL AGARWAL
 
PDF
NJ GST Collection Summary - June2025.pdf
writer28
 
PPTX
The Art of Customer Journey Optimization: Crafting Seamless Experiences
RUPAL AGARWAL
 
PDF
Thane Stenner - An Industry Expert
Thane Stenner
 
PDF
Concept Topology in Architectural Build Addendum.pdf
Brij Consulting, LLC
 
PDF
Raman Bhaumik - A Passion For Service
Raman Bhaumik
 
PDF
LDM Recording for Yogi Goddess Projects Summer 2025
LDMMia GrandMaster
 
PPTX
Business Trendsjobsand careerr 2025.pptx
sahatanmay391
 
PDF
Buy Boys Long Sleeve T-shirts at Port 213
Port 213
 
PPTX
2025 July - ABM for B2B in Hubspot - Demand Gen HUG.pptx
mjenkins13
 
PDF
Why Unipac Equipment Leads the Way Among Gantry Crane Manufacturers in Singap...
UnipacEquipment
 
PDF
15 Essential Cloud Podcasts Every Tech Professional Should Know in 2025
Amnic
 
PDF
Van Aroma IFEAT - Clove Oils - Socio Economic Report .pdf
VanAroma
 
PDF
Azumah Resources reaffirms commitment to Ghana amid dispute with Engineers & ...
Kweku Zurek
 
PDF
Importance of Timely Renewal of Legal Entity Identifiers.pdf
MNS Credit Management Group Pvt. Ltd.
 
PDF
Redefining Punjab’s Growth Story_ Mohit Bansal and the Human-Centric Vision o...
Mohit Bansal GMI
 
PDF
LEWIONICS SCO Company Profile UAE JULY 2025
Natalie Lewes
 
PDF
DIM_COURSE_3_BLOCK_3 (1) compentation.pdf
mohamedismail977252
 
PDF
Top Farewell Gifts for Seniors Under.pdf
ThreadVibe Living
 
DECODING AI AGENTS AND WORKFLOW AUTOMATION FOR MODERN RECRUITMENT
José Kadlec
 
6 Critical Factors to Evaluate Before Starting a Retail Business
RUPAL AGARWAL
 
NJ GST Collection Summary - June2025.pdf
writer28
 
The Art of Customer Journey Optimization: Crafting Seamless Experiences
RUPAL AGARWAL
 
Thane Stenner - An Industry Expert
Thane Stenner
 
Concept Topology in Architectural Build Addendum.pdf
Brij Consulting, LLC
 
Raman Bhaumik - A Passion For Service
Raman Bhaumik
 
LDM Recording for Yogi Goddess Projects Summer 2025
LDMMia GrandMaster
 
Business Trendsjobsand careerr 2025.pptx
sahatanmay391
 
Buy Boys Long Sleeve T-shirts at Port 213
Port 213
 
2025 July - ABM for B2B in Hubspot - Demand Gen HUG.pptx
mjenkins13
 
Why Unipac Equipment Leads the Way Among Gantry Crane Manufacturers in Singap...
UnipacEquipment
 
15 Essential Cloud Podcasts Every Tech Professional Should Know in 2025
Amnic
 
Van Aroma IFEAT - Clove Oils - Socio Economic Report .pdf
VanAroma
 
Azumah Resources reaffirms commitment to Ghana amid dispute with Engineers & ...
Kweku Zurek
 
Importance of Timely Renewal of Legal Entity Identifiers.pdf
MNS Credit Management Group Pvt. Ltd.
 
Redefining Punjab’s Growth Story_ Mohit Bansal and the Human-Centric Vision o...
Mohit Bansal GMI
 
LEWIONICS SCO Company Profile UAE JULY 2025
Natalie Lewes
 
DIM_COURSE_3_BLOCK_3 (1) compentation.pdf
mohamedismail977252
 
Top Farewell Gifts for Seniors Under.pdf
ThreadVibe Living
 

Rajnish singh(presentation on oracle )

  • 3. The Oracle Corporation is an American global computer technology corporation, headquartered in Redwood City, California ElOracle Corporation in 1977 with Bob Miner and Ed Oates under the name Software Development Laboratories (SDL)lison co-founded In 1995, Oracle Systems Corporation changed its name to Oracle Corporation The company primarily specializes in developing and marketing computer hardware systems and enterprise software products – particularly its own brands of database management systems In 2011 Oracle was the second-largest software maker by revenue, after Microsoft.  In 2013 begins use of Oracle 12C which is capable of providing cloud services with Oracle Database December 22, 2014: Oracle acquired digital marketing company Datalogix for an undisclosed amount
  • 5. Christian Shay Principal Product Manager .NET and Windows
  • 6. Introducing: .NET Stored Procedures for Oracle Database 10g Release 2 and Oracle Developer Tools for Visual Studio .NET
  • 7. Agenda • Oracle Developer Tools for Visual Studio .NET • Overview • Demo - drill down • Oracle Database Extensions for .NET • Overview • Demo – My First SP • Tuning and Data Access • Demo – Data Access in a SP • Demo – Debugging a .NET SP
  • 8. Windows Development Environment Support Visual Studio Environment IIS Oracle DeveloperOracle Developer Tools for VS.NETTools for VS.NET C++, C#, VB .NET Application Develop ODP.NETODP.NET Deploy Oracle DBOracle DB ExtensionsExtensions For .NETFor .NET IIS (ASP ASP.NET) MTS/ COM+ Application Deploy Oracle Services for MTSOracle Services for MTS Database Development
  • 9. Oracle Developer Tools for Visual Studio .NET • Tightly integrated “Add-in” for Visual Studio .NET • Oracle is a premier-level partner in the Microsoft Visual Studio Industry Partner (VSIP) Program • Available for free download now • http://otn.oracle.com/dotnet
  • 10. Develop on Windows, Database on any Platform Visual StudioVisual Studio EnvironmentEnvironment Visual StudioVisual Studio EnvironmentEnvironment Oracle DeveloperOracle Developer Tools for VS.NETTools for VS.NET Oracle DeveloperOracle Developer Tools for VS.NETTools for VS.NET WindowsWindows Windows Linux Unix Oracle 10g, 9i, or 8i Other
  • 11. Benefits • Easy to learn and intuitive • Leverage SQL Server development experience • Powerful features that enhance productivity – e.g. designers, auto code generation • Exposes latest and greatest Oracle functionality • Stay in Visual Studio for project lifecycle
  • 12. Feature Overview • Oracle Explorer – browse and alter schema • Wizards and Designers • Automatic code generation • PL/SQL Editor with IntelliSense • Oracle Data Window • Oracle Query Window (ad hoc SQL) • .NET Stored Procedure Deployment Wizard • Integrated help system – SQL, PL/SQL keywords
  • 13. D E M O N S T R A T I O N Oracle Developer Tools - Drill Down
  • 14. Oracle Explorer • Tree control, similar to “Server Explorer” • View Oracle schema objects • Generate SQL for schema objects • Filter hides unwanted schema objects • A starting place for most tasks • View, alter, create schema objects • Auto generate code • View and edit Oracle data • Run stored procedures and functions
  • 16. Designers and Wizards • Table Designer • View Designer • Stored Procedure/Function Wizard • Package Wizards • Sequence Designer • Synonym Designer • Trigger Designer • Data Adapter Wizard
  • 18. Automatic Code Generation • Drag and drop a schema object from Oracle Explore • Generated code uses OracleDataAdapter class (ODP.NET) • Data Adapter Wizard can be run to customize • Generate “typed datasets” as needed
  • 19. PL/SQL Code Editor • Syntax Coloring • Collapsible regions • IntelliSense • Context sensitive help for SQL/PLSQL keywords • Intelligent error display in task list • Context-sensitive help for Oracle error numbers
  • 21. Data Window • View and update table data • Run stored procedures and view data • Supports Oracle data types • View complex data types such as Ref Cursors
  • 23. Oracle Query Window • Execute “ad hoc” SQL • Drag and drop objects from Oracle Explorer to generate SQL • Result of select statements in grid or text format • Execute multiple statements in a row • Run scripts (“@myscript.sql”)
  • 24. Integrated Online Help • Getting started • Walkthroughs • Oracle Developer Tools Reference Guide • Context sensitive help for UI elements • Context sensitive SQL and PLSQL keywords • Oracle Error Manual • Oracle SQL Reference Guide • Oracle PL/SQL Reference Guide
  • 26. Coming Soon • PL/SQL Debugging • Visual Studio .NET 2015 support • Many other features
  • 27. Agenda • Oracle Developer Tools for Visual Studio .NET • Overview • Demo - drill down • Oracle Database Extensions for .NET • Overview • Demo – My First SP • Tuning and Data Access • Demo – Data Access in a SP • Demo – Debugging a .NET SP
  • 28. Oracle Database Extensions for .NET • Oracle 10g Release 2 on Windows • Write Microsoft Visual C# or Visual Basic .NET stored procedures/functions • Build assembly in Visual Studio .NET • Deploy from Visual Studio .NET using .NET Deployment Wizard
  • 30. Write .NET Stored Procedures for Oracle Visual StudioVisual Studio EnvironmentEnvironment Visual StudioVisual Studio EnvironmentEnvironment Oracle DeveloperOracle Developer Tools for VS.NETTools for VS.NET Oracle DeveloperOracle Developer Tools for VS.NETTools for VS.NET Oracle DBOracle DB ExtensionsExtensions for .NETfor .NET Oracle DBOracle DB ExtensionsExtensions for .NETfor .NET C#,VB.NET,C++C#,VB.NET,C++ Server ProjectServer Project ((Use ODP.NETUse ODP.NET if requiredif required)) C#,VB.NET,C++C#,VB.NET,C++ Server ProjectServer Project ((Use ODP.NETUse ODP.NET if requiredif required)) AssemblyAssembly foo.dllfoo.dll (proc sp)(proc sp) AssemblyAssembly foo.dllfoo.dll (proc sp)(proc sp) BuildBuild DevelopDevelop Stored ProcStored Proc StoredStored Procedure,Procedure, SQL ..SQL .. StoredStored Procedure,Procedure, SQL ..SQL .. ClientClient ApplicationApplication ClientClient ApplicationApplication InvokeInvoke InvokeInvoke DeployDeploy
  • 31. Supported Platforms • Windows only • .NET Framework 1.1 • Oracle 10.2 or later
  • 32. When to use • Ease of development • Computationally intensive code • Leverage .NET programming expertise • Leverage existing .NET code libraries • Windows platform only
  • 33. Install • “Custom” install of “Oracle Database Extensions for .NET” is required • DBCA performs configuration • CLR Service created and started • Service is named <OracleHomeName>ClrAgnt
  • 34. Creating a .NET Stored Procedure 1. Use Visual Studio .NET to build a .NET procedure or function in the usual way 2. If data access is required, use ODP.NET classes 3. Result is a .NET assembly 4. Run .NET Stored Procedure Deployment Wizard (included with Oracle Developer Tools) 5. Call .NET stored procedure as you would any other Oracle stored procedure
  • 35. Stored Procedure Requirements • Be declared a public static method. • Not be a constructor or a destructor. • Use parameter types that are compatible with the Oracle native database types.
  • 36. Security Levels • Safe - Access only to database resources. • External - Read or write to local files, and access to network resources such as sockets and internet nodes • Unsafe- Unrestricted execution including execution of unmanaged code. It is a superset of all other security levels.
  • 37. D E M O N S T R A T I O N Your First .NET SP
  • 38. OraCLRAgent Service • Multithreaded Agent Architecture • Optimized for security and performance • A separate multithreaded process is started for each system identifier • Each TNS listener that is running on a system listens for incoming connection requests for a set of SIDs. • As system load thresholds are met, additional processes are spawed
  • 39. Performance Tuning • Edit Service <OracleHomeName>ClrAgnt • Example: ORACLE_HOMEbinoraclragnt.exe agent_sid=CLRExtProc max_task_threads=5
  • 40. Performance Tuning • max_sessions – (25) Number of maximum sessions • max_task_threads – (6) Number of maximum task threads • max_dispatchers – (2) Number of maximum dispatchers
  • 41. ODP.NET Server Side Differences • Failover/Notifications, Transaction and Connection classes have differences • No transactions can be started, committed, or rolled back from within a .NET SP that uses the default connection of the caller • Regular transaction symantics apply if a new connection is opened in the SP
  • 42. Controversy of Oracle in last year >> Oracle has been making waves inside and outside the company this year. Hardware channel exec Mitch Breen left in January and sources told CRN at the time that Oracle's direct sales team was battling both internally and with channel partners >> Meanwhile, Oracle has had two earnings calls that failed to impress Wall Street. That didn't stop CEO Larry Ellison from bashing Oracle's competitors and vowing an all- out assault on the SaaS and PaaS markets >> Ellison also said Oracle's new in-memory database technology is so fast, some customers who tested it thought it was broken because they didn't realize it had already performed its functions. This despite the fact that Oracle came late to this market and has lots of catching up to do