This content has been marked as final.
Show 4 replies
-
1. Re: Mysql replication and JBOSS
vickyk Feb 15, 2008 8:00 AM (in response to tricky)"tricky" wrote:
I have mysql replication stuff installed master slave (where insert,update uses master and select's are on slave) does anyone know how to setup *-ds.xml file to work with mysql replication driver ? or maybe peristence.xml ?
Have you searched the required property in mysql driver's documentation ? -
2. Re: Mysql replication and JBOSS
tricky Feb 20, 2008 12:16 AM (in response to tricky)I did "setReadOnly" but it cannot be set - using netbeans. When i set it manually in xml it doesn't work and EnitytManager always makes selects from master database
-
3. Re: Mysql replication and JBOSS
vickyk Feb 28, 2008 11:13 PM (in response to tricky)"tricky" wrote:
I did "setReadOnly" but it cannot be set - using netbeans. When i set it manually in xml it doesn't work and EnitytManager always makes selects from master database
I don't think setReadOnly would be the property which would set the replication feature , I was expecting the driver property containing such info .
Where did you findout that setting the readOnly will be helpful ? -
4. Re: Mysql replication and JBOSS
edavis Jun 20, 2008 2:02 PM (in response to tricky)Did you managed to get it working? I need the same