Mybatis Mapper注解说明
官方链接:https://mybatis.org/mybatis-3/java-api.html
@Select禁用缓存
@Select(value = "SELECT USER.NEXTVAL AS ID FROM DUAL")
@Options(useCache = false,flushCache = FlushCachePolicy.TRUE)
public long getTicketSeqID();
官方链接:https://mybatis.org/mybatis-3/java-api.html
@Select禁用缓存
@Select(value = "SELECT USER.NEXTVAL AS ID FROM DUAL")
@Options(useCache = false,flushCache = FlushCachePolicy.TRUE)
public long getTicketSeqID();