interceptorChain.setFirstInChain(createInterceptor(new BatchingInterceptor(), BatchingInterceptor.class));
} else {
interceptorChain.setFirstInChain(createInterceptor(new InvocationContextInterceptor(), InvocationContextInterceptor.class));
}
TypeConverter typeConverter = configuration.dataContainer().typeConverter();
if (typeConverter != null) {
interceptorChain.appendInterceptor(createInterceptor(
new TypeConverterInterceptor(typeConverter), TypeConverterInterceptor.class), false);
}