Ups, overlooked ;) Than I have a problem. I need a special SequenceManager just for two classes. Is there a workaround to generate a sequence number used on creation of these Objects ?
Can I use the MySequenceManager.getUniqueString(...) and tell OJB this new number to create a new object ? thanx Thomas > -----Ursprungliche Nachricht----- > Von: Thomas Mahler [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 9. September 2002 07:00 > An: OJB Users List > Betreff: Re: SequenceManager registration in class-descriptor doesn't > work > > > As mentionend in the DTD and in the repository.html docs for > class-descriptor: > " The sequence-manager attribute may contain a full qualified class > name. This class will be used as the SequenceManager implementation for > the persistent class. *Important note: this feature is not yet > implemented!* " > > > > Thomas Fahrmeyer wrote: > > Hi, > > > > I wrote a little SequenceManger which should be used only for > two persistent > > classes. I wanted to register it within the class-descriptor > > > > <class-descriptor > > class="de.virtualsolution.ojb.Person" > > table="tab_ap" > > sequence-manager="de.virtualsolution.mdb.SequenceManagerImpl" > > > > > > > <field-descriptor > > id="1" > > name="id" > > column="contact_id" > > jdbc-type="VARCHAR" > > length="13" > > nullable="false" > > primarykey="true" > > autoincrement="true" > > /> > > > > .... > > </class-descriptor> > > > > But this manager was not used, but the one registered in the > OJB.properties. > > If I register this class in OJB.properties it works. > > > > What's wrong ? > > > > Thanx > > Thomas > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
