This content has been marked as final.
Show 3 replies
-
1. Re: CascadeType.PERSIST vs CascadeType.CREATE
bill.burke Aug 2, 2005 1:41 PM (in response to srose)CascadeType.CREATE == PERSIST
CREATE doesn't exist anymore -
2. Re: CascadeType.PERSIST vs CascadeType.CREATE
srose Aug 2, 2005 1:45 PM (in response to srose)Thanks Bill. I was asking because I tried using CascadeType.PERSIST to create a child record in a OneToMany relationship automatically when I created the parent. But this doesnt seem to work. It does not throw any errors , the record just isnt created. I can just do it with code instead of relying on the container.
-
3. Re: CascadeType.PERSIST vs CascadeType.CREATE
epbernard Aug 3, 2005 5:54 PM (in response to srose)See my reply to your post