Menu

not show error message when I trying to remove a table referenced by another

Anonymous
2013-07-15
2013-07-18
  • Anonymous

    Anonymous - 2013-07-15

    when I try to remove a table referenced by another table it's not removed and no error is shown on webpage. I only view error in console debug:

    Console error:
    WARNING: javax.ejb.EJBException: Transaction aborted
    at com.sun.ejb.containers.EJBContainerTransactionManager.completeNewTx(EJBContainerTransactionManager.java:725)
    ...
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails...

     
  • Kay Wrobel

    Kay Wrobel - 2013-07-15

    You mean you're trying to delete a record that has child records in another table? Is that what you're doing (not really clear from your post).

     
  • Anonymous

    Anonymous - 2013-07-15

    Sorry, sorry, this works. I show the growl message.

     
  • Kay Wrobel

    Kay Wrobel - 2013-07-18

    Ah, good. Thanks.

     

Anonymous
Anonymous

Add attachments
Cancel