Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch() method returns wrong data #3656

Open
tonymaa opened this issue Dec 29, 2023 · 0 comments
Open

fetch() method returns wrong data #3656

tonymaa opened this issue Dec 29, 2023 · 0 comments
Labels

Comments

@tonymaa
Copy link

tonymaa commented Dec 29, 2023

Observed vs. expected behavior

Using the fetch method, two pieces of data are returned
image
But using the .tream().toList() method, four pieces of data are returned
image
I looked at the mysql query log and ran it through with navicat, returning 4 pieces of data
image

image

Steps to reproduce

Environment

Querydsl version:
5.0.0
Querydsl module:

<java.version>17</java.version>
<querydsl.version>5.0.0</querydsl.version>




com.querydsl
querydsl-core
${querydsl.version}


com.querydsl
querydsl-jpa
${querydsl.version}
jakarta


com.querydsl
querydsl-sql
${querydsl.version}


com.querydsl
querydsl-sql-spring
${querydsl.version}


com.querydsl
querydsl-apt
${querydsl.version}
jakarta

Database:
5.7.23-log MySQL Community Server (GPL)
JDK:
17

Additional details

@tonymaa tonymaa added the bug label Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant