on-internet
← Community

java.lang.IllegalArgumentException: attempt to create delete event with null entity

Stack Overflow ·

Cann't delete/update items from database.This exception is coming when try to delete item And this form get a combo box value from MainCategory class and having a foreign key of MainCtegory.Is that the reason that not allow to delete/update. package com.auction management.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; @

Comments

Sign in or sign up to comment and upvote.

No comments yet.