Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35458 27 d 17 h amit /trunk/ Revert @Transactional(readOnly=true) - keep @Transactional only at Controller level

Changes:
- profitmandi-web: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional(readOnly = true)
- profitmandi-fofo: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional
- profitmandi-dao: Removed @Transactional from services/repositories

Exceptions (called from interceptors, need own transaction):
- RoleManager: @Transactional(readOnly = true) - called from interceptor for auth
- PartnerTypeChangeServiceImpl.getBestPartner(): @Transactional - called from JWTUtil via interceptor

Fixed javax.transaction.Transactional to org.springframework.transaction.annotation.Transactional
Fixed rollbackOn to rollbackFor for Spring compatibility
 
35456 27 d 17 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed method thats not readonly  
35435 29 d 1 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Add @Transactional(readOnly = true) to GET methods in controllers

Added @Transactional(readOnly = true) to all read-only GET methods across 14 controllers:
- RetailerController (10 methods)
- UserController (16 methods)
- WalletController (5 methods)
- CartController (2 methods)
- StoreController (25 methods)
- DealsController (20 methods)
- ShopController (1 method)
- CustomerController (2 methods)
- NotificationController (3 methods)
- SolrSearchController (2 methods)
- InsuranceController (1 method)
- GatewayController (1 method)
- LeadController (13 methods)
- RechargeController (4 methods)

Total: 105 methods updated

All methods verified to only set @Transient fields on entities, ensuring no dirty writes.
 
35369 37 d 21 h ranu /trunk/ out of stock allocation  
35309 56 d 20 h aman /trunk/ Fix:Monthly Sale show assesses sale  
35243 80 d 1 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Feat: Partner Monthly sale  
35211 93 d 18 h vikas /trunk/ App build Version & Notification Template  
35079 113 d 1 h vikas /trunk/ Live Tracking and Shopify Products List Sync  
34917 141 d 19 h vikas /trunk/ SmartSeller Earnings and Referrals  
34902 147 d 18 h vikas /trunk/ Affiliate Order  
34899 147 d 19 h aman /trunk/ Fix: Affiliate Products, links and Authentication  
34884 152 d 0 h vikas /trunk/ Disabled POD Option  
34882 157 d 19 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Feat:Affiliate Service  
34878 158 d 20 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Changed force wallet debit on bidding  
34823 176 d 21 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ remove icici plan fom b2c  
34822 176 d 21 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ remove icici plan fom b2c  
34654 220 d 17 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Debit 500 From Wallet for Bid Security  
34562 247 d 12 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bid Update notification to another user  
34545 248 d 21 h vikas.jangra /trunk/ Bidding/Liquidation push notifications  
34494 263 d 14 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bidding/Liquidation changed bid starting amount  

Show All