This website requires JavaScript.
Explore
Help
Sign In
gian
/
cloudstack-mirror
Watch
1
Star
0
Fork
0
You've already forked cloudstack-mirror
mirror of
https://github.com/apache/cloudstack
synced
2026-08-12 08:37:19 +00:00
Code
Issues
Actions
5
Packages
Projects
Releases
Wiki
Activity
f28a2b40a3
cloudstack-mirror
/
utils
/
src
History
Alex Huang
f28a2b40a3
bug 10501: This is really Kelven's bug but I'll fix it for him anyways. DAO code already have a way to extract the DB connection from a transaction that is stored in the TLS. There's no real reason for the DAO code to add special semantics to use a different DB connection. That can be done by simply switching the transaction before it even reached the dao code. Think about it. Why would anyone want to call one dao function, switch transaction, and then switch back. The right thing is for the caller to switch transaction, call a series of dao codes, and switch it back. That's the semantics I changed to. By doing this, it also eliminates the number of debug messages in this bug.
2011-07-01 11:03:37 -07:00
..
com/cloud
/utils
bug 10501: This is really Kelven's bug but I'll fix it for him anyways. DAO code already have a way to extract the DB connection from a transaction that is stored in the TLS. There's no real reason for the DAO code to add special semantics to use a different DB connection. That can be done by simply switching the transaction before it even reached the dao code. Think about it. Why would anyone want to call one dao function, switch transaction, and then switch back. The right thing is for the caller to switch transaction, call a series of dao codes, and switch it back. That's the semantics I changed to. By doing this, it also eliminates the number of debug messages in this bug.
2011-07-01 11:03:37 -07:00
javax
bug 9651: checked in missing files
2011-05-31 10:27:50 -07:00
Code Archive ยท Powered by
Enuvem