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

Ignite 2.16.0 cannot query a data back through sql in a transaction #11747

Open
BeamLiu opened this issue Dec 16, 2024 · 0 comments
Open

Ignite 2.16.0 cannot query a data back through sql in a transaction #11747

BeamLiu opened this issue Dec 16, 2024 · 0 comments

Comments

@BeamLiu
Copy link

BeamLiu commented Dec 16, 2024

Hi there,

It seems a bug or a known issue? I cannot query back the data after saving a data within a transaction, but works through cache API, here is the simple code to reproduce it.
IgniteTransactionTest.java

Above will output:

Starting transaction...
Entity saved in transaction
Direct cache get result: IgniteTransactionTest.TestEntity(id=1734338880949, name=Test Entity)
Expect to have result, but SQL query result is empty : []

Regards,
Beam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant