You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In HQL it is possible to use constants (like below) for DTO projection. This i however not possible (yet) in Panache.
@Entity
@Table(schema = "DINO_DBA", name = "GDW_LKS_SFR_RD")
@NamedQuery(
name = "GdwLksSfrRd.search",
query = "select new nl.bro.microservices.dlp.model.common.ObjectDto( p.broId, p.geometry, 'SOIL', 'BRO', 'sfr' ) "
+ "from GdwLksSfrRd p where p.broId like :criterion order by p.broId"
)
Description
In HQL it is possible to use constants (like below) for DTO projection. This i however not possible (yet) in Panache.
See also #33310
Implementation ideas
A suggestion that has been made in #33310 is to support static factory methods. That looks like an interesting way forward.
The text was updated successfully, but these errors were encountered: