java.sql.NClob Java Examples

The following examples show how to use java.sql.NClob. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: Tomcat8-Source-Read   Author: chenmudu   File: DelegatingConnection.java    License: MIT License 5 votes vote down vote up
@Override
public NClob createNClob() throws SQLException {
    checkOpen();
    try {
        return connection.createNClob();
    } catch (final SQLException e) {
        handleException(e);
        return null;
    }
}
 
Example #2
Source Project: Komondor   Author: wn-upf   File: JDBC4CallableStatementWrapper.java    License: GNU General Public License v3.0 5 votes vote down vote up
/**
 * @see java.sql.CallableStatement#getNClob(java.lang.String)
 */
public NClob getNClob(String parameterName) throws SQLException {
    try {
        if (this.wrappedStmt != null) {
            return ((CallableStatement) this.wrappedStmt).getNClob(parameterName);
        } else {
            throw SQLError.createSQLException("No operations allowed after statement closed", SQLError.SQL_STATE_GENERAL_ERROR, this.exceptionInterceptor);
        }
    } catch (SQLException sqlEx) {
        checkAndFireConnectionError(sqlEx);
    }

    return null;
}
 
Example #3
Source Project: doma   Author: domaframework   File: NClobWrapper.java    License: Apache License 2.0 4 votes vote down vote up
public NClobWrapper(NClob value) {
  super(NClob.class, value);
}
 
Example #4
Source Project: jmeter-plugins   Author: undera   File: TestConnection.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public NClob getNClob(int columnIndex) throws SQLException {
    throw new UnsupportedOperationException("Not supported yet.");
}
 
Example #5
Source Project: ontopia   Author: ontopia   File: SpyResultSet.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public NClob getNClob(String s) throws SQLException {
  return rs.getNClob(s);
}
 
Example #6
Source Project: gemfirexd-oss   Author: gemxd   File: EmbedCallableStatement.java    License: Apache License 2.0 4 votes vote down vote up
public NClob getNClob(int i) throws SQLException {
  throw new AssertionError("should be overridden in JDBC 4.0");
}
 
Example #7
Source Project: tddl   Author: cpsing   File: ResultSetAutoCloseConnection.java    License: Apache License 2.0 4 votes vote down vote up
public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
    rs.updateNClob(columnIndex, nClob);
}
 
Example #8
Source Project: Oceanus   Author: 58code   File: RWPreparedStatementWrapper.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public void setNClob(int arg0, NClob arg1) throws SQLException {
	stmt.setNClob(arg0, arg1);

}
 
Example #9
Source Project: flair-engine   Author: viz-centric   File: MockResultSet.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public NClob getNClob(int columnIndex) throws SQLException {
    return null;
}
 
Example #10
Source Project: ignite   Author: apache   File: JdbcPreparedStatement.java    License: Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override public void setNClob(int paramIdx, NClob val) throws SQLException {
    ensureNotClosed();

    throw new SQLFeatureNotSupportedException("SQL-specific types are not supported.");
}
 
Example #11
Source Project: doma   Author: domaframework   File: MockResultSet.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public void updateNClob(String columnLabel, NClob clob) throws SQLException {
  AssertionUtil.notYetImplemented();
}
 
Example #12
Source Project: phoenix   Author: apache   File: PhoenixResultSet.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public NClob getNClob(String columnLabel) throws SQLException {
    throw new SQLFeatureNotSupportedException();
}
 
Example #13
Source Project: jdk8u-jdk   Author: lambdalab-mirror   File: StubJdbcRowSetImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
@Override
public NClob getNClob(int columnIndex) throws SQLException {
    throw new UnsupportedOperationException("Not supported yet.");
}
 
Example #14
Source Project: jactiverecord   Author: redraiment   File: SingletonConnection.java    License: MIT License 4 votes vote down vote up
@Override
public NClob createNClob() throws SQLException {
  return c.createNClob();
}
 
