hibernate 超级牛x的公共类

想法,能支持in查询和 =查询的 公共方法,类似下面实现

用 泛型 实现 参数 getList(String[] params,Object[] values){}

for(int i=0;i<valuse.length;i++){
  if(values[i] instance of Object){

    ...

  }else if(values[i] instance of Object[]{

    

  }else if(values[i] instance of Set){

    

  }

  

}

原文地址:https://www.cnblogs.com/xiongjinpeng/p/3667929.html