Download presentation
Presentation is loading. Please wait.
1
Mocking in Oracle PL/SQL
IT Lighting Talks Maciej Grzybek CERN IT-DB
2
Mocking – what is this Test object Mailing module
3
Mocking – what is this Mailing module Test object (interface)
(implementation)
4
Mocking – what is this Mailing module Test object (interface) Mock
(implementation) Mailing module (implementation)
5
No official support for mocking @Oracle DB
But... Possible through versioning!
6
DB Object A version 1 Object A Object A version 2
7
DB Object A version 1 Object A Object A version 2
8
Edition-Based Redefinition – how to
Prerequisites: ALTER USER user_name ENABLE EDITIONS GRANT CREATE EDITION Version is chosen PER SESSION not affecting others!
9
Edition-Based Redefinition continuation
10
Edition-Based Redefinition continuation
11
Edition-Based Redefinition continuation
12
Edition-Based Redefinition continuation
13
Edition-Based Redefinition continuation
14
Edition-Based Redefinition continuation
15
Edition-Based Redefinition continuation
16
Edition-Based Redefinition continuation
17
No excuses from writing tests in PL/SQL anymore!
Summary No excuses from writing tests in PL/SQL anymore!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.