Boa tarde,
Estou tentando implementar um cadastro utilizando o CachedRowSetDataProvider , porem na hora do commit ele de um erro informando que não exite colunas na tabela.
Segue o código do action do botão:
try {
RowKey rk = getLocalDataProvider().appendRow() ;
getLocalDataProvider().setCursorRow(rk) ;
getLocalDataProvider().setValue("LOCAL.idloc", new Integer(0));
getLocalDataProvider().setValue("LOCAL.nomeLocal",(String)txtLocal.getValue());
getLocalDataProvider().setValue("LOCAL.email",(String)txtEmail.getValue());
getLocalDataProvider().commitChanges() ;
pageAlert1.setVisible(true);
info("Inclusão efetuada com sucesso!") ;
getLocalDataProvider().refresh(); // release rowset memory.
} catch (Exception ee) {
error( ee.getMessage() ) ;
}
Já verifiquei o nome da tabela, no caso é local mesmo!
O que pode ser?!?!?!
Valeu