Eduardo, I hit a problem with this approach: in the original
application, some sql maps have definitions of type aliases. In
3.1.1, I need to combine all these aliases in one config file.
However, depending on how the application is deployed, some of the
classes corresponding to these type aliases may not be included at run
time - in other words, type aliases need to be discovered dynamically.
The only workaround I can think of is to find them dynamically, then
parse each one individually, combine manually all of them into one xml
document, write it to a string, use the string to create an instance
of InputStreamResource with the combined contents, and use this
InputStreamResource to initialize configuration of the factory bean.
This seems like a lot of added complexity, which the original
application did not require. Is there a simpler way, that I'm not
seeing?
> 2012/6/13PawelZmarlicki<
pzmarli...@gmail.com>: