Hi,
I am using DAOs to update my DB and I'd like to store the Username every time the user changes data in the DB.
I'd like to avoid passing the Username to the DAO layer when update-Method is called, as for example:
update(ContractVo, UserVo)
Is there a way to use DI to inject the user via a setter method. Normally I inject static values, which are configured in XML-File but in that case I'd have to inject values (objects) that change during runtime.
Would be great to get any hint...
Frank


Reply With Quote
