[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:


  | property name=hibernate.ejb.naming_strategy 
value=com.acme.MyCustomNamingStrategy/
  | 

Thanks anyway.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3950622#3950622

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950622


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-05-26 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 original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3946724#3946724

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946724


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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) to each customer's datasource, and instead use a generic 
DS-configuration and perform some kind of delegation to the correct datasource. 

Each thread can be identified to belong to a given customer, so that part is a 
non-issue. 

I read about the varia DatasourceDelegator which seems to be pretty close to 
what I need, but it appears to have been removed in JBoss 4.x. Anyone with a 
clue about that?

Anyone with the same problem or existing solution?

Thanks,

Markus

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944163#3944163

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944163


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user