use of com.alibaba.druid.proxy.jdbc.NClobProxy in project druid by alibaba.
the class FilterChainTest_NClob_2 method test_getObject.
public void test_getObject() throws Exception {
FilterChainImpl chain = new FilterChainImpl(dataSource);
Clob clob = (Clob) chain.callableStatement_getObject(statement, 1);
Assert.assertTrue(clob instanceof NClobProxy);
Assert.assertEquals(1, invokeCount);
}
use of com.alibaba.druid.proxy.jdbc.NClobProxy in project druid by alibaba.
the class FilterChainTest_NClob_2 method test_getObject_1.
public void test_getObject_1() throws Exception {
FilterChainImpl chain = new FilterChainImpl(dataSource);
Clob clob = (Clob) chain.callableStatement_getObject(statement, "1");
Assert.assertTrue(clob instanceof NClobProxy);
Assert.assertEquals(1, invokeCount);
}
Aggregations