Alreadu answered in another forum
Again only a partial reply!
Perhaps there is a certain level of experience assumed by the replying author. I for one find the multitude of different XML files extremely confusing!
As it happens I have received a detailed comprehensive reply from another source.
I'll be posting the outcome in the FAQ section.
Maybe you are write that it is confusing.
For me as well.
But i'm not a total newbe anymore. It has to do with cmp2 that needs a default mapping to tables and columns. This is done in the j2ee file called ?????.
But after that the tables and column defenitions are not tied to a database. This is done in the jdbc-cmp2.xml (Not the correct name but you know ehich one).
This connection is only a jndi name. This jndi name is tied to a real database in the mysql ... service.xml.
This is how i understand the cmp2 stuff.