Using insert-after-ejb-post-create breaks mssql-fetch-key (at least for my setup).
When using the entity create command: mssql-fetch-key with insert-after-ejb-post-create set to true I get
javax.ejb.CreateException: Primary key for created instance is null., exceptions. However when post-create is set to false everything works nicely, except that I have to set my CMR foreign key fields using mapped CMP fields instead of CMR on ejbPostCreate.
I have exactly the same problem with mysql-get-generated-keys and the afterEjbPostCreate.
Have anybody an idea ?
Thanks,
Thomas