Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35486 26 d 10 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Listing Error: List should not be empty  
35458 29 d 3 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
 
35435 30 d 11 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.
 
35412 32 d 12 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance  
35411 32 d 12 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance issues  
35410 32 d 12 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance issues  
35369 39 d 6 h ranu /trunk/ out of stock allocation  
34931 139 d 5 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ wod brand eligible  
34929 139 d 5 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ remove icici plan fom b2c  
34928 139 d 5 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ check wod brand for internal  
34835 171 d 3 h vikas /trunk/ Added Export Report, And Update total distance  
34797 187 d 10 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Listing APIs  
34786 191 d 5 h aman.kumar /trunk/ Add isFavourite flag  
34630 233 d 5 h tejus.lohani /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ clean code  
34436 274 d 6 h ranu /trunk/ suggested Po  
34260 321 d 7 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Partner Stock for Express Delivery  
34196 340 d 5 h ranu /trunk/ insurance and hid correction  
34191 341 d 3 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Removed logs for Out of stock tracking  
34187 341 d 5 h vikas.jangra /trunk/ Added Catalog ID  
34186 341 d 5 h vikas.jangra /trunk/ Added Catalog ID  

Show All