Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Firebird Open Source J2ee connector - jdbc driver
  *
  * Distributable under LGPL license.
  * You may obtain a copy of the License at http://www.gnu.org/copyleft/lgpl.html
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * LGPL License for more details.
 *
 * This file was created by members of the firebird development team.
 * All individual contributions remain the Copyright (C) of those
 * individuals.  Contributors to this file are either listed here or
 * can be obtained from a CVS history command.
 *
 * All rights reserved.
 */
package org.firebirdsql.jdbc.field;
This is Blob-based implementation of FBStringField for auto-commit case. It should be used for fields declared in database as BLOB SUB_TYPE 1. This implementation provides all conversion routines FBStringField has.

Author(s):
Roman Rokytskyy
Version:
1.0
    FBCachedLongVarCharField(XSQLVAR fieldFieldDataProvider dataProviderint requiredType
        throws SQLException 
    {
        super(fielddataProviderrequiredType);
    }
    public Blob getBlob() throws SQLException {
        if (getFieldData()==null)
            return ;
        return new FBCachedBlob(getFieldData());
    }
    
    public Clob getClob() throws SQLException {
    	if (getFieldData() == null){
    		return ;
    	}
    }
New to GrepCode? Check out our FAQ X