class StringToBigIntegerMapper
implements TypeMapper<String, BigInteger> {

    @Override
    public String getLabel() {
        return "String to BigInteger Mapper";
    }

    @Override
    public Type getJavaType(Column column) {
        return BigInteger.class;
    }

    @Override
    public Category getJavaTypeCategory(Column column) {
        return Category.COMPARABLE;
    }

    @Override
    public BigInteger toJavaType(Column column, Class<?> entityType, String value) {<FILL_FUNCTION_BODY>}

    @Override
    public String toDatabaseType(BigInteger value) {
        return value == null ? null : value.toString();
    }

    @Override
    public Ordering getOrdering() {
        // Alphabetic order and numeric order might differ
        return Ordering.UNSPECIFIED;
    }
}

        return value == null ? null : new BigInteger(value);
    
<no_super_class>