推荐
专栏
教程
课程
飞鹅
本次共找到788条
mybatis注解
相关的信息
Easter79
•
3年前
SpringBoot持久层技术
一、Springboot整合mybatismaven中添加对数据库与mybatis的依赖1<dependencies2<dependency3<groupIdorg.springframework.boot</groupId4<artifactId
Stella981
•
3年前
MybatisPlus之逻辑删除的坑
Springboot的配置方式_mybatis配置文件映射_mybatisplus:mapperlocations:classpath:/mapper/\Mapper.xmltypeAliasesPackage:com.siyuan.card.model_\以下配置均有默认值,可以不设置_
Stella981
•
3年前
MyBatis(四):mybatis中使用in查询时的注意事项
准备工作1)创建测试表jobitemCREATETABLE"jobitem"("id"bigint(20)NOTNULLAUTO_INCREMENTCOMMENT'唯一键pk',"appId"varchar(32)NOTNULLCOMMENT'yarn任务id(appl
Stella981
•
3年前
Spring Boot 自动配置(auto
本章,我们为你揭秘SpringBoot自动配置(AutoConfiguration)运行机制,谈到autoconfiguration,肯定离不开@EnableAutoConfiguration注解。packageorg.springframework.boot.autoconfigure;@Target(Element
Easter79
•
3年前
Spring采用velicity视图时解决Cannot expose session attr...
Spring采用velicity视图时,使用@SessionAttributes("")注解出现Cannotexposesessionattribute'user'becauseofanexistingmodelobjectofthesamename异常问题错误原因:因为request session默认是不会加入vel
Stella981
•
3年前
MyBatis和Spring集成
Stella981
•
3年前
Spring+Mybatis+Velocity
前言最近开始尝试使用久负盛名的SM框架——SpringMybatis进行Web开发,从此走上了Spring配置的不归路。说句实在话,Spring是我特么见过所有WEB工程里面最难配的,因为必须要对它那一套非侵入的设计思想有所了解才能在出问题时迅速判断是不是配置错误,进而定位配置错误所在。首先,做个简单的总结,Spring的配置现在大致有三种:
Stella981
•
3年前
Mybatis异常之——NoSuchMethodException
Stella981
•
3年前
Mybatis查询报IndexOutOfBoundsException
Stella981
•
3年前
Spring Boot 动态数据源(yml配置,多数据源自动切换)
1、在启动类添加注解,注册动态多数据源:@SpringBootApplication@Import({DynamicDataSourceRegister.class})//注册动态多数据源publicclassOrangeplusApplicationextendsWebMvcConfigurerAdapt
1
•••
30
31
32
•••
79