short mboxGroupBits = DbUtil.getUnsignedTinyIntAsShort(rs, CN_MAILBOX_GROUP_BITS); short mboxBits = DbUtil.getUnsignedTinyIntAsShort(rs, CN_MAILBOX_BITS); short fileGroupBits = DbUtil.getUnsignedTinyIntAsShort(rs, CN_FILE_GROUP_BITS); short fileBits = DbUtil.getUnsignedTinyIntAsShort(rs, CN_FILE_BITS);
short mboxGroupBits = rs.getShort(CN_MAILBOX_GROUP_BITS); short mboxBits = rs.getShort(CN_MAILBOX_BITS); short fileGroupBits = rs.getShort(CN_FILE_GROUP_BITS); short fileBits = rs.getShort(CN_FILE_BITS);
    private static Volume constructVolume(ResultSet rs) throws SQLException {        short id = DbUtil.getUnsignedTinyIntAsShort(rs, CN_ID);        short type = DbUtil.getUnsignedTinyIntAsShort(rs, CN_TYPE);        String name = rs.getString(CN_NAME);        String path = rs.getString(CN_PATH);        short mboxGroupBits = DbUtil.getUnsignedTinyIntAsShort(rs, CN_MAILBOX_GROUP_BITS);        short mboxBits = DbUtil.getUnsignedTinyIntAsShort(rs, CN_MAILBOX_BITS);        short fileGroupBits = DbUtil.getUnsignedTinyIntAsShort(rs, CN_FILE_GROUP_BITS);        short fileBits = DbUtil.getUnsignedTinyIntAsShort(rs, CN_FILE_BITS);        boolean compressBlobs = rs.getBoolean(CN_COMPRESS_BLOBS);        long compressionThreshold = rs.getLong(CN_COMPRESSION_THRESHOLD);        Volume v = new Volume(id, type, name, path, mboxGroupBits, mboxBits,            fileGroupBits, fileBits, compressBlobs, compressionThreshold);        return v;    }