package io.ebeaninternal.server.type;
import java.sql.SQLException;
import java.sql.Types;
ScalarType for Longvarbinary.
/**
* ScalarType for Longvarbinary.
*/
public class ScalarTypeBytesLongVarbinary extends ScalarTypeBytesBase {
public ScalarTypeBytesLongVarbinary() {
super(true, Types.LONGVARBINARY);
}
@Override
public byte[] read(DataReader dataReader) throws SQLException {
return dataReader.getBinaryBytes();
}
}