Cool that its a known issue.
FYI. I have since found that when I create my own container configuration
and cache policy for my BMP entities, that all works ok (so far). So it is
possibly just something wrong with the default.
On an aside...
I notice however that ejx puts in (it seems appropriate for JDK1.3)
<container-invoker>org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker<
/container-invoker>
but when my jar is deployed by JBoss I get a warning stating that this class
is depreciated
but not when the container invoker is changed back to
<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</c
ontainer-invoker>
tack :)
David
> -----Original Message-----
> From: Lennart Petersson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 11 April 2001 12:37 a.m.
> To: [EMAIL PROTECTED]
> Subject: SV: [JBoss-user] Re-using primary key issue
>
>
> No, I get the same exception and it's a 'known' bug in jboss
> from before. Has to do with the fact that the entity is not
> removed from the jboss cach when deleted from the database.
> Hence jboss throws an exception when during create it finds
> the entity still in the cach. If jboss is restarted between
> remove and create there is no problem.
>
> Strange if it works for you Ken!!??
>
> I was to take on this bug but haven't have the time yet. Hope
> to start with it tomorrow.
>
> /Lennart
> ----- Original Message -----
> From: Ken Jenks <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 10, 2001 3:00 AM
> Subject: Re: [JBoss-user] Re-using primary key issue
>
>
> > At 12:40 PM 4/10/01 +1200, you wrote:
> > >JBoss 2.1
> > >
> > >After deleting (remove()) an entity, if I try to create a
> new entity with
> > >the same primary key as the previously deleted one, I get
> the following
> > >exception
> >
> > I don't know. It works fine for me, using a modified
> version of the "CD"
> > CMP example from the old documentation.
> >
> > -- Ken Jenks, http://abiblion.com/
> >
> > Tools for reading.
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user