Example #15
Source Project: gemfirexd-oss   Author: gemxd   File: VTITemplate.java    License: Apache License 2.0 4 votes vote down vote up
public void updateNClob(String columnName, NClob nClob) throws SQLException {
  throw Util.notImplemented();
}
 
Example #16
Source Project: spliceengine   Author: splicemachine   File: CallableStatement40.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
public NClob getNClob(int i) throws SQLException {
    throw SQLExceptionFactory.notImplemented ("setNClob (int)");
}
 
Example #17
Source Project: baymax   Author: tongbanjie   File: ExplainResultSet.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public NClob getNClob(int columnIndex) throws SQLException {
	return null;
}
 
Example #18
Source Project: dremio-oss   Author: dremio   File: NonClosableConnection.java    License: Apache License 2.0 4 votes vote down vote up
public NClob createNClob() throws SQLException {
  return delegate.createNClob();
}
 
Example #19
Source Project: gemfirexd-oss   Author: gemxd   File: ClientCallableStatement.java    License: Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public NClob getNClob(String parameterName) throws SQLException {
  return getNClob(getParameterIndex(parameterName));
}
 
Example #20
Source Project: hottub   Author: dsrg-uoft   File: StubJdbcRowSetImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
@Override
public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
    throw new UnsupportedOperationException("Not supported yet.");
}
 
Example #21
Source Project: dragonwell8_jdk   Author: alibaba   File: StubWebRowSetImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
@Override
public NClob getNClob(int columnIndex) throws SQLException {
    throw new UnsupportedOperationException("Not supported yet.");
}
 
Example #22
Source Project: lams   Author: lamsfoundation   File: NClobTypeDescriptor.java    License: GNU General Public License v2.0 4 votes vote down vote up
public String toString(NClob value) {
	return DataHelper.extractString( value );
}
 
Example #23
Source Project: phoenix   Author: forcedotcom   File: PhoenixResultSet.java    License: BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@Override
public NClob getNClob(String columnLabel) throws SQLException {
    throw new SQLFeatureNotSupportedException();
}
 
Example #24
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: StubFilteredRowSetImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
@Override
public NClob getNClob(String columnLabel) throws SQLException {
    throw new UnsupportedOperationException("Not supported yet.");
}
 
Example #25
Source Project: gemfirexd-oss   Author: gemxd   File: EmbedResultSet40.java    License: Apache License 2.0 4 votes vote down vote up
public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
    throw Util.notImplemented();
}
 
Example #26
Source Project: hottub   Author: dsrg-uoft   File: StubBaseRowSet.java    License: GNU General Public License v2.0 4 votes vote down vote up
@Override
public NClob getNClob(String columnLabel) throws SQLException {
    throw new UnsupportedOperationException("Not supported yet.");
}
 
Example #27
Source Project: hottub   Author: dsrg-uoft   File: StubSyncResolver.java    License: GNU General Public License v2.0 4 votes vote down vote up
@Override
public void updateNClob(String columnLabel, NClob nClob) throws SQLException {
    throw new UnsupportedOperationException("Not supported yet.");
}
 
Example #28
Source Project: tddl   Author: cpsing   File: TConnectionWrapper.java    License: Apache License 2.0 4 votes vote down vote up
public NClob createNClob() throws SQLException {
    return this.targetConnection.createNClob();
}
 
Example #29
Source Project: sharding-jdbc-1.5.1   Author: tianheframe   File: AbstractUnsupportedUpdateOperationResultSet.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public final void updateNClob(final int columnIndex, final NClob nClob) throws SQLException {
    throw new SQLFeatureNotSupportedException("updateXXX");
}
 
Example #30
Source Project: sharding-jdbc-1.5.1   Author: tianheframe   File: AbstractUnsupportedUpdateOperationResultSet.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public final void updateNClob(final String columnLabel, final NClob nClob) throws SQLException {
    throw new SQLFeatureNotSupportedException("updateXXX");
}