I'm evaluating Seam 2.2.0 GA on JBoss 5.0.1. One of the requirements is that we create connections to the database using credentials passed by the user (i.e., there is no 'generic' login. Much of the business logic is based on the user's schema).
I tried following this: https://jira.jboss.org/browse/JBSEAM-729 as a potential solution. Is there a demo app that demonstrates this solution? Or is there another way to configure the local-tx-datasource to set the user/password from the @Name("authenticator") class?
If you want this, forget about JPA and use plain JDBC.