Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35434 223 d 16 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/ Add @Transactional(readOnly=true) to 12 read-only controllers

Skips dirty checking and snapshot storage for better performance
 
35428 223 d 18 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Refactor OrderController: Move from class-level to method-level @Transactional

- Removed class-level @Transactional(rollbackFor = Throwable.class) from OrderController
- Added method-level @Transactional to 13 write methods only:
- createOrder (GET & POST)
- partnerCancelOrder
- CancellableRequest
- createAddress
- NotifyColorChange
- NotifyHold
- cancelOrder
- cancelNotifyOrder
- raiseBypassRequest
- createSamsungUpgradeOffer
- changeOrderPricing
- createInsurance

Benefits:
- 21 read-only methods no longer hold database connections for entire request duration
- Connections are acquired per-query and released immediately for reads
- Reduces connection pool exhaustion under load
- Follows "validate then transact" pattern
 
35419 224 d 2 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix:Response message for registered user  
35415 224 d 23 h amit /trunk/ Commit Changes  
35412 225 d 3 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance  
35411 225 d 4 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance issues  
35410 225 d 4 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance issues  
35409 225 d 4 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Added PineLabs untracked file  
35397 225 d 13 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance  
35392 226 d 19 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix:Send Upgrade mail  
35389 226 d 22 h amit /trunk/profitmandi-web/ donot commit  
35387 226 d 23 h amit /trunk/ Fixed cors issue  
35385 226 d 23 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ Fixed DP its now purchase - price drop  
35383 227 d 0 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/dao/config/ Fixed DP its now purchase - price drop  
35382 227 d 0 h amit /trunk/profitmandi-web/src/main/resources/META-INF/ Fixed DP its now purchase - price drop  
35377 229 d 22 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Fix:Add user-Status(not register google account)  
35373 231 d 2 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix:Add user status trial in token  
35369 231 d 22 h ranu /trunk/ out of stock allocation  
35368 231 d 22 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ Added changes for trial user  
35367 231 d 22 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/shopify/services/ Added changes for trial user  

Show All