
Java Persistence: From DB over JDBC to Transactions
airhacks.fm podcast with adam bien
Do You Still See Projects With Auto-Commit Mode On?
I want it to be lazy, as you said, and to have someone do it for me. We end up being at the JDBC pre-pat statement level. I don't think that it's so popular because nowadays people use some data access framework, which is above JDBC. So they don't get this capability auto-commit. It's disabled by the framework. Even if you're executing three queries, it doesn't make sense to open three connections from the pool for every query. It still makes sense to reuse the same connection from the beginning to the end and execute those statements in the scope of the same connection. But yes, we can do transactions. We can do transactions
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.