How can I pass the parameter to mysql datasource? For example, I would like to set the parameter zeroDateTimeBehavior=convertToNull for the MySql datasource. How to do it?
Thanks.
Add the parameter to the connection-url in the *-ds.xml file. See http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors for an example.