Package org.nutz.dao.impl.jdbc

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


    // java.sql.Time
    if (mirror.isOf(java.sql.Time.class))
      return Jdbcs.Adaptor.asSqlTime;
    // Blob
    if (mirror.isOf(Blob.class))
      return new BlobValueAdaptor(conf.getPool());
    // Clob
    if (mirror.isOf(Clob.class))
      return new ClobValueAdaptor(conf.getPool());

    // 默认情况
View Full Code Here


        // java.sql.Time
        if (mirror.isOf(java.sql.Time.class))
            return Jdbcs.Adaptor.asSqlTime;
        // 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) {
View Full Code Here

        // java.util.Date
        if (mirror.isOf(java.util.Date.class))
            return Jdbcs.Adaptor.asDate;
        // 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) {
View Full Code Here

TOP

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

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.