com.ibm.as400.access.AS400JDBCNClobLocator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt400 Show documentation
Show all versions of jt400 Show documentation
The Open Source version of the IBM Toolbox for Java
The newest version!
///////////////////////////////////////////////////////////////////////////////
//
// JTOpen (IBM Toolbox for Java - OSS version)
//
// Filename: AS400JDBCNClobLocator.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 2006-2006 International Business Machines Corporation and
// others. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////
package com.ibm.as400.access;
/* ifdef JDBC40 */
import java.sql.NClob;
/* endif */
//@PDA jdbc40 new class
public class AS400JDBCNClobLocator extends AS400JDBCClobLocator
/* ifdef JDBC40 */
implements NClob
/* endif */
{
/**
Constructs an AS400JDBCNClobLocator object. The data for the
CLOB will be retrieved as requested, directly from the
IBM i system, using the locator handle.
@param locator The locator.
@param converter The text converter.
@param savedObject The input savedOjbect.
@param savedScale The saved scale.
**/
AS400JDBCNClobLocator(JDLobLocator locator, ConvTable converter, Object savedObject, int savedScale)
{
super(locator, converter, savedObject, savedScale);
}
//@xml4 new constructor
/**
Constructs an AS400JDBCNClobLocator object. The data for the
CLOB will be retrieved as requested, directly from the
IBM i system, using the locator handle.
If this clob has a source of a column of type XML, then any getX method that returns xml as string will trim the xml declaration.
@param locator The locator.
@param converter The text converter.
@param savedObject The input savedOjbect.
@param savedScale The saved scale.
@param isXML Flag that stream is from an XML column type (needed to strip xml declaration)
**/
AS400JDBCNClobLocator(JDLobLocator locator, ConvTable converter, Object savedObject, int savedScale, boolean isXML)
{
super(locator, converter, savedObject, savedScale, isXML);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy