TFS 2010 offline version control features

Hi Team,
Thanks in advance.
We are planning to upgrade TFS 2010 to TFS 2013 and duration will be 4 days.
During upgrade TFS 2010 will be down and users will work offline.
What all version control features users can perform(like edit file, rename file, shelve, label, Branch)?
After completion of upgrade will users able to checkin the code back to TFS 2013 without any issues?.
Please help us on above questions?
Best Regards,
Mahesh

Obviously, if TFS is down, they can't do anything in TFS. They can edit files, but if the files were not checkout prior to the migration, they will need to check it out once TFS comes back again. (And they will need to flip the read-only bit manually.)
Users should also be advice to perform a Get Latest before you take down TFS, so they don't start to make changes in old versions.
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • Building version control features with CF

    Hi,
    I have a client with a wiki that I built in ColdFusion, and they'd like to be able to do collaborative document editing where changes to documents are tracked. I've seen this type of thing in Word, where changes get highlighted and you can see old and new text. I don't think it needs to be that fancy in terms of how changes are shown, since they're just using CKEditor to enter content, but they would need to be able to see what was changed, when and by whom (currently logged in user). I would make the documents in their final form downloadable as PDFs.
    Anyone know of any version tracking type applications built in CF? Looking for code i.e. a CFC that I can re-use. Also curious how this sort of thing gets saved in a database, currently I just update the existing document record, but with version tracking each time an edit is done do I have to re-save the entire document as a new record? That could eventually eat up a lot of space in the database, but the alternative is just saving the changes to the document and that seems overly complicated--I'm not even sure how it would be accomplished.
    Thanks,
    Chris

    For 10.1.2 the process is explained here:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/gettingstartedwithcvs.pdf
    In 10.1.3 it is more automatic - JDeveloper automatically recognize files which are candidate for adding to CVS.

  • How can I work offline and then re-synch with version control in SharePoint?

    I am using RoboHelp 11 with SharePoint 2010 for version control. How can I work off-line and then re-synch my files with SharePoint when reconnected?
    If I allow the connection to SharePoint to remain while working remotely through VPN, I am constantly annoyed by notices that "the underlying connection is lost."
    Thanks!
    Carol

    Until/unless a solution is available here's my proposed work-around:
    1.Check in all files from my primary project to SharePoint. (I have only one project.)
    2. Duplicate the project that is linked to SharePoint. Name it "Off-Line Project" so that I am always aware of the project I'm working on. Don't link Off-Line Project to source control/SharePoint.
    3. Before working off-line, import or overlay the latest version of all content (html) files from the SharePoint-linked project into Off-Line Project.
    4. Work off-line using only Off-Line Project.
    5. Returning to the office, get the latest version of all files from SharePoint. (eventually, I won't be the only person working on the project) import (or maybe just overlay using Windows Explorer?) the files I've worked on from Off-Line Project to the primary project.
    Feedback? Suggestions?

  • Version Control of PL/SQL programs in Database

    Is there a version control feature available in Oracle v9.x ???
    I am trying to implement version control on PL/SQL programs(Packages/Functions/Procedures). I should be able to rollback to old version and keep the system running if the latest ones failed. This should be done automatically without bringing the database down or recompiling the PL/SQL programs and also users do not need to reconnect(users might be caught in a LOCK and might get their sessions killed by DBA...)
    Ex: I have heard that in .NET, u can have more than one version of a DLL and have only one version active. If we want to go back to the old version of the DLL, u don't need to recompile the DLL to make it active. I am looking something similar to this....
    I have thought of several ways like creating a small repository table for my PL/SQL programs and store the PL/SQL code in the repository and based on the situation, compile only that program (which might be a OLD or a NEW version) and so forth... But this does not satisfy the requirement of rolling back to the old version without recompiling.(RENAMING a PL/SQL program feature doesn't seem to be implemented yet...)
    I don't want to use Designer just for this purpose...
    Any ideas..
    Thanks,
    Purush

    Are you dealing with code that's being called remotely (i.e. via a database link)?
    No
    I'd be concerned about the concept of rolling back code changes in production on a regular basis-- that would seem to indicate problems that ought to be addressed in development and QA. Rolling back code in production seems like it ought to be a rather painful process, if only because it indicates a massive failure elsewhere.
    This is not on a regular basis at all. Our Database applications are tied with lots of programs which directly control the robots and machines. Certain machines and robots needs to be working all the time and any downtime will cost time and money. To make sure that the implementation goes into production smoothly(without shutting down machines and robots) and then into maintainance mode, we are looking for some kind of source control to control the implementation and make sure to revert back (without shutting down machines and robots) if there are major issues.(There are certain things here which cannot be tested outside of a shop floor due to the physical and other constraints.)
    I have thought of otherways like a compile flag (in the DB.. Ex: a packaged variable) to set before compiling and reset after compiling. The programs on the shopfloor will always read this flag and check buffer(time taken to do this will have to be considered) before calling a DB txns and if the flag is set, buffer the txns and and move on to the next task the machine should do. The next time it call a txn. if the flag is reset, it checks the buffer and if buffer exists, execute the buffer txns first.. and then proceed to actual txn. The things that bothers me is time taken to compile the huge package and the no. of txns getting buffered and the overall txn time.
    I am trying to come up with some kind of solution for this issue if possible.....
    Thanks,
    Purush

  • Version Control with DB

    I wonder if some version control like SourceJammer, Prowler can be used along with some relational database in Java Application.
    I am looking a requirement where along some relational data, I need to store some xml data as well and plan to use LOB feature of Database as most of the database are XML enabled. But I also need to display version history of those and get appropriate version and diff between version i.e. standard version control features along with check-in, check out. Open source solution is required.
    At present, it is something like
    Java Application -> O-R Mapper -> DB
    Now needed some thing like:
    Java Application -> O-R Mapper (should be here or before DB?) -> Version Control -> DB
    Any thoughts, pointers/directions will be useful.
    Thanks in advance.

    Doyou want version control of the scripts that you use to create databases, or do you want version control of the objects in your database.
    The former was descibed by another poster (i.e., wincvs). Alternatively, your data modeling tool should provide that type of service. For example, if you are using Oracle Designer then your data models can be versioned.
    The latter type of versioning is supported by Oracle workspace manager and the new 10.2 releases of Oracle Content DB and Oracle Records DB. There's also versioned tablespaces in 10g.
    -Mark
    http://www.remidata.com/book_nuts2soup.htm

  • Raptor and Version Control

    Here are some discussion points for use of Raptor with version control.
    Assumptions/Terminology.
    Roles:
    Developer, Tester, Production DBA.
    Each developer has their own database or schema to work with.
    Database code is PL/SQL and DDL
    Client code is everything else including sql scripts.
    VC stands for generic version control. I may slip into CVS speak, but ideally this is product neutral.
    Scenario 1: New developer on existing project.
    1 Check out sources
    Obviously need to define a VC repository connection in Raptor
    Probably also need to define filesystem directory to check out to. Conceivably raptor could do this under the covers but if the source code is a mixture of database code and client code this isn't possible.
    2 Run sources against database to create schema objects
    This would probably be a manual job within raptor but a nice feature would be a tool to work out the dependencies and run everything in the right order.
    3 Edit-save-compile-edit objects in the database
    At this stage the database code is out of sync with the filesystem and the VC. Since the definitive version is in VC the filesystem is irrelevant so it would make sense to save the object back to the filesystem when you click the save/compile button.
    If VC isn't active this is obviously a bad idea since the filesystem version is the backup.
    4 Create new object in database.
    The new object needs to be immediately saved to the filesystem and added to VC(but not committed). The create dialog should ask for a filename as well as object name.
    5 Commit changes to VC
    What gets committed? All the database code in the schema of the current connection? All the database code which is known to CVS (which should include new ones created at step 4)? What about client code? Is there a need for a project to which objects can be added manually or automatically.
    There may be clashes between this developer's changes and anothers.
    Need to be able to compare current database with current cvs and merge in changes before commiting. The merged changes need to be immediately applied to the database.
    6 Whoops forgot something, edit object on filesystem but don't check in.
    7 Next day, try to edit same object in the database.
    We now have a 3-way discrepancy between vc, filesystem and database. Raptor needs to allow diff/merge between database and filesystem as well as between database and VC.
    Scenario 2: New Project
    1 Developer creates some database code
    edit-save-compile is entirely within the database at this stage and no VC is involved. At some point the developer has to define a vc repository and directory. Raptor needs to be able to create a new repository or module (cvs import for example) either at this stage or the first time code is saved.
    There could be an option to make VC compulsory so that whenever a developer creates an object, the relevant VC actions are taken.
    2 This scenario merges into scenario 1.
    Scenario 3: Tester begins new testing cycle
    Scenario 4: DBA implements new code in production database.
    1     User checks out latest code from CVS
    2     User runs code against database to create schema objects.
    This is very straight forward. I am not even sure that this should involve raptor, it should all be done by scripts in sqlplus. The one raptor involvement could be reconcilation of the objects in the test database with the VC repository.
    A few other thoughts.
    I haven't thought about multi-schema development, ie making changes to more than one schema at a time. Should a VC repository be associated with a particular connection?
    I haven't thought about managing 'create table' vs 'alter table'. A tool which generated an alter table from the different between db and vc or between 2 vc revisions would be useful.
    All checkout/export/diff actions should be against labels/tags/branches as well as the tip.
    Filenames and formats.
    There should be preferences to allow the user to specify file extensions and other naming conventions (eg upper/lower case). I use the following for ddl files
    table_name.tbl -- create table
    table_name.con -- constraints for table
    table_name.idx -- indexes for table
    view_name.vue
    sequence_name.seq
    Table DDL
    Currently table ddl as generated from raptor includes storage details. Not all of this is relevant in the development process and could cause spurious differences in version control.
    I also like my constrains in a separate file from the table ddl.
    PL/SQL Templates
    The ability to define basic package and procedure templates with VC keywords etc in place. New | Procedure etc would use these templates
    Message was edited by:
    smitjb

    Thanks for the detailed use cases. We can use this message to track Version control feature requests.
    We do want to provide this support in future releases.
    Donal

  • Versioning control in file server

    Hi, I am looking at implementing Mac OS X server. I would like to know if there is a versioning control feature built in. What I am looking at is to use this as a doc mgt system in a mac/windows environment.
    Thanks

    Hi, I am looking at implementing Mac OS X server. I would like to know if there is a versioning control feature built in. What I am looking at is to use this as a doc mgt system in a mac/windows environment.
    Thanks

  • TFS Version Control?

    Has anybody tried setting up VCS (Version Control System) in CIS (Cisco/Composite Information Server [6.2], using a TFS backend?
    I'm having trouble finding documentation on any VCS topics, but a TFS [scripts] example would be magnificent.
    Thanks

    Hi Wendy,  
    Thanks for your post.
    this “new location” is a TFS local workspace folder or is a general local folder? Please open your solution using VS 2010 from this new location manually, then selected the solution in Solution Explorer and click
    FILE>>Source Control >>Change Source Control… to check this solution bind to TFS Server or not. 
    Your solution moved to a new location, and this new location is a general local folder on your client? If yes, please manually open your solution using VS 2010 from that new location, then right-click on your solution in Solution Explorer and select
    Add Solution to Source Control… to add current solution into TFS 2010 Source Control. If you want add exiting folder(included code files, but is not a solution) into TFS Source Control, please mapping the team project(or an existing folder)
    from Source Control Explorer to a local workspace folder, then copy that code folder to this local workspace folder, then right-click on your team project in Source Control Explorer and select
    Add Items to Folder… to add your code folder to this team project source control, then perform check-in on this team project.
    https://msdn.microsoft.com/en-us/library/ms181374(v=vs.100).aspx  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • After upgrade from TFS 2010 users cannot view source control

    I recently did a in place of upgrade of TFS 2010 to TFS 2013.   All of my users permissions stayed in tact. The users (contributors) cannot view any of the source control in either in VS 2010 or 2013.  Since I am the administrator I
    see everything and have no issue.   Is there something that did not get brought over in the upgrade?

    Hi Rrenn49, 
    Thanks for your post.
    You upgraded to TFS 2013 Update 4?  There’s no any issue or warning during upgrade process? 
    What’s the detailed message they received when the contributors try to view source control files?
    Please manually check the contributors group’s permissions on your TFS Source Control.
    If you add a new user into your contributors group, this new user can access TFS Source Control correctly?
    If you have any further research of this issue, please share your experience here.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • RoboHelp6 and Version Control on TFS - How to add, delete or rename folders

    When under Version Control what is the proper method of renaming a file or folder? What is the proper method of deleting or adding a folder under Version Control?
    Bob (No relation to John)

    With RSC, I'd recommend performing these procedures from RH. I don't know if you get that same tight coupling with TFS, though.
    G

  • Report Builder RDF, XML, REP and Version Control

    I'm looking to convert our existing RDF reports to XML format to better support version control and have a few questions.
    - Are there any issues with converting these RDF files to XML and developing them going forward?
    - When it's time to deploy to the server we'll convert them to RDF or REP. Any issues?
    - This question was asked before, [Thread: Oracle Reports Builder - RDF vs XML|https://forums.oracle.com/forums/thread.jspa?threadID=721959], but that was over 3 years ago. Have the issues been resolved?
    - Is anyone currently following the workflow I've outlined with success?
    Couple of links of interest regarding this topic.
    [Tuning Oracle Reports - 20.5.1 Paper Layout|http://download.oracle.com/docs/html/B14048_02/pbr_tune.htm#i1007252]
    [Running Report Requests - 13.3 Deploying Your Reports|http://download.oracle.com/docs/html/B14048_02/pbr_run.htm#i1008764]
    My Oracle Report Builder Version Info (Help -> About)
    Report Builder 10.1.2.0.2
    ORACLE Server Release 10.1.0.4.2
    Oracle Procedure Builder 10.1.2.0.2
    Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
    Oracle CORE     10.1.0.4.0     Production
    Oracle Tools Integration Services 10.1.2.0.2
    Oracle Tools Common Area 10.1.2.0.2
    Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
    Resource Object Store 10.1.2.0.2
    Oracle Help 10.1.2.0.2
    Oracle Sqlmgr 10.1.2.0.2
    Oracle Query Builder 10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 10.1.2.0.2
    Oracle XML Developers Kit 10.1.0.4.2 - Production
    Oracle Virtual Graphics System 10.1.2.0.2
    Oracle Image 10.1.2.0.2
    Oracle Multimedia Widget 10.1.2.0.2
    Oracle Tools GUI Utilities 10.1.2.0.2
    Edited by: 896352 on Nov 9, 2011 2:35 PM

    Hi Michael,
    Per my understanding that you want to find a solution for version control when you design the report using the Report Builder 3.0, right?
    As you know that Report Builder is a tool which can only work on one single file instead of a project , so the current version of Report Builder doesn't have these capabilities. You can submit a feature request about it on the  Microsoft UserVoice site
    here: 
    http://visualstudio.uservoice.com/forums/121579-visual-studio/category/53187-sql-bi-tools-srs-ssis-ssas-
    Generally, visual Studio Team System and Visual Source Safe integrate with the Visual Studio/BIDS shell and third-party source control solutions like SVN managed from the file system play well with version control. So I would suggest you to consider use
    them instead.
    In conclusion, one possible workaround for you is that you can save all .rdl files in third part tool’s(TFS) workspace folder for version control purpose (check in, check out with the Windows Shell Extension), and you can use Report Builder to edit these
    report files. Then use Report Builder to deploy the .rdl file to Report Server.
    More details information about the version control for your reference:
    https://sqlserverbiblog.wordpress.com/tag/ssrs-version-control/ 
    Similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/en-US/939b3a90-067d-4593-b456-76533c9d60ce/sync-ssrs-visual-studio-project-with-ssrs-server-alm?forum=sqlreportingservices
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/1ad0db30-7fd8-4007-9731-ec8f2f44605f/report-format-rdl-version-control?forum=sqlreportingservices
    If you still have any question, please feel free to ask.
    Regards
    Vicky Liu

  • Forms 11gR2 doesn't support version control?

    File, administration, checkin/checkout/source control options is disabled.
    No Oracle Designer for 64 bit.
    So, Forms 11gR2 doesn't support version control since Forms 10g?

    See here:
    Oracle Designer - Product Information</title><meta name="Title" content="Oracle Designer - Produ…
    Oracle Designer 10g Release 2 is the latest stable release which is shipped with Oracle Developer Suite 10g Release 2.
    also see here: http://www.oracle.com/technetwork/issue-archive/2010/toolssod-3-129969.pdf
    Oracle Designer 10gwas the last version of this product, released as a component of Oracle
    Developer Suite 10g. Oracle Designer was not released as a component of Oracle Fusion
    Middleware 11g, nor is it planned to be a component of Oracle Fusion Middleware 12c. Oracle
    Support continues to offer sustaining level support for Oracle Designer 10g.
    For SCM see here:
    http://www.oracle.com/technetwork/developer-tools/scm/overview/index.html
    and here:
    http://www.oracle.com/technetwork/developer-tools/designer/overview/oraclescmsod-129299.pdf
    Oracle SCM has been placed into maintenance mode. This means that Oracle will
    continue to fix bugs but there will be no new features added to the product. Error
    Correction Support for Oracle SCM 6i ended on 01/31/2005, for Oracle9i SCM
    on 06/30/2005 and for Oracle SCM 10g(9.0.4) on 12/31/2006 - in line with the
    corresponding Oracle Designer 6i, 9i and 10g end of maintenance plans. Oracle
    Designer 10g(10.1.2.2) is the currently supported product.
    So in short: no Designer and SCM for 11g.
    cheers

  • CSS and JS version control is causing issues with the Application Cache.

    Hi there,
    I am creating a Web App for use on an iPad and I have been using Adobe Muse to do this.
    The Web App needs to work offline for the most part so I have been using the Application Cache in HTML5 to do this. Everything is caching correctly to the iPad (Safari Browser), however, after a while, the browser is unable to retrieve the CSS and JS complonents of the site from the Application Cache. I have deduced after much mucking around, that the HTML references to the CSS and JS files have version control stuck on the end of it. This seems to work fine when online as the version number after the ? is ignored by the browser.
    When the browser is accessing the CSS and JS files from the application cache, it appears to require the version control number as well. This is where the entire site falls over. It sometimes takes about a day of being offline but eventually, the CSS and JS files must be purged from the browser cache and then they are unable to be resolved from the Application Cache.
    This is really annoying as I am having to go through every HTML file to remove the CSS and JS version numbers.
    Does anyone know if this Muse feature can be switched off (no version controlling on JS and CSS file) or will I have to use another product such as Dreamweaver?

    just to let you know, it turns out not to be the JVM (at least directly).
    the real problem seems to be the order of loading specific dll's. I noticed that the only differences (other than the blow up) was that MSVCRT.dll was being loaded far earlier than without the dummy dll.
    I removed the dummy dll I mentioned before, and went into the project workspace properties. I moved the .lib file for the dll that was actually pulling MSVCRT in to be first in the list, then in the driver program moved the .lib file for the new dll to be first in it's list.
    Everything worked.
    I'm not sure the exact bug there, but my current thought is: The MSVCRT.dll must be loaded prior to the .NET runtime dll (MSVCRT70) or say bye-bye.

  • Can I have a library of PDF docs with version control? Can it cope with version nos. embedded in the file name?

    I manage a set of documents which are edited in Word but "published" as PDFs (using Word 2010's save to PDF capability).
    I want to create a library for them on SharePoint (my company has SharePoint Online via its Office 365 subscription).
    I'm pretty much a SharePoint novice but even I can see it's easy to upload the documents to a simple library. The things that are giving me a headache are:
    Can I tell SharePoint what the version number of the uploaded PDF document is? The version number as understood by the library needs to match the version number written into the document (where it is called a revision number and increments in whole numbers
    starting from zero).
    How do I handle replacing the uploaded PDF documents with new versions? If they were Word documents I could edit them by opening them from the SharePoint library, checking them out if necessary, and SharePoint would handle version control.
    But since the PDFs are generated from editable masters (Word documents) which are NOT on SharePoint I would need to edit the local Word document on my PC then generate a PDF version then upload it to replace the existing PDF document in the
    library. Is it easy to upload a new document over the top of an old in a SharePoint library?
    Hoping someone can give me some answers.
    Regards,
    Bruce Officer

    hi Bruce,
    1. It sounds like what you need is to set the starting version number since your revision number increments in whole numbers, it would match up to SharePoint once the starting version number is set. You can potentially create a new custom field in the
    library to manually track the version of the uploaded PDF document, but this might not match up with SharePoint's own version number and could get confusing. Another possibility is to upload dummy versions of the PDF document until the SP version
    matches with the revision version and then delete these dummy versions.
    2. When you upload the PDF document again into the library, it should prompt you to see if you want to replace the existing. If you proceed with the upload, it should replace and increment the SharePoint version number.
    Please Mark Answered if my reply solves your problem. Thanks!
    Jeff Thai
    Technical Solutions Architect, AvePoint
    http://www.AvePoint.com

  • Oracle 10g R2 - Metadata Issue With Version Controlled Resources

    We are trying to utilize the Oracle 10g R2 feature that allows user-defined metadata to be attached to XML DB resources. However, we are encountering errors when we try to append/attach metadata to a version-controlled resource (VCR). The following steps were followed:
    1. Register a new schema to be used for metadata (XMLSCHEMA.registerSchema).
    2. Add a new resource to to the XML DB and make it version controlled (DBMS_XDB.createResource and DBMS_XDB_VERSION.makeVersioned).
    3. Checkout the newly created version-controlled resource (DBMS_XDB_VERSION.checkout)
    4. Add metadata to the version-controlled resource (DBMS_XDB.appendResourceMetadata)
    However, after step 4, the errors shown below are encountered:
    ========================================================
    begin
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [qmxStrCopy: INLOB 2], [], [], [],
    ORA-06512: at "XDB.DBMS_XDB", line 890
    ORA-06512: at line 2
    ========================================================
    The steps followed for adding metadata to a resource were taken from Chapter 26 of the "Oracle XML DB Developer's Guide 10G Release 2" (http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb_repos_meta.htm#sthref2302).
    Is is possible to append and maintain metadata to an XML DB version controlled resource (VCR)? If so, what are the correct steps to do this? Note that if this is tried with a resource that is not version controlled, then no errors are encountered.
    Thanks,
    Steve

    It appears that this issue has been solved in the next release of the database
    QL> spool testcase.log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> var schemaURL varchar2(256)
    SQL> var schemaPath varchar2(256)
    SQL> var resourcePath varchar2(256)
    SQL> --
    SQL> begin
      2    :schemaURL := 'metadata.xsd';
      3    :schemaPath := '/public/metadata.xsd';
      4    :resourcePath := '/public/metadataTest.txt';
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
      2  /
    Call completed.
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<?xml version="1.0" encoding="UTF-8"?>
      5  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="qualified" attributeFormDefault="unqualified" xdb:storeVarrayAsTable="true">
      6          <xs:element name="root" type="rootType" xdb:defaultTable="METADATA_TABLE"/>
      7          <xs:complexType name="rootType" xdb:SQLType="METADATA_ROOT_T">
      8                  <xs:sequence>
      9                          <xs:element name="child" type="childType"/>
    10                  </xs:sequence>
    11          </xs:complexType>
    12          <xs:complexType name="childType" xdb:SQLType="METADATA_CHILD_T">
    13                                  <xs:sequence>
    14                                          <xs:element name="Child1" type="xs:string"/>
    15                                          <xs:element name="Child2" type="xs:string"/>
    16                                  </xs:sequence>
    17          </xs:complexType>
    18  </xs:schema>
    19  ');
    20  begin
    21    if (dbms_xdb.existsResource(:schemaPath)) then
    22      dbms_xdb.deleteResource(:schemaPath);
    23    end if;
    24    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    25  end;
    26  /
    PL/SQL procedure successfully completed.
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,TRUE,
      7      enableHierarchy=>DBMS_XMLSCHEMA.ENABLE_HIERARCHY_RESMETADATA
      8    );
      9  end;
    10  /
    PL/SQL procedure successfully completed.
    SQL> declare
      2    res boolean;
      3  begin
      4    if dbms_xdb.existsResource(:resourcePath) then
      5      dbms_xdb.deleteResource(:resourcePath,4);
      6    end if;
      7    res := dbms_xdb.createResource(:resourcePath,'Mary Had a Little Lamb');
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> select xdbUriType(:resourcePath).getClob()
      2  from dual
      3  /
    XDBURITYPE(:RESOURCEPATH).GETCLOB()
    Mary Had a Little Lamb
    SQL> declare
      2    resid raw(16);
      3  begin
      4    resid := dbms_xdb_version.makeVersioned(:resourcePath);
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> begin
      2    dbms_xdb_version.checkout(:resourcePath);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> set long 10000 pages 0 lines 150
    SQL> --
    SQL> select r.res.getClobVal()
      2    from resource_view r
      3   where equals_path(res,:resourcePath) = 1
      4  /
    <Resource xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" Hidden="false" Inv
    alid="false" VersionID="1" ActivityID="0" Container="false" CustomRslv="false" V
    ersionHistory="false" StickyRef="true">
      <CreationDate>2006-06-10T05:01:25.355009</CreationDate>
      <ModificationDate>2006-06-10T05:01:25.355009</ModificationDate>
      <DisplayName>metadataTest.txt</DisplayName>
      <Language>en-US</Language>
      <CharacterSet>UTF-8</CharacterSet>
      <ContentType>text/plain</ContentType>
      <RefCount>1</RefCount>
      <ACL>
        <acl description="Public:All privileges to PUBLIC" xmlns="http://xmlns.oracl
    e.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch
    emaLocation="http://xmlns.oracle.com/xdb/acl.xsd                           http:
    //xmlns.oracle.com/xdb/acl.xsd">
          <ace>
            <grant>true</grant>
            <principal>PUBLIC</principal>
            <privilege>
              <all/>
            </privilege>
          </ace>
        </acl>
      </ACL>
      <Owner>SCOTT</Owner>
      <Creator>SCOTT</Creator>
      <LastModifier>SCOTT</LastModifier>
      <SchemaElement>http://xmlns.oracle.com/xdb/XDBSchema.xsd#binary</SchemaElement
    >
      <Contents>
        <text>Mary Had a Little Lamb</text>
      </Contents>
      <VCRUID>15DE79F263F7CC00E040578C2A0656F8</VCRUID>
    </Resource>
    SQL> begin
      2    dbms_xdb.appendResourceMetadata(:resourcePath,xmltype(
      3  '<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      4         xsi:noNamespaceSchemaLocation="metadata.xsd">
      5      <child>
      6        <Child1>AAA</Child1>
      7        <Child2>BBB</Child2>
      8      </child>
      9  </root>'));
    10  end;
    11  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> select r.res.getClobVal()
      2    from resource_view r
      3   where equals_path(res,:resourcePath) = 1
      4  /
    <Resource xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" Hidden="false" Inv
    alid="false" VersionID="0" ActivityID="0" Container="false" CustomRslv="false" V
    ersionHistory="false" StickyRef="true">
      <CreationDate>2006-06-10T05:01:25.355009</CreationDate>
      <ModificationDate>2006-06-10T05:01:25.558913</ModificationDate>
      <DisplayName>metadataTest.txt</DisplayName>
      <Language>en-US</Language>
      <CharacterSet>UTF-8</CharacterSet>
      <ContentType>text/plain</ContentType>
      <RefCount>1</RefCount>
      <ACL>
        <acl description="Public:All privileges to PUBLIC" xmlns="http://xmlns.oracl
    e.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch
    emaLocation="http://xmlns.oracle.com/xdb/acl.xsd                           http:
    //xmlns.oracle.com/xdb/acl.xsd">
          <ace>
            <grant>true</grant>
            <principal>PUBLIC</principal>
            <privilege>
              <all/>
            </privilege>
          </ace>
        </acl>
      </ACL>
      <Owner>SCOTT</Owner>
      <Creator>SCOTT</Creator>
      <LastModifier>SCOTT</LastModifier>
      <SchemaElement>http://xmlns.oracle.com/xdb/XDBSchema.xsd#text</SchemaElement>
      <Contents>
        <text>Mary Had a Little Lamb</text>
      </Contents>
      <VCRUID>15DE79F263F7CC00E040578C2A0656F8</VCRUID>
      <Parents>15DE79F263F8CC00E040578C2A0656F8</Parents>
      <root xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam
    espaceSchemaLocation="metadata.xsd">
        <child>
          <Child1>AAA</Child1>
          <Child2>BBB</Child2>
        </child>
      </root>
    </Resource>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.0.0 - Alpha
    With the Partitioning and Data Mining options
    I've filed bug 5313655 for the 10.2.x behavoir. If this is important to you you might want to consider signing up for the forthcoming beta program for the next release of the database

Maybe you are looking for

  • Getting "Save File" permission message related to Report Generation Toolkit

    I started having this problem about a month ago.  It does not affect the operation of my project but is a minor nuisance, but a nuisance none the less.  I opened a couple of Excel Specific VIs.  I did not nor did I attempt to make any changes, I was

  • Getting Error message while trying to access security editior for a IDT universe

    Hi, I have created universe in SAP BO4.1, using IDT. I have applied row level security for User Groups using Security Editor. I have published the changes to repository. But when I am trying to re open the security editor for that universe its throwi

  • Cost center &internal order

    Dear guru's,    We are implimenting asset module newely.previously we are using Zreports based on cost center and internal order.but now we need to make mandatory filed for dep accounts,this gl's amount should be papulated in that report.so how to do

  • Images 1-19 sharp and clear, images 20-138 fuzzy and pixelly ??????

    I printed out a book I am working on yesterday - 138 pages. There is an image on every page. From page 1 to 19 the images are crisp and sharp and look to be the correct 300 dpi. From 20 to 138 the images are blurry and pixelly and look to be 72 dpi o

  • Apple tv hook up with ebay converter

    Hello Apple fans Will this product from ebay solve my problems? I need to connect my apple tv sith my tv (which doesn't have a hdmi input) trough my revices. http://www.ebay.co.uk/itm/HDMI-5-RCA-Component-AV-Converter-PS3-Bluray-HD-/33066 5477926?pt=