public class SerializableConverter extends Object implements ValueConverter<Serializable>
Serializable
to a SQL expression.Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_BUFFER_SIZE
Serializable objects tend to be big, so start not to small with the buffer.
|
Constructor and Description |
---|
SerializableConverter() |
Modifier and Type | Method and Description |
---|---|
ColumnExpression |
getExpression(Serializable value,
GeneratorContext context)
Builds the expression for writing the given value into an SQL clause.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpression
private static final int DEFAULT_BUFFER_SIZE
public ColumnExpression getExpression(Serializable value, GeneratorContext context)
ValueConverter
getExpression
in interface ValueConverter<Serializable>
value
- the current valuecontext
- the current context (contains the database dialect).Copyright © 2022 fastnate.org. All rights reserved.