I'm using JBoss 4.2.2GA version. IDE used is oracle jdeveloper for enterprise java applications based on ejb2.Database used is Mysql.
I have created ear from the IDE oracle jdeveloper .Copied the ear to Jboss deploy directory and manually made jboss-cmp-jdbc.xml and added it along with ejb-jar.xml and deployed successfully. My problem is I cudn't deploy my ear directly to jboss from jdeveloper.
The error appearing is
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 't0_Opnewregistration.regNo' in 'field list'.Opnewregistration is one of the ejbs used and regNo is fieldname.