![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mybaits
小公子三木君
这个作者很懒,什么都没留下…
展开
-
'url' attribute is not specified and no embedded datasource could be configured
解决方案之一: 因为数据库配置信息。在application.properties里添加信息: #描述数据源 spring.datasource.url="jdbc:mysql://localhost:3306/world?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&nul...原创 2020-05-04 10:41:00 · 837 阅读 · 0 评论 -
Intellij idan利用mybatis-generator生成数据库操作
1.配置pom.xml文件添加依赖 <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plugin</artifactId> <version>1.3.2</version>...原创 2020-05-04 10:39:19 · 181 阅读 · 0 评论 -
Mybait 在Eclipse的配置及对数据库的简单操作。
步骤: 开发预备: eclipse开发环境,下载mybaits.3.5.4.zip,mysql数据库 数据库world, 里面有表user 字段: user_name password,email 1.new Dynamic web project 2.将mybait3.5.4.zip解压缩,找到lib文件夹,把里面的东西copy到WEB-INF 的lib文件夹下。把mybai...原创 2020-03-21 13:00:21 · 209 阅读 · 0 评论