Fast Object Database for Java - with JPA/JDO support

remove(entity) - JPA EntityManager's method

Remove the entity instance.
Parameters:
entity - entity instance
Throws:
IllegalArgumentException - if the instance is not an entity or is a detached entity
TransactionRequiredException - if invoked on a container-managed entity manager of type PersistenceContextType.TRANSACTION and there is no transaction
Since:
JPA 1.0