Hi,

On Wed, Sep 11, 2002 at 02:21:30PM +0200, Thomas Fahrmeyer wrote:
> Hi,
> 
> I've asked this question a few days ago, but didn't get a answer, but I
> think it's a common problem.
> 
> I have my own SequenceManager which should be used for 2 Tables and only for
> these 2. The feature declaring
> a SequenceManager for each class-descriptor is not yet implemented. My
> Question is: How can I use this manager to generate a new ID for these two
> classes.

This is just an idea, don't know if it works:
You could implement the PersistenceBrokerAware-Interface in the classes mapped 
to your 2 tables and set the id (which you retrieve from your own sequence
manager) in the beforeStore () method.

hth,

Jens

-- 
Jens Kr�mer
[EMAIL PROTECTED]
0351/46766-31

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to