Skip to content

Commit 10b2c81

Browse files
committed
fix three occurrences of "on object"
1 parent 4a28377 commit 10b2c81

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

documentation/src/main/asciidoc/introduction/Interacting.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ _Orphan removal_ indicates that an `Item` should be automatically deleted if it
395395
Our data model is a set of interconnected entities, and in Java our whole dataset would be represented as an enormous interconnected graph of objects.
396396
It's possible that this graph is disconnected, but more likely it's connected, or composed of a relatively small number of connected subgraphs.
397397

398-
Therefore, when we retrieve on object belonging to this graph from the database and instantiate it in memory, we simply can't recursively retrieve and instantiate all its associated entities.
398+
Therefore, when we retrieve an object belonging to this graph from the database and instantiate it in memory, we simply can't recursively retrieve and instantiate all its associated entities.
399399
Quite aside from the waste of memory on the VM side, this process would involve a huge number of round trips to the database server, or a massive multidimensional cartesian product of tables, or both.
400400
Instead, we're forced to cut the graph somewhere.
401401

hibernate-core/src/main/java/org/hibernate/boot/model/FunctionContributor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import org.hibernate.service.JavaServiceLoadable;
88

99
/**
10-
* On object that contributes custom HQL functions, eventually to a
10+
* An object that contributes custom HQL functions, eventually to a
1111
* {@link org.hibernate.query.sqm.function.SqmFunctionRegistry}, via an
1212
* instance of {@link FunctionContributions}.
1313
* <ul>

hibernate-core/src/main/java/org/hibernate/boot/model/TypeContributor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import org.hibernate.service.ServiceRegistry;
99

1010
/**
11-
* On object that contributes custom types and type descriptors, eventually to
11+
* An object that contributes custom types and type descriptors, eventually to
1212
* a {@link org.hibernate.type.spi.TypeConfiguration}, via an instance of
1313
* {@link TypeContributions}.
1414
* <ul>

0 commit comments

Comments
 (0)