Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35458 72 d 20 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 74 d 4 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.
 
34902 192 d 21 h vikas /trunk/ Affiliate Order  
34196 383 d 23 h ranu /trunk/ insurance and hid correction  
33474 617 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ commit  
33473 617 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ commit  
31715 1085 d 1 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30989 1251 d 4 h tejbeer /trunk/ change  
29625 1559 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed capturing of payment  
29612 1559 d 23 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29611 1560 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29594 1564 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29503 1587 d 2 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added Logic to handle KredX  
29417 1602 d 4 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ change  
29416 1602 d 5 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29415 1602 d 5 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29333 1614 d 0 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ change  
29328 1615 d 5 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29327 1615 d 5 h tejbeer /trunk/ change  
29325 1616 d 4 h tejbeer /trunk/  
28754 1679 d 1 h tejbeer /trunk/ change  
28746 1682 d 0 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ change  
28745 1682 d 21 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
28743 1682 d 21 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ change  
28742 1682 d 21 h tejbeer /trunk/  
28653 1687 d 4 h amit.gupta /trunk/ Added Changes to order creation  
26607 2126 d 1 h amit.gupta /trunk/  
25965 2280 d 22 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
25962 2280 d 23 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24502 2577 d 2 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Changed min brand qty.  
24464 2588 d 5 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24442 2593 d 14 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Resticted jio to minimum 5pcs  
24426 2601 d 6 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added brand restriction changes  
24425 2601 d 22 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24424 2601 d 23 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24422 2602 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24203 2677 d 21 h amit.gupta /trunk/ Gifts can now be biilled  
24200 2678 d 2 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Handled non billable items  
24199 2678 d 2 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24198 2678 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed Nonbillable items addition to cart.