Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void excluir(ModeloObjeto modelo) throws Exception{
- Connection conexao = CriaConexao.getConexao();
- PreparedStatement ps;
- ps = conexao.prepareCall("DELETE FROM `funcionalidade_celular` WHERE `nome_cel` LIKE ?");
- ps.setString(1, "'"+modelo.getModelo()+"'");
- executar(ps);
- }
Add Comment
Please, Sign In to add comment