Skip to content

Commit beceb19

Browse files
committed
HHH-18708 Changed class javadoc
1 parent 4bce963 commit beceb19

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hibernate-core/src/main/java/org/hibernate/dialect/function/StringFunction.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626

2727

2828
/**
29-
* The HQL {@code ordinal()} function returns the ordinal value of an enum
29+
* The HQL {@code string()} function returns the string value of an enum
3030
* <p>
31-
* For enum fields mapped as ORDINAL it's a synonym for {@code cast(x as Integer)}. Same as {@link CastStrEmulation} but for Integer.
32-
* For enum fields mapped as STRING or ENUM it's a case statement that returns the ordinal value.
31+
* For enum fields mapped as STRING or ENUM it's a synonym for {@code cast(x as String)}. Same as {@link CastStrEmulation}.
32+
* For enum fields mapped as ORDINAL it's a case statement that returns the bane if enum.
3333
*
34-
* @author Luca Molteni
34+
* @author Luca Molteni, Cedomir Igaly
3535
*/
3636
public class StringFunction
3737
extends AbstractSqmSelfRenderingFunctionDescriptor {

0 commit comments

Comments
 (0)