This content has been marked as final.
Show 2 replies
-
1. Re: Not null columns problem
zahid14 Dec 3, 2003 10:37 AM (in response to radl01)Call set<NOT_NULL_FIELD>(SOME DATA) in the ejbCreate method for all not null columns.
Example: if column is Customer then
public java.lang.String ejbCreate(java.lang.String fileName) throws CreateException {
setFileName(fileName);
setCustomer(""); //-----
return null;
} -
2. Re: Not null columns problem
radl01 Dec 4, 2003 2:11 AM (in response to radl01)Thank you very much. I have exactly the same idea. I works great.
But what about remove method. I have jumped in the same problem with not null columns. I do not understand why update statement is called before remove method.
Any idea ?
Jan