473,763 Members | 7,044 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Version control of Oracle Stored Objects.

Lig
We have an implementation of Oracle 9i database. We have a team of 20
developers working on a project. We use PL/SQL DEVELOPER and Visual
Source Safe to cotrol the source.

The problem we have at the moment is one of version control.For the
moment, 2 developers can edit and compile a package.Because the package
is compiled on the DB Server,It is possible that a source being edited
by a developer could be overwritten by another.There is nothing in
PL/SQL that forces a user to check out and edit. We have Visual Source
safe fully integrated into PL/SQL Developer.But that's only as much as
it gets.VSS is not ORacle aware.
Are there any products out there that can be used for Version
controlling Oracle Stored Objects that are Oracle Aware?

Is there a better way of doing this?

TIA
Lig

Pl reply to
lignite AT iol DOT ie
Jul 19 '05 #1
13 17719
Lig wrote:
We have an implementation of Oracle 9i database. We have a team of 20
developers working on a project. We use PL/SQL DEVELOPER and Visual
Source Safe to cotrol the source.

The problem we have at the moment is one of version control.For the
moment, 2 developers can edit and compile a package.Because the package
is compiled on the DB Server,It is possible that a source being edited
by a developer could be overwritten by another.There is nothing in
PL/SQL that forces a user to check out and edit. We have Visual Source
safe fully integrated into PL/SQL Developer.But that's only as much as
it gets.VSS is not ORacle aware.
Are there any products out there that can be used for Version
controlling Oracle Stored Objects that are Oracle Aware?

Is there a better way of doing this?

TIA
Lig

Pl reply to
lignite AT iol DOT ie


install the CVS interface in PL/SQL Developer:
http://www.allroundautomations.nl/plsvcs.html

--
Regards,
Frank van Bortel
Jul 19 '05 #2
Frank van Bortel wrote:
Lig wrote:
We have an implementation of Oracle 9i database. We have a team of 20
developers working on a project. We use PL/SQL DEVELOPER and Visual
Source Safe to cotrol the source.

The problem we have at the moment is one of version control.For the
moment, 2 developers can edit and compile a package.Because the
package is compiled on the DB Server,It is possible that a source
being edited by a developer could be overwritten by another.There is
nothing in PL/SQL that forces a user to check out and edit. We have
Visual Source safe fully integrated into PL/SQL Developer.But that's
only as much as it gets.VSS is not ORacle aware.
Are there any products out there that can be used for Version
controlling Oracle Stored Objects that are Oracle Aware?

Is there a better way of doing this?

TIA
Lig

Pl reply to
lignite AT iol DOT ie

install the CVS interface in PL/SQL Developer:
http://www.allroundautomations.nl/plsvcs.html


Just realize you (probably) have that (fully integrated...)

There will always be ways to go around it - you can still
use SQL*Plus, or whatever to make changes.

The only way is to let your developers know you are serious
about source safe. Threaten to fire them if not used, surprise
them with a clean database on a Monday morning, whatever it takes.
--
Regards,
Frank van Bortel
Jul 19 '05 #3
Frank van Bortel <fv********@net scape.net> wrote in message news:<d0******* ***@news5.zwoll 1.ov.home.nl>.. .
Lig wrote:
We have an implementation of Oracle 9i database. We have a team of 20
developers working on a project. We use PL/SQL DEVELOPER and Visual
Source Safe to cotrol the source.

The problem we have at the moment is one of version control.For the
moment, 2 developers can edit and compile a package.Because the package
is compiled on the DB Server,It is possible that a source being edited
by a developer could be overwritten by another.There is nothing in
PL/SQL that forces a user to check out and edit. We have Visual Source
safe fully integrated into PL/SQL Developer.But that's only as much as
it gets.VSS is not ORacle aware.
Are there any products out there that can be used for Version
controlling Oracle Stored Objects that are Oracle Aware?

Is there a better way of doing this?

TIA
Lig

Pl reply to
lignite AT iol DOT ie


install the CVS interface in PL/SQL Developer:
http://www.allroundautomations.nl/plsvcs.html


How can 2 developers edit a package when VSS is (supposedly) being
used? This sounds like developers not using source control properly
and editing PL/SQL on the fly. Prehaps you should get your DBA to
revoke the CREATE PACKAGE/FUNCTION/PROCEDURE privilige from the
developers and only let your DBA perform releases to the appropriate
environments

Andy
Jul 19 '05 #4
Lig
Andy :

