micronaut-data icon indicating copy to clipboard operation
micronaut-data copied to clipboard

[Docs] Clarify if programmatic transactions work with repositories and entities and how

Open RonBarkan opened this issue 1 year ago • 1 comments

Expected Behavior

Looking at the docs https://micronaut-projects.github.io/micronaut-data/latest/guide/index.html#programmaticTransactions It should be clear if TransactionOperations and/or SynchronousTransactionManager can be used correctly with Repositories, e.g. CrudRepository database methods.

Actual Behaviour

Looking at the docs alone (and even trying to poke at some classes), the reader has no idea if these things are compatible. Even if a small test seems to work, there's no gained certainty it is not a fluke.

Steps To Reproduce

n/a

Environment Information

n/a

Example Application

No response

Version

3.10.1 and 4.x

RonBarkan avatar Apr 03 '24 00:04 RonBarkan

@radovanradic could you clarify the documentation?

sdelamo avatar May 03 '24 14:05 sdelamo

Done in https://github.com/micronaut-projects/micronaut-data/pull/2946

radovanradic avatar May 22 '24 09:05 radovanradic