Which statement is true about the use of a persist operation in a transaction of an Entity Beans

Which statement is true about the use of a persist operation in a transaction of an Entity Beans




a. If a user persists a detached object it always becomes managed
b. The persist operation on an entity always cascades to its related entities
c. If a user persists a new entity with an existing primary key the transaction will fail
d. If a user persists a managed entity an exception may be thrown by the persist operation





Answer: C


Learn More :