- VSS Integration only has copy locally; The compilation of the code
takes place on the Server.

- Developers can check in and check out code.But f they dont do it,who
am I to blame for incorrect code creeping in?

Instead , if I can force them to use VersionControl, then I can audit
changes.

Imagine a situation where I checkout a package and start to edit it. In
the process, if the package on the server is changed, I try to get the
version again from the server, will this version not be newer to the one
I have?

Correct me if I am wrong.Am I missing something here ?

Cheers
Lig
Jul 19 '05 #5

Lig wrote:
Andy :

- VSS Integration only has copy locally; The compilation of the code takes place on the Server.

- Developers can check in and check out code.But f they dont do it,who am I to blame for incorrect code creeping in?

Instead , if I can force them to use VersionControl, then I can audit
changes.

Imagine a situation where I checkout a package and start to edit it. In the process, if the package on the server is changed, I try to get the version again from the server, will this version not be newer to the one I have?

Correct me if I am wrong.Am I missing something here ?

Cheers
Lig


It has been my understanding that Visual Source Safe should disallow
more than one copy of a file to be checked out, local copy or not.
That being the case how on earth do you end up with two or more
editable copies of a file?

I'd investigate why this occurs and put a stop to it at once, by
ensuring all developers use VSS as it's intended. Several good
suggestions to ensure compliance have been given you; use any or all of
them to help fix this mess.
David Fitzjarrell

Jul 19 '05 #6
Andy wrote:
Frank van Bortel <fv********@net scape.net> wrote in message news:<d0******* ***@news5.zwoll 1.ov.home.nl>.. .
Lig wrote:
We have an implementation of Oracle 9i database. We have a team of 20
developers working on a project. We use PL/SQL DEVELOPER and Visual
Source Safe to cotrol the source.

The problem we have at the moment is one of version control.For the
moment, 2 developers can edit and compile a package.Because the package
is compiled on the DB Server,It is possible that a source being edited
by a developer could be overwritten by another.There is nothing in
PL/SQL that forces a user to check out and edit. We have Visual Source
safe fully integrated into PL/SQL Developer.But that's only as much as
it gets.VSS is not ORacle aware.
Are there any products out there that can be used for Version
controllin g Oracle Stored Objects that are Oracle Aware?

Is there a better way of doing this?

TIA
Lig

Pl reply to
lignite AT iol DOT ie


install the CVS interface in PL/SQL Developer:
http://www.allroundautomations.nl/plsvcs.html

How can 2 developers edit a package when VSS is (supposedly) being
used? This sounds like developers not using source control properly
and editing PL/SQL on the fly. Prehaps you should get your DBA to
revoke the CREATE PACKAGE/FUNCTION/PROCEDURE privilige from the
developers and only let your DBA perform releases to the appropriate
environments

Andy

Well, when it is *not* used...
The dilemma is how to enforce that it *is* used; there
are numerous options to change the code, without using VSS,
thus compromising the project.
But surprising the developers with an empty database
does help, occasionally :)
"Hey, just restore from VSS <g>".
--
Regards,
Frank van Bortel
Jul 19 '05 #7
this post does not directly answer your question, but I think that its
worth considering.

In addition to whatever source control your developers use ... a
bastard dba from hell would log all changes to all source for each of
the app_owner schemas via database triggers. This would not log
developer's changes to code in their own schemas - only those applied
to the app_owner schemas in development.

You could do the same thing in your qa and prod dbs, but you don't
allow developers to make changes to the packages there directly ... do
you? They're not supposed to ... until that urgent issue or emergency
comes along and policies get tossed.

Log the source changes and you'll have both an audit trail (nice for
SarbOx) and the source to restore without having to go to dump files,
etc.

setup a specific account for this, give it its own tablespace, prevent
DML upon the logging table by other users.

-bdbafh

Jul 19 '05 #8
bd****@gmail.co m wrote:
this post does not directly answer your question, but I think that its
worth considering.

In addition to whatever source control your developers use ... a
bastard dba from hell would log all changes to all source for each of
the app_owner schemas via database triggers. This would not log
developer's changes to code in their own schemas - only those applied
to the app_owner schemas in development.

You could do the same thing in your qa and prod dbs, but you don't
allow developers to make changes to the packages there directly ... do
you? They're not supposed to ... until that urgent issue or emergency
comes along and policies get tossed.

Log the source changes and you'll have both an audit trail (nice for
SarbOx) and the source to restore without having to go to dump files,
etc.

