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 5 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 13 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.
 
35377 35 d 8 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Fix:Add user-Status(not register google account)  
35373 36 d 13 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix:Add user status trial in token  
35352 39 d 8 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added changes for trial user  
35337 45 d 7 h aman /trunk/ Feat:Trial Feedback Api and Trial brand potential Api  
35296 59 d 13 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed lead self Assigned  
35272 66 d 10 h amit /trunk/ Added Logic for guest  
35262 71 d 5 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Comment UnRegistred Token  
35257 73 d 5 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Added logic to incrporate trial version  
35193 94 d 7 h vikas /trunk/ Optimized oppo rewards query and update in app feature api  
35170 98 d 6 h vikas /trunk/ Carry bag 1 rupee to NEW, GOLD, PLATINUM, DIAMOND  
34794 185 d 14 h vikas.jangra /trunk/ Login With Email Password - Reset Password - Change Password  
34664 218 d 10 h vikas.jangra /trunk/ Google Login with email  
34037 406 d 5 h amit.gupta /trunk/ Fixed logic to get mapped partner type.  
33792 479 d 13 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ policy amount to be changed 10000 to 2000  
33194 647 d 12 h amit.gupta /trunk/ Added 10K for Referral  
32721 766 d 10 h ranu /trunk/ code commented for min stock value  
32458 850 d 13 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Resolved the issue with any color  
31820 1005 d 15 h amit.gupta /trunk/ Fixed promoter login issue.  

Show All