Either Insert or Update the bean depending on its state. If there is no current transaction one will be created and committed for you automatically. Save can cascade along relationships. For this to happen you need to specify a cascade of CascadeType.ALL or CascadeType.PERSIST on the OneToMa
(Object bean)
| 746 | * will be set against each order detail when it is saved. |
| 747 | */ |
| 748 | void save(Object bean) throws OptimisticLockException; |
| 749 | |
| 750 | /** |
| 751 | * Save all the beans in the collection. |
no outgoing calls