i using eclipselink , have this:
@persistencecontext(unitname = "unit1")
private entitymanager em;
is there way can specify/read persistent unit name config/property file if want, can change persistent unit name (so point different data source)?
don't use injection, lookup context in code.
Comments
Post a Comment