Package de.zalando.typemapper.postgres

Examples of de.zalando.typemapper.postgres.HStore


    public Object mapField(final String value, final Class clazz) {
        if (value == null) {
            return null;
        }

        HStore hstore = new HStore(value);
        return hstore.asMap();
    }
View Full Code Here


    public Object mapParam(final Object value, final Connection connection) {
        if (value == null) {
            return null;
        }

        return new HStore((Map<?, ?>) value);
    }
View Full Code Here

TOP

Related Classes of de.zalando.typemapper.postgres.HStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.