0 Replies Latest reply on Jul 7, 2006 12:11 PM by innojasa

    accessing tables that are not entities

    innojasa

      Hi

      i have a little problem with tables that are not entities. I have an application that uses the datasource called "applicationDS". May JBoss runs on the datasource "DefaultDS" both datasources are running with mysql. So my applicaton works very well if it is mapped to datasource "DefaultDS" but when i map my application to the datasource "applicationDS" i got the error

      table not found

      This is only with a table that is not an entity table(table from a relation) it is a table that comes from domainmodel like this

      domainclass_a * --- * domain_class_b(many to many relation)

      The problem is that only this table use the datasource "DefaultDS" and not the datasource configured in the jboss-jdbc.xml file of the application.

      I hope someone can help me.

      Thanks Thorsten