[jboss-user] [EJB 3.0] - Re: java.lang.ClassCastException when listing objects

valjjou do-not-reply at jboss.com
Wed Apr 11 11:05:44 EDT 2007


I try differents request but i have the same exception, so i think it's a pb with my database... 
Here is mi contact-ds.xml on jboss/server/default/deploy :

<?xml version="1.0" encoding="UTF-8"?>
  | <datasources>
  | <local-tx-datasource>
  | <jndi-name>ContactDS</jndi-name>
  | <connection-url><![CDATA[jdbc:mysql://localhost:3306/contact]]></connection-url>
  | <driver-class>com.mysql.jdbc.Driver</driver-class>
  | <user-name>contact</user-name>
  | <password>contact</password>
  | <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>mySQL</type-mapping>
  | </metadata>
  | </local-tx-datasource>
  | </datasources>

Thanks for your help

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036405#4036405

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036405



More information about the jboss-user mailing list