是否可以使用Hibernate和Javax.Persistence在存储过程调用中传递空值?
我试图以这种方式做到这一点:
T obj; // my unique object
std::vector<T> vec; // I want to avoid this
vec.push_back(T);
// Because the only use of the container is for this call
call(std::begin(vec), std::end(vec));
// I want to do something like that
call(BeginFakeSingletonIt<T>(obj), EndFakeSingletonIt<T>());
但DB2告诉我:&#34;缺少必需参数&#34;。
有什么想法吗?
提前谢谢