会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
狗艳艳花
冰激凌会流泪吗?
博客园
首页
新随笔
联系
订阅
管理
随笔 - 54
文章 - 1
评论 - 11
阅读 -
83261
05 2020 档案
在同一个idea窗口打开多个项目
摘要:第一步:file--》project Structure 第二步:Modules Import Module
阅读全文
posted @
2020-05-15 10:38
狗艳艳花
阅读(774)
评论(0)
推荐(0)
编辑
springdataJpa对无主键表或视图查询的支持
摘要:因为jpa在映射实体是需要一个id,所以我们的实体类必须至少需要一个id字段,当对无主键表或视图查询时,我们可以定义一个空的@id即可。 示例如下 实体: @Data@Entity@Table(name="Student")public class Student { @Id // 添加一个空的id
阅读全文
posted @
2020-05-08 11:43
狗艳艳花
阅读(5903)
评论(5)
推荐(0)
编辑
公告
昵称:
狗艳艳花
园龄:
6年9个月
粉丝:
2
关注:
1
+加关注
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
我的标签
MySQL
(1)
mybatis-plus
(1)
JAVA
(1)
Calendar
(1)
随笔档案
2024年11月(8)
2024年10月(1)
2023年10月(1)
2023年9月(1)
2022年1月(1)
2021年12月(1)
2021年11月(4)
2021年10月(1)
2021年7月(1)
2021年5月(2)
2021年4月(1)
2021年3月(1)
2021年1月(1)
2020年11月(1)
2020年10月(1)
2020年9月(1)
2020年8月(1)
2020年7月(2)
2020年6月(1)
2020年5月(2)
2020年4月(1)
2020年3月(1)
2019年12月(1)
2019年11月(2)
2019年10月(3)
2019年9月(1)
2019年4月(1)
2019年3月(1)
2019年1月(4)
2018年11月(1)
2018年6月(3)
更多
阅读排行榜
1. SpringBoot整合mybatis-plus异常:Unsatisfied dependency expressed through field 'mapper'解决办法(23088)
2. springdataJpa对无主键表或视图查询的支持(5903)
3. MybatisPlus MetaObjectHandler 配置了没起作用(5175)
4. mysql数据库修改字段及新增字段脚本(5160)
5. 如何求一个数的二进制的值(4183)
评论排行榜
1. springdataJpa对无主键表或视图查询的支持(5)
2. 如何求一个数的二进制的值(2)
3. MybatisPlus MetaObjectHandler 配置了没起作用(1)
4. SpringBoot整合mybatis-plus异常:Unsatisfied dependency expressed through field 'mapper'解决办法(1)
5. Linux后台启动springboot的jar包(1)
推荐排行榜
1. SpringBoot整合mybatis-plus异常:Unsatisfied dependency expressed through field 'mapper'解决办法(2)
2. 最新版的Dubbo Admin本地启动。(1)
3. mysql数据库修改字段及新增字段脚本(1)
4. 如何求一个数的二进制的值(1)
最新评论
1. Re:如何求一个数的二进制的值
@纸鹤农 谢谢指正...
--狗艳艳花
2. Re:SpringBoot整合mybatis-plus异常:Unsatisfied dependency expressed through field 'mapper'解决办法
爱死你了
--农专猿
3. Re:springdataJpa对无主键表或视图查询的支持
shool 字段将为 ID。麻烦更正。JPA 无法支持没有主键的实体类。 参考: JPA 2.0 文档 stackoverflow 的 jpa-entity-has-no-primary-key 问题...
--Icemap
4. Re:如何求一个数的二进制的值
写错了
--纸鹤农
5. Re:MybatisPlus MetaObjectHandler 配置了没起作用
MybatisPlusObjectHandler 类上不必加@Component标签,不然报错!
这个加了不会报错的
--幽灵柯南
点击右上角即可分享