ref.add(new StringRefAddr(REF_BLOCKING_TIMEOUT, String.valueOf(getBlockingTimeout())));
if (getBlockingTimeout() != FBPoolingDefaults.DEFAULT_BLOCKING_TIMEOUT) ref.add(new StringRefAddr(REF_BLOCKING_TIMEOUT, String.valueOf(getBlockingTimeout())));
    public Reference getDefaultReference() {        Reference ref = new Reference(getClass().getName());                if (getBlobBufferSize() != FBConnectionDefaults.DEFAULT_BLOB_BUFFER_SIZE)            ref.add(new StringRefAddr(REF_BLOB_BUFFER_SIZE,                 String.valueOf(getBlobBufferSize())));                    ref.add(new StringRefAddr(REF_BLOCKING_TIMEOUT,             String.valueOf(getBlockingTimeout())));        if (getDatabase() != null)                        ref.add(new StringRefAddr(REF_DATABASE, getDatabase()));                    if (getDescription() != null)            ref.add(new StringRefAddr(REF_DESCRIPTION, getDescription()));                    if (getEncoding() != null)            ref.add(new StringRefAddr(REF_ENCODING, getEncoding()));        ref.add(new StringRefAddr(REF_IDLE_TIMEOUT,            String.valueOf(getIdleTimeout())));                    ref.add(new StringRefAddr(REF_LOGIN_TIMEOUT,            String.valueOf(getLoginTimeout())));                    ref.add(new StringRefAddr(REF_MAX_SIZE,             String.valueOf(getMaxSize())));                    ref.add(new StringRefAddr(REF_MIN_SIZE,            String.valueOf(getMinSize())));                    if (getPassword() != null)            ref.add(new StringRefAddr(REF_PASSWORD, getPassword()));        ref.add(new StringRefAddr(REF_PING_INTERVAL,             String.valueOf(getPingInterval())));                    ref.add(new StringRefAddr(REF_SOCKET_BUFFER_SIZE,         	String.valueOf(getSocketBufferSize())));        	        if (getSqlRole() != null)       	    ref.add(new StringRefAddr(REF_SQL_ROLE, getSqlRole()));       	        if (getTpbMapping() != null)       	    ref.add(new StringRefAddr(REF_TPB_MAPPING, getTpbMapping()));                    if (getType() != null)       	    ref.add(new StringRefAddr(REF_TYPE, getType()));                if (getUserName() != null)       	    ref.add(new StringRefAddr(REF_USER_NAME, getUserName()));                return ref;    }