Top Description Fields Constructors Methods
org.hibernate.dialect.function.array

public Class H2ArrayToStringFunction

extends ArrayToStringFunction
Class Inheritance
Imports
java.util.List, org.hibernate.query.ReturnableType, org.hibernate.sql.ast.SqlAstTranslator, org.hibernate.sql.ast.spi.SqlAppender, org.hibernate.sql.ast.tree.SqlAstNode, org.hibernate.sql.ast.tree.expression.Expression, org.hibernate.type.spi.TypeConfiguration

Deprecated

as a consequence of ArrayToStringFunction being deprecated. See corresponding docs for further information.

H2 requires a very special emulation, because unnest is pretty much useless, due to https://github.com/h2database/h2database/issues/1815. This emulation uses array_get, array_length and system_range functions to roughly achieve the same.

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
public
H2ArrayToStringFunction(int maximumArraySize, TypeConfiguration typeConfiguration)

Method Summary

Modifier and TypeMethod and Description
public void

Field Detail

maximumArraySizeback to summary
private final int maximumArraySize

Constructor Detail

H2ArrayToStringFunctionback to summary
public H2ArrayToStringFunction(int maximumArraySize, TypeConfiguration typeConfiguration)

Method Detail

renderback to summary
public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)

Overrides org.hibernate.dialect.function.array.ArrayToStringFunction.render.

Implements org.hibernate.query.sqm.function.FunctionRenderer.render.

Annotations
@Override