}
public int batchUpdateByNativeQuery(String queryString, Object[] params, Type[] types) {
logger.debug("Batch Native Update[{}]",queryString);
Session session = getSession();
SQLQuery query = session.createSQLQuery(queryString);
if(params != null && params.length > 0){
for(int i=0; i< params.length; i++){
logger.debug("{}) : {} [{}]", new Object[]{i+1, params[i], types[i]});
query.setParameter(i, params[i], types[i]);
}