The type-mapping is used only for container-managed-persistence(CMP) for EJB 2.x. If you are not using that, you can ignore it. It has no bearing on the database connection itself - for that, only the contents of the *-ds.xml file matter.
Reply to this message by going to Community
Start a new discussion in JCA at Community