From: Vance K. (JIRA) <ji...@an...> - 2006-04-11 01:40:11
|
[ http://jira.andromda.org/browse/ANDROMDAPP-13?page=all ] Work on ANDROMDAPP-13 started by Vance Karimi > datasource contains broken type-mapping element > ----------------------------------------------- > > Key: ANDROMDAPP-13 > URL: http://jira.andromda.org/browse/ANDROMDAPP-13 > Project: AndroMDApp Project Generator > Type: Bug > Versions: 3.2-RC1 > Environment: jdk 1.5.0_06 > Reporter: Leif Johansson > Assignee: Vance Karimi > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |