What <type-mapping>value should I use in my *-ds.xml files in JBoss?

Solution Verified - Updated -

Issue

  • What <type-mapping> in *-ds.xml should be used for Oracle11g and MS SQLServer2008?
  • The following exception occurs:
    java.lang.IllegalStateException: Cannot obtain type mapping from: jboss.jdbc:datasource=DefaultDS,service=metadata
    

Environment

  • JBoss Enterprise Application Platform (EAP) 4.3
  • JBoss Enterprise Application Platform (EAP) 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.