package io.ebeaninternal.server.type;
import io.ebean.core.type.DataReader;
import java.sql.SQLException;
import java.sql.Types;
ScalarType for String.
/**
* ScalarType for String.
*/
public class ScalarTypeClob extends ScalarTypeStringBase {
ScalarTypeClob(boolean jdbcNative, int jdbcType) {
super(jdbcNative, jdbcType);
}
public ScalarTypeClob() {
super(true, Types.CLOB);
}
@Override
public String read(DataReader reader) throws SQLException {
return reader.getStringFromStream();
}
}