Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35458 26 d 18 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 28 d 3 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.
 
35415 30 d 0 h amit /trunk/ Commit Changes  
35196 93 d 19 h aman /trunk/ Fix:Customer Billing and create order&stock component  
32692 775 d 21 h ranu /trunk/ added duration days on insurance plan  
32680 777 d 19 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ revert code ew 180m days  
32679 777 d 20 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ set insurance button on mobile app after 180 days of ew  
32671 778 d 20 h ranu /trunk/ resolved expire time  
31982 981 d 21 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added exception for Tablet  
31147 1158 d 23 h tejbeer /trunk/ change  
31051 1189 d 2 h amit.gupta /trunk/ Fixed leads logic  
31050 1189 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed leads logic  
31049 1189 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed leads logic  
31048 1189 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed leads logic  
29738 1483 d 17 h tejbeer /trunk/ change  
29707 1487 d 2 h tejbeer /trunk/ billing change