Hi.
I have a cmp bean defined on my sun-j2ee.xml file. I have an cmp2.0 as follows:
<ejb20-cmp>
(...)
<sql-statement>
createRow
INSERT INTO "Aluno" ( "cPF" , "dtNascimento" , "email" , "estadoCivil" , "idAluno" , "idEndereco" , "matricula" , "nomeAluno" , "rG" , "senha" , "sexo" ) VALUES ( ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )
</sql-statement>
But, Jboss insists in use this SQL instead to insert:
2003-01-07 18:07:26,545 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.MTAluno] Insert Entity SQL: INSERT INTO MTAluno (idAluno, rG, idEndereco, matricula, cPF, senha, estadoCivil, sexo, nomeAluno, email, dtNascimento) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
which I could change on jbosscmp-jdbc.xml. Ok, but I don´t want to change it becouse I don´t want to repeat it again. Why should I repeat it ?
Thanks.