Skip to content

Fix typo on JpaMetamodelMappingContext & MergingPersistenceUnitManager #2775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private Metamodel getMetamodelFor(Class<?> type) {
} catch (IllegalArgumentException o_O) {

// Fall back to inspect *all* managed types manually as Metamodel.managedType(…) only
// returns for entities, embeddables and managed supperclasses.
// returns for entities, embeddables and managed superclasses.

for (ManagedType<?> managedType : model.getManagedTypes()) {
if (type.equals(managedType.getJavaType())) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

/**
* Extends {@link DefaultPersistenceUnitManager} to merge configurations of one persistence unit residing in multiple
* {@code persistence.xml} files into one. This is necessary to allow the declaration of entities in seperate modules.
* {@code persistence.xml} files into one. This is necessary to allow the declaration of entities in separate modules.
*
* @author Oliver Gierke
* @link https://github.com/spring-projects/spring-framework/issues/7287
Expand Down