setup a specific account for this, give it its own tablespace, prevent
DML upon the logging table by other users.

-bdbafh


The real BDFH builds a DDL trigger that raises an exception with all DDL
on the database and another that audits it. He/she then disables the
first trigger whenever making changes leaving the second one to create
the audit trail.

--
Daniel A. Morgan
University of Washington
da******@x.wash ington.edu
(replace 'x' with 'u' to respond)
Jul 19 '05 #9
DA Morgan <da******@x.was hington.edu> wrote in
news:1110065133 .857196@yasure:
The real BDFH builds a DDL trigger that raises an exception with all DDL
on the database and another that audits it. He/she then disables the
first trigger whenever making changes leaving the second one to create
the audit trail.


Alternatively, just nightly extract the current production code from the
repository and install it into the database. Any and all ad hoc, on the
fly or unapproved changes just get summarily overwritten.

Jul 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7463
by: wallflowers | last post by:
Hi, I would like to know , how do I compile an oracle stored procedure or trigger from Visual C++ environment. I entered the sqlplus username/password@dbstring @filename command in the Custom Build step under Project Settings dialog box. Although I am able to submit the file to the server I am not able to get the errors. Since it just says that procedure was compiled with errors
2
5750
by: Matt | last post by:
I'm new to Java but experienced with PL/SQL. I've found what appears to be strange behaviour (a bug?) when attempting to create java stored objects using the UNIX version of Oracle SQL*PLUS 8.1.7.3.0 with JServer 8.1.7.3.0. The reason it seams strange is that the problem only occurs with the UNIX version of SQL*PLUS, not the PC client version running on Windows 2000 but connected to the same database and schema. Can anyone shed any light...
2
5137
by: CaptRespect | last post by:
We've been using CVS for our HTML, JAVA etc.. Now we would like to use it for our SQL CODE to. We have a large database with many stored procedures. I would like to have something using Ant like: Download the latest version of source code. If the SQL patch has been updated, run the patch to update the Database.
0
1333
by: Ray Mu | last post by:
SQLSourceSafe 2.0 is the right version control solution for SQL Server database development projects. SQLSourceSafe 2.0 Integrates with both SQL Server and Visual SourceSafe, providing an effective and effortless version control management system for individuals and project teams to manage database objects. By using SQLSourceSafe 2.0, you can manage SQL Server database objects such as tables, stored procedures, user defined functions,...
1
2277
by: Ray Mu | last post by:
SQLSourceSafe 2.0 is the right version control solution for SQL Server database development projects. SQLSourceSafe 2.0 Integrates with both SQL Server and Visual SourceSafe, providing an effective and effortless version control management system for individuals and project teams to manage database objects. By using SQLSourceSafe 2.0, you can manage SQL Server database objects such as tables, stored procedures, user defined functions,...
0
1448
by: athos | last post by:
Previously, we could use Visual Studio .Net 2002 combined with Visual SourceSafe 6.0 to maintain version control for Stored Procedures. (refer to "How to add SQL Server 2000 Stored Procedures to Visual SourceSafe by using Visual Studio .NET" at http://support.microsoft.com/default.aspx?scid=kb;en-us;818368 for details pls.) The most helpful thing is, there is a synchrinization link between the SQL 2000 Server and the VSS Database, we...
0
2146
by: george | last post by:
Hi world! Anyone experienced building gridview in Oracle environment using stored procedures, please help! Right now, I have issues using Oracle SP, I spent a whole day on this and still cannot get the results back, so shamelessly turn to you for help! OK, the web page part of SqlDataSource is defined as: <asp:SqlDataSource ID="SqlDataSource4" runat="server"
2
4925
by: ssp | last post by:
Hello there, I am trying to do very simple thing in trying to return results from an Oracle (10g) Stored Procedure using the Enterprise Library June 2005 Version. The stored procedure first: ============================================ CREATE OR REPLACE PROCEDURE AGENCYSELECTALL(p_cursor OUT SelectPackage.SelectCursor)
11
403
by: Lig | last post by:
We have an implementation of Oracle 9i database. We have a team of 20 developers working on a project. We use PL/SQL DEVELOPER and Visual Source Safe to cotrol the source. The problem we have at the moment is one of version control.For the moment, 2 developers can edit and compile a package.Because the package is compiled on the DB Server,It is possible that a source being edited by a developer could be overwritten by another.There is...
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9386
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9997
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9937
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8821
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7366
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
3
3522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.