I am using eclipselink and I have something like this:
@PersistenceContext(unitName = "unit1")
private EntityManager em;
Is there any way that I can specify/read the persistent unit name from a config/property file so that if I want, i can change the persistent unit name (so that it will point to a different data source)?
unitName
– Anthony Accioly