当前位置:网站首页>Note that JPA uses a custom VO to receive jpql query results
Note that JPA uses a custom VO to receive jpql query results
2022-06-28 06:13:00 【Not much pressure】
//new A custom VO( The parameters in brackets need to implement the corresponding construction method )
@Query(value = "select new EquipmentStatusVO(eq.eqtExtId,es.eqtStatus,model.eqtType) from EquipmentStatusEntity es join EquipmentJunctionRelEntity rel " +
// Use entity Class to proceed join operation
"on str(es.eqtId) = rel.eqtId join Equipment eq on es.eqtId = eq.id join EquipmentModelEntity model on eq.eqtTypeId = model.modelId where rel.junctionId =:junctionId ")
List<EquipmentStatusVO> getEquipmentStatusWithJunction(@Param("junctionId") String junctionId);
边栏推荐
- AutoCAD C# 多段线小锐角检测
- cocoapod中的第三方库怎么引用本地头文件
- Valueerror: iterative over raw text documents expected, string object received
- windows上安装redis并永久修改密码,及ssm框架集成redis
- socke.io長連接實現推送、版本控制、實時活躍用戶量統計
- Differences between overloads, rewrites, abstract classes and interfaces
- YYGH-8-预约挂号
- Using pytorch and tensorflow to calculate the confusion matrix of classification model
- Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException:异常解决
- Differences between basic types and packaging classes
猜你喜欢

Iframe switching in Web Automation

借助nz-pagination中的let-total解析ng-template

Apple MDM bypass jailfree bypass MDM configuration lock free

YYGH-BUG-03

JSP

Linked list (II) - Design linked list

ES9023音频解码芯片的工作原理

Unity packaging webgl uses IIS to solve the error

How the third-party libraries in cocoapod reference local header files

Binder interview: memory management unit
随机推荐
Install and manage multiple versions of PHP under mac
socke.io長連接實現推送、版本控制、實時活躍用戶量統計
Working principle of es9023 audio decoding chip
easyui 重置多条件查询
Xcode13.3.1 error reported after pod install
Using pytorch and tensorflow to calculate the confusion matrix of classification model
深度学习19种损失函数
Ape pink ape power - Developer activity attack!
MySQL (II) - basic operation
PKG package node project (express)
The custom cube UI pop-up dialog supports multiple and multiple types of input boxes
Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
Binder interview: memory management unit
JSP
深度學習19種損失函數
Online facing such an online world, the only limitation is our imagination
Apple MDM bypass jailfree bypass MDM configuration lock free
Common basic functions of Oracle
YYGH-BUG-02
Linked list (I) - remove linked list elements