Does SMPC work with multiple datasources in the same app? If yes how would you configure the @In injection attribute similar to the @PersistenceContext JPA attribute which you can specify a persistenceUnit name? In the API for the Seam @In annotation there is no element similar to unitName...
| @PersistenceContext(unitName="boIcomsSecurityAudit", type=PersistenceContextType.EXTENDED) | private EntityManager em; | | //@In(create=true) | //EntityManager em; //a Seam-managed persistence context I have xyz-ds.xml as below: <datasources> | | <local-tx-datasource> | <jndi-name>boIcomsSecurityAuditDatasource</jndi-name> | <connection-url>jdbc:sqlserver://CORG0DV01:1433;databaseName=boIcomsSecurityAudit</connection-url> | <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class> | <user-name>_AppUser_JavaTestAcct</user-name> | <password>JavaTestAcct</password> | </local-tx-datasource> | | <local-tx-datasource> | <jndi-name>coxDSSDatasource</jndi-name> | <connection-url>jdbc:sqlserver://CORG0DV01:1433;databaseName=coxDSS</connection-url> | <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class> | <user-name>_AppUser_JavaTestAcct</user-name> | <password>JavaTestAcct</password> | </local-tx-datasource> | | <local-tx-datasource> | <jndi-name>coxIMDatasource</jndi-name> | <connection-url>jdbc:sqlserver://CORG0DV01:1433;databaseName=coxIM</connection-url> | <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class> | <user-name>_AppUser_JavaTestAcct</user-name> | <password>JavaTestAcct</password> | </local-tx-datasource> | | </datasources> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113936#4113936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113936 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user