[JBoss-user] [JCA/JBoss] - Dynamic datasource selection

2006-05-17 Thread c96mud
Hi, I'm looking at the possibility to deploy different customers/groups of users in the same application server cluster, but with separate underlying databases (identical structure - different data). I want to avoid keeping references in the application (i.e. a resource-env-ref in jboss.xml)

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Is it possible to change the associated table name for a CMP

2006-05-25 Thread c96mud
Is it possible to dynamically retrieve and change the configuration for a CMP entity bean? I need to dynamically change the associated table name of a given EJB (defined in jbosscmp-jdbc.xml). If not, is there any functionality similar to Hibernate's NamingStrategy for CMP EJBs? View the orig

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Is it possible to change the associated table name for a

2006-06-13 Thread c96mud
Actually I was able to solve this by extending the EJB3NamingStrategy and add this to the persistence.xml: | | Thanks anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950622#3950622 Reply to the post : http://www.jboss.com/index.html?module=bb