Example usage for org.apache.ibatis.type LongTypeHandler subclass-usage

List of usage examples for org.apache.ibatis.type LongTypeHandler subclass-usage

Introduction

In this page you can find the example usage for org.apache.ibatis.type LongTypeHandler subclass-usage.

Usage

From source file com.thoughtworks.go.server.dao.handlers.SetZeroIfNull.java

public class SetZeroIfNull extends LongTypeHandler {

    @Override
    public Long getNullableResult(CallableStatement cs, int columnIndex) throws SQLException {
        return valueOf(super.getNullableResult(cs, columnIndex));
    }