domaframework / doma

DAO oriented database mapping framework for Java
https://doma.readthedocs.io/
Apache License 2.0
438 stars 69 forks source link

Return a Connection instead of throwing an exception when no transaction exists #1126

Closed nakamura-to closed 2 months ago

nakamura-to commented 2 months ago

This pull request changes the behavior when obtaining a Connection without starting a local transaction. Previously, an exception was thrown, but with this pull request, a Connection in auto-commit mode will be returned.