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

Reply via email to