tech.codingless.core.plugs.mybaties3.QueryServiceImpl Maven / Gradle / Ivy
package tech.codingless.core.plugs.mybaties3;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.apache.ibatis.mapping.MappedStatement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import tech.codingless.core.plugs.mybaties3.util.MybatiesStringUtil;
@Service
public class QueryServiceImpl implements QueryService {
private final static Logger LOG = LoggerFactory.getLogger(TableAutoCreateServiceMysqlImpl.class);
private static ConcurrentHashMap SAFE_SQLID_MAP = new ConcurrentHashMap();
@SuppressWarnings("rawtypes")
@Autowired
private GenericQueryDao queryDao;
@Autowired
private MyBatiesService myBatiesService;
@SuppressWarnings("unchecked")
@Transactional(propagation = Propagation.NOT_SUPPORTED)
@Override
public List