What's the practical meaning of Spring aliasing?
<bean id="testDataSource" ... /> <alias name="testDataSource" alias="dataSource"/>
I mean, the bin can be treated both on his id and on his as. But why?
carriann last edited by
Two bins with one name
springYou can't. However, the first bin second can be closed with help
alias♪ For example, you have two databases. One test and another industrial. You don't want to change the name of the fields in the bin every time you're tested. Here for help and comes.
alias♪ Plus, change of name
aliasused to counteract. Things are rarely used, but still used.