Remove the not null constraint in your DB schema? Is this an existing db schema or did JBossCMP create it for you?
I use an existing database and I can't remove existing constraints.
Which version of JBoss are you using? I think there is a delayed insert in 3.2.x (though I haven't used it, and didn't check the change notes right at this time). Try if you can find out anything about it on the forums/release notes.
I have same problem on JBoss 3.2.1. What I must do if I have the NOT NULL constraint on CMR? In this case
I can't use the constraints?
If I sets the CMR fields in ejbCreate (not collections), I have error that talks about specification violation.
If we looks specification we can see that this isn't violation, because only collections we must sets in
ejbPostCreate. I don't understood why I didn't sets
the CMR field that represents the single entity in ejbCreate method.
Am I wrong? Can anybody explain this?
I try find out the delayed insert. But I can't do this. I think it's absent there.
Have anybody any decisions of this problem?
Thanx of lot... But this decision isn't pretty... :(
On my mind, better just to skip this checking, like to WL. In any case thank You for reply.