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.
OH, and welcome to the JBoss forums!
Thanks for you response, it was very usefull.