Clarification : sequences and catalog/schema
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > Clarification : sequences and catalog/schema




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Clarification : sequences and catalog/schema  
Andy Jefferson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-26-06 06:11 PM

Hi,

when someone wants to assign values using the strategy sequence they can
specify the "sequence" attribute defining the sequence name. How do they
define that the named sequence is in a particular catalog/schema?

For example I have a class
<class name="MyClass" catalog="mycat" schema="mysch1">
<datastore-identity strategy="sequence" sequence="SEQ1"/>
..
</class>

1. We could assume (as a default) that "SEQ1" is in the same catalog/schema 
as
the object requiring its values. Is this the intention? I didn't find a
specific wording to define this in the spec.

2. What if I wanted to use "SEQ1" in a schema "mysch2" for example ? Would I
be expected to specify a sequence name of "mysch2.SEQ1" ?


--
Andy
Java Persistent Objects - JPOX






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:10 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register