IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  primary keys and l foreign keys define

    Posted Thu May 01, 2003 09:50 PM

    In schema design, we needn’t declare that an element is the schema’s primary key or foreign key? Or my should use rule to declare them?

    I try to find some help to declare or define the primary key and foreign, but to my surprise , in "All that Jazz "document there is an example to define Schema Album: the productNO element is the Schema Album’s primary key ,but in Schema define, there is no declaration for the primary key .the productNo element define is like that:

     < xs:element name = "productNo" type = "xs:normalizedString">
    <xs:annotation>
    <xs:appinfo>
    <tsd:elementInfo>
    <tsd:physical>
    <tsd:native>
    <tsd:index>
    <tsd:standard/>
    </tsd:index>
    </tsd:native>
    </tsd:physical>
    </tsd:elementInfo>
    </xs:appinfo>
    </xs:annotation>
    </xs:element>
    

    album.tsd (1.69 KB)


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: primary keys and l foreign keys define

    Posted Fri May 02, 2003 07:41 PM

    Hello lisa,

    we are currently in the process of releasing a Tamino Server Extension which will allow the definition and enforcement of unique constraints for a Tamino schema.

    With this Server Extension you would be able to ensure that at least the values in your keys are unique.

    I am sorry to tell you this though: the Server Extension requires Tamino 4.1 because it uses trigger functionality which is not present in Tamino 3.1 (so if you have to stay with 3.1 I’m afraid that this Server Extension will not be of any help to you).

    Greetings,
    Trevor.


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: primary keys and l foreign keys define

    Posted Sat May 03, 2003 10:20 AM

    Hi,Trevor,
    thanks a lot.
    i know that, and i will modify my schema to add the key constraints when i use the Tamino 4.1 server.
    It’s very kind of you!

    regards,
    lisa


    #webMethods
    #Tamino
    #API-Management


  • 4.  RE: primary keys and l foreign keys define

    Posted Fri July 18, 2003 03:22 AM

    I’m looking for a way to enable and enforce unique ids in an element.
    e.g would disallow inserting of another on the same level. The Tamino schema Editor docu says the unique is not supported.

    Is that the only possible to use the xtensions and are they already available?
    I’m using Tamino 4.1.1.1 and XQuery.


    #webMethods
    #Tamino
    #API-Management


  • 5.  RE: primary keys and l foreign keys define

    Posted Fri July 18, 2003 03:42 AM

    Hello qwerty,

    the aforementioned Server Extension is now available, and it will meet your requirements.

    It can be downloaded from here:
       http://developer.softwareag.com/tamino/download.htm#constraints

    I hope that helps,
    Trevor.


    #webMethods
    #Tamino
    #API-Management


  • 6.  RE: primary keys and l foreign keys define

    Posted Fri July 18, 2003 03:55 AM

    Thanks for the quick reply.
    Will this solution be available for HP-UX?
    I noticed only this platforms were listed

    Platform
    4.1.1 Win 2000 Prof.,
    Win 2000 Server,
    Win 2000 Adv. Serv.,
    Win XP Prof.


    #webMethods
    #Tamino
    #API-Management


  • 7.  RE: primary keys and l foreign keys define

    Posted Fri July 18, 2003 10:42 PM

    Hello qwerty,

    the Server Extension is implemented in Java - so the “Windows download” should run just as well on HP-UX.

    I haven’t tested this personally, but perhaps someone else has…

    Greetings,
    Trevor.


    #webMethods
    #API-Management
    #Tamino