How can we help you today? How can we help you today?
Brian.Lieb
Hi, Thanks for the response. I have done this, and things seemed to be working fine for checking out, and then comparing using schema compare. To be clear the steps I took were - Checked the repository using Tortoise to two places on my harddrive. (repo1, repo2) - Used schema compare to 'Update' repo1, which removed the .svn folder and thereby removing the recognition this is an SVN repo from Tortoise - Copied the contents of repo1 over the top of repo2, making sure to overwrite the files in repo2. - Checked in repo2. - Removed all local copies. - Used Tortoise to checkout again to a folder called repo - Opened Schema compare and used the repo as the source VOILA! I don't need to update any more and schema compare works fine. However, now, when I try to check in changes via Oracle Source Control, I get this error: Error Some objects were out of date. Review the changes and check in again. Report When I click the Report link, Source Control crashes with this: System.NullReferenceException: Object reference not set to an instance of an object. at Smartassembly.SmartExceptionsCore.UnhandledExceptionHandler.ReportException(Exception exception, Boolean, continue, Boolean manuallyReported) I can probably destroy the entire repository and start over from the schema, but that is not a palatable option. Is there any suggestion on how to proceed? / comments
Hi, Thanks for the response. I have done this, and things seemed to be working fine for checking out, and then comparing using schema compare. To be clear the steps I took were - Checked the repos...
0 votes
Sheesh! I am an idiot. This has been going on awhile, and in the interim a new version of both Schema Compare and Source Control have been released. This issue no longer seems to be one, I apologize for wasting your time. / comments
Sheesh! I am an idiot. This has been going on awhile, and in the interim a new version of both Schema Compare and Source Control have been released. This issue no longer seems to be one, I apolog...
0 votes
Okay. In my frustration, I have made two blank schemas. In the first, I put a table with two columns. CREATE TABLE mytable (col1 VARCHAR2(5 BYTE), col2 VARCHAR2(5 BYTE)) ; COMMENT ON TABLE mytable IS 'This is mytable''s awesome data.'; COMMENT ON COLUMN mytable.col1 IS 'Column 1''s values are stored here'; COMMENT ON COLUMN mytable.col2 IS 'Column 2'; Then I made this view: CREATE OR REPLACE VIEW myview ( col1, col2 ) AS select col1, col2 from mytable; COMMENT ON TABLE myview IS 'This view shows mytable''s data.'; COMMENT ON COLUMN myview.col1 IS 'Column 1''s value from the view'; COMMENT ON COLUMN myview.col2 IS 'Column 2 value from the view'; That is the exact SQL I ran to create the views and tables. It worked fine. Then I did a schema compare between the schema with the new table and view against the blank schema. And chose to to a deployment to a script. The script that was generated was this: -- -- Script generated by Schema Compare for Oracle 3.0.0.790 on 12/10/2013 11:45:49 AM -- SET DEFINE OFF CREATE TABLE schema2.mytable ( col1 VARCHAR2(5 BYTE), col2 VARCHAR2(5 BYTE) ); COMMENT ON TABLE schema2.mytable IS 'This is mytable''s awesome data.'; COMMENT ON COLUMN schema2.mytable.col1 IS 'Column 1''s values are stored here'; COMMENT ON COLUMN schema2.mytable.col2 IS 'Column 2'; CREATE FORCE VIEW schema2.myview (col1,col2) AS select col1, col2 from mytable; COMMENT ON TABLE schema2.myview IS 'This view shows mytable's data.'; COMMENT ON COLUMN schema2.myview.col1 IS 'Column 1''s value from the view'; COMMENT ON COLUMN schema2.myview.col2 IS 'Column 2 value from the view'; So, you can see that the comment on the view is wrong! So, as one last check, I ran this: select dbms_metadata.get_dependent_ddl('COMMENT', 'MYVIEW', 'SCHEMA1') from dual To see what Oracle returned. The results: COMMENT ON COLUMN "SCHEMA1"."MYVIEW"."COL1" IS 'Column 1''s value from the view' COMMENT ON COLUMN "SCHEMA1"."MYVIEW"."COL2" IS 'Column 2 value from the view' COMMENT ON TABLE "SCHEMA1"."MYVIEW" IS 'This view shows mytable''s data.' As you can see, Oracle is returning it correctly as well. So, I have surmised that either I am missing something really small, or there is a bug in generating comments in Red Gate's schema compare when looking at views. / comments
Okay. In my frustration, I have made two blank schemas. In the first, I put a table with two columns.CREATE TABLE mytable (col1 VARCHAR2(5 BYTE), col...
0 votes