一时半会儿没找到jpa的不等查询,然后用HSQL写,真J8麻烦,HSQL干嘛非得和SQL标准不一样,非得扯上所谓的对象概念?
SQL:select * from table where property!=
HSQL:select a from table a where a.property !=
JPA:findByPropertyNot(property);
还是JPA简单暴力。
一时半会儿没找到jpa的不等查询,然后用HSQL写,真J8麻烦,HSQL干嘛非得和SQL标准不一样,非得扯上所谓的对象概念?
SQL:select * from table where property!=
HSQL:select a from table a where a.property !=
JPA:findByPropertyNot(property);
还是JPA简单暴力。
1047
262
1万+

被折叠的 条评论
为什么被折叠?
