public static ServiceName getPUServiceName(String scopedPersistenceUnitName) { return JPAServiceNames.getPUServiceName(scopedPersistenceUnitName); }
/** * Returns the Persistence Unit service name used for creation or lookup. The service name * contains the unique fully scoped persistence unit name * * @param pu persistence unit definition * @return */ public static ServiceName getPUServiceName(PersistenceUnitMetadata pu) { return JPAServiceNames.getPUServiceName(pu.getScopedPersistenceUnitName()); }