If all you need to do is get your primary key from the autoincrement,
you can simply put the code to fetch the value in ejbCreate and return
that value as your primary key. Or am I missing something?
Ray wrote:
> Hello again.
>
> I'm getting the hang of this ... :-)
>
> Now, because I have an autoincrementing primary key, I need to write my
> own entity creator. So what I'm after is a bean-managed entity create(),
> whilst everything else is container managed.
>
> I know that you can override the finder methods, but can I override the
> entity create methods?
>
> Thanks.
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> 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