public class CharConverter extends Object implements ValueConverter<Character>
EntityClass.| Constructor and Description |
|---|
CharConverter() |
| Modifier and Type | Method and Description |
|---|---|
ColumnExpression |
getExpression(Character 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(Character value, GeneratorContext context)
ValueConvertergetExpression in interface ValueConverter<Character>value - the current valuecontext - the current context (contains the database dialect).public ColumnExpression getExpression(String defaultValue, GeneratorContext context)
ValueConvertergetExpression in interface ValueConverter<Character>defaultValue - the default value, as given in an DefaultValue expressioncontext - the current context (contains the database dialect).Copyright © 2022 fastnate.org. All rights reserved.