Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Misleading alias definition example in reference documentation, part 1.3.1 [SPR-17536] #22068
In the later example documentation describes a situation for Subsystem A and SubSystem B, the example must perform the same thing on both, but it does not. I believe its some typo in the example XML, and must become:
<alias name="subsystemA-dataSource" alias="myApp-dataSource"/> <alias name="subsystemB-dataSource" alias="myApp-dataSource" />
Juergen Hoeller commented
It's actually meant to be as follows, aliasing both subsystem references to the main app bean, so that
Thanks for spotting this!