The type SessionImpl.IdentifierLoadAccessImpl is not visible (not public) so the new API session.byId(..) is not useable

Description

Document http://in.relation.to/Bloggers/41FeatureLoadingByNaturalId
says that the new approach has been made available for identifier based loading as well,
by listing following 2 new public methods:

public IdentifierLoadAccess byId(String entityName);
public IdentifierLoadAccess byId(Class entityClass);

Unfortunately IdentifierLoadAccess is a private inner class of SessionImpl so

session.byId(C.class).load(id);

gives following compile-error:
java.lang.Error: Unresolved compilation problem:
The type SessionImpl.IdentifierLoadAccessImpl is not visible

Environment

None

Assignee

Steve Ebersole

Reporter

Guenther Demetz

Fix versions

None

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure