Package org.nutz.dao.impl.jdbc

Examples of org.nutz.dao.impl.jdbc.ClobValueAdaptor


    // Blob
    if (mirror.isOf(Blob.class))
      return new BlobValueAdaptor(conf.getPool());
    // Clob
    if (mirror.isOf(Clob.class))
      return new ClobValueAdaptor(conf.getPool());

    // 默认情况
    return Jdbcs.Adaptor.asString;
  }
View Full Code Here


        // Blob
        if (mirror.isOf(Blob.class))
            return new BlobValueAdaptor(conf.getPool());
        // Clob
        if (mirror.isOf(Clob.class))
            return new ClobValueAdaptor(conf.getPool());
        // byte[]
        if (mirror.getType().isArray() && mirror.getType().getComponentType() == byte.class) {
            return Jdbcs.Adaptor.asBytes;
        }
        // inputstream
View Full Code Here

        // Blob
        if (mirror.isOf(Blob.class))
            return new BlobValueAdaptor(conf.getPool());
        // Clob
        if (mirror.isOf(Clob.class))
            return new ClobValueAdaptor(conf.getPool());
        // byte[]
        if (mirror.getType().isArray() && mirror.getType().getComponentType() == byte.class) {
            return Jdbcs.Adaptor.asBytes;
        }
        // inputstream
View Full Code Here

TOP

Related Classes of org.nutz.dao.impl.jdbc.ClobValueAdaptor

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.