datasource contains broken type-mapping element

Description

I just generated a fresh project using generator build from a recent checkout from cvs. The projekct was generated to use jsf, spring and hibernate (2).

The datasource-definition used looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<!-- JBoss Server DataSource -->
<datasources>
<local-tx-datasource>
<jndi-name>jdbc/ccmweb</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/ccmweb</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>sa</user-name>
<password></password>
<!-- <check-valid-connection-sql>select 1 from dual</check-valid-connection-sql> -->
<!-- Checks for error codes and messages for fatal errors
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
-->
<!-- Corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
<metadata>
<type-mapping>${jboss.typeMappings}</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>

Note the broken type-mapping element.

Environment

jdk 1.5.0_06

Assignee

Former user

Reporter

LeifL

Labels

None

Affects versions

Priority

Major
Configure