Skip to content

Commit d4d3403

Browse files
committed
javadoc updates
1 parent 1b62581 commit d4d3403

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStyleGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
* <tr>
9999
* <td>{@value #VALUE_COLUMN_PARAM}</td>
100100
* <td>{@value #DEF_VALUE_COLUMN}</td>
101-
* <td>The name of column which holds the sequence value for the given segment</td>
101+
* <td>The name of the column which holds the sequence value for the given segment</td>
102102
* </tr>
103103
* </table>
104104
*

hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,10 @@
5858
/**
5959
* An enhanced version of table-based id generation.
6060
* <p>
61-
* Unlike the simplistic legacy one (which was only ever intended for subclassing
62-
* support) we "segment" the table into multiple values. Thus, a single table can
63-
* actually serve as the persistent storage for multiple independent generators. One
64-
* approach would be to segment the values by the name of the entity for which we are
65-
* performing generation, which would mean that we would have a row in the generator
66-
* table for each entity name. Or any configuration really; the setup is very flexible.
61+
* A single table may serve as the persistent storage for multiple independent generators.
62+
* For example, we might segment the generated values by the name of the entity for which
63+
* we are generation ids. This, we would have a row in the generator table for each entity
64+
* name. Other approaches are also possible.
6765
* <p>
6866
* By default, we use a single row for all generators (the {@value #DEF_SEGMENT_VALUE}
6967
* segment). The configuration parameter {@value #CONFIG_PREFER_SEGMENT_PER_ENTITY} can
@@ -84,7 +82,7 @@
8482
* <tr>
8583
* <td>{@value #VALUE_COLUMN_PARAM}</td>
8684
* <td>{@value #DEF_VALUE_COLUMN}</td>
87-
* <td>The name of column which holds the sequence value for the given segment</td>
85+
* <td>The name of the column which holds the sequence value for the given segment</td>
8886
* </tr>
8987
* <tr>
9088
* <td>{@value #SEGMENT_COLUMN_PARAM}</td>

0 commit comments

Comments
 (0)