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();

 
posted @ 2020-04-24 16:12  蜡笔小新DD  阅读(306)  评论(0编辑  收藏  举报