Hi,
I'm using the following example for multiple database support with
hibernate:
https://tawus.wordpress.com/2012/03/03/tapestry-hibernate-multiple-databases/
With the use of marker annotations the correct hibernate session manager
is injected. I would like to use this in one of our applications, but
all our other applications use just 1 database. This works, but I'll
have to add the @DefaultFactory marker annotation everywhere in all
these other applications that don't really need multiple database
support, but use the same library. So I was wondering if someone knew
how I could make it so that when no Marker annotation is added, some
configured default is used? This way I would only have to configure it
once in the module class for example.
Anyone got an idea what I have to do to achieve this?
Nathan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org