EntityManager it is possible, to do the same
as the service bean.EntityManagerFactory and an abstract
EntityManager.Persistence#addReplicationEntities(de.tsl2.nano.service.util.IGenericBaseService, java.util.List, java.util.List)
inserts all unpersisted relations - but in an undefined order. so we have to try to persist the collection for
several times. if no element was persisted in one loop, the trial and error job stops.RuntimeClassloader, manipulating the found persistence.xmlCopyright © 2012–2018. All rights reserved.