supporting both RESOURCE_LOCAL and JTA persistence.xml (by handling exceptions); polymorphised entitiy controllers; distinguishing whether transaction is needed upon existance of entitiymanagerfactory
added -maybe- memory database definition