Skip to content

Commit

Permalink
issue #1092: adds left join to fetch dataIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
mrk-vi committed Oct 11, 2024
1 parent a6553fb commit c0a2ce0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public String[] getSearchFields() {
public Uni<DataIndex> findByIdWithVectorIndex(Mutiny.Session session, long dataIndexId) {

return session.createQuery(
"from DataIndex di join fetch di.vectorIndex where di.id = :dataIndexId",
"from DataIndex di left join fetch di.vectorIndex where di.id = :dataIndexId",
DataIndex.class
)
.setParameter("dataIndexId", dataIndexId)
Expand Down

0 comments on commit c0a2ce0

Please sign in to comment.