This content has been marked as final.
Show 4 replies
-
1. Re: EntityNotFoundException during Entity load
welser Jul 9, 2007 10:58 AM (in response to welser)Sorry should be like this...
"All i want is that in the case when ID is 0 the Customer will be set to NULL and no exception will ..." -
2. Re: EntityNotFoundException during Entity load
waynebaylor Jul 11, 2007 11:28 AM (in response to welser)how can you set the id=0 if the object is null?
-
3. Re: EntityNotFoundException during Entity load
fhh Jul 11, 2007 8:25 PM (in response to welser)If you say nullable = false it means nullable = false. So the Customer can't be set to null. Remove it and alter table accordingly.
Regards
Felix -
4. Re: EntityNotFoundException during Entity load
welser Jul 12, 2007 4:28 AM (in response to welser)Yes you are right would be the cleanest way to do it..but fact is i cannot change the table ! there are 100 and more programs in RPB which are accessing this tables..
The definition of the table was done wrong 10 years ago and there are now a lto of programs which are working with exactly this table definition :(