Menu

#255 INSERT after ejbPostCreate

v3.2
open
nobody
JBossCMP (36)
5
2003-08-06
2003-08-06
No

Sample container configuration that uses the feature:

<container-configurations>
<container-configuration
extends="Standard CMP 2.x EntityBean">
<container-name>
INSERT after ejbPostCreate Container
</container-name>
<insert-after-ejb-post-create>
true
</insert-after-ejb-post-create>
</container-configuration>
</container-configurations>

Note: this configuration won't work with database
generated keys (auto-increment) as after ejbCreate and
before ejbPostCreate primary key must be available
(refer to the EJB2.0 spec) which is impossible if INSERT
wasn't executed.

Available since 3.2.2RC3.

Discussion

  • Mykola Nikishov

    Mykola Nikishov - 2003-08-18

    Logged In: YES
    user_id=210215

    Alexey, does patch for 3.2.2RC2 available already?

     
  • Alexey Loubyansky

    Logged In: YES
    user_id=543482

    Sorry? We don't backport fixes/features to previous releases.
    It is available in 3.2.2RC3 and later.

     

Log in to post a comment.