[JBoss-dev] JBOSS CMP - relations not using DefaultDS

2002-06-14 Thread Dave Smith
If I have two tables a nd b that are related with a forgien key but the tables are not in the default datasource it tries to bind the relation to the default datasource. In JDBCCMRFieldBridge.java it should set the default Datasource for the relation from the JDBCEntityBridge.java. If it is

Re: [JBoss-dev] JBOSS CMP - relations not using DefaultDS

2002-06-14 Thread Dain Sundstrom
Dave Smith wrote: If I have two tables a nd b that are related with a forgien key but the tables are not in the default datasource it tries to bind the relation to the default datasource. In JDBCCMRFieldBridge.java it should set the default Datasource for the relation from the

Re: [JBoss-dev] JBOSS CMP - relations not using DefaultDS

2002-06-14 Thread Dave Smith
Sorry.. I was trying give the solution the same time as the problem. My problem is if you are using foreign-key-mapping with two tables that are not in the default datasource the relation tries to execute the sql command on the default datasource. For table mapping you can specify the datasource

Re: [JBoss-dev] JBOSS CMP - relations not using DefaultDS

2002-06-14 Thread Dave Smith
Sorry.. I was trying give the solution the same time as the problem. My problem is if you are using foreign-key-mapping with two tables that are not in the default datasource the relation tries to execute the sql command on the default datasource. For table mapping you can specify the datasource