public class LobConverter extends Object implements ValueConverter<Object>
property
.Constructor and Description |
---|
LobConverter() |
Modifier and Type | Method and Description |
---|---|
ColumnExpression |
getExpression(Object value,
GeneratorContext context)
Builds the expression for writing the given value into an SQL clause.
|
ColumnExpression |
getExpression(String defaultValue,
GeneratorContext context)
Builds the expression for writing the default value into an SQL clause.
|
public ColumnExpression getExpression(Object value, GeneratorContext context)
ValueConverter
getExpression
in interface ValueConverter<Object>
value
- the current valuecontext
- the current context (contains the database dialect).public ColumnExpression getExpression(String defaultValue, GeneratorContext context)
ValueConverter
getExpression
in interface ValueConverter<Object>
defaultValue
- the default value, as given in an DefaultValue
expressioncontext
- the current context (contains the database dialect).Copyright © 2022 fastnate.org. All rights reserved.