Nevermind. :-) Turns out that my problem was just that I was trying to use @Symbol on a module field, instead of on a method parameter.
Michael On 21 June 2012 13:43, Michael Prescott <michael.r.presc...@gmail.com>wrote: > I'm hoping to use tapestry-hibernate, and also flyway to do db migrations, > and I'm having trouble injecting the data source from the servlet container > into each of these. > > With tapestry-spring, I was able to have spring read web context params, > and go from there. But in my tapestry module, @Symbol doesn't appear to > read context params. > > Is there an orthodox way to go about this? > > I don't want to hard-code the data source name in, say, a > hibernate.cfg.xml, because i need multiple apps running side by side. > > Gratefully, > > Michael >