Hibernate PersistentSet remove not working


if you have trouble removing an object from a persistent set in hibernate, there is a bug in equals and hashcode

see it here

If you have this problem you can do things like creating a new set and adding the current set excluding the one that you want to remove etc.

I hope it is fixed quickly.

2 thoughts on “Hibernate PersistentSet remove not working

  1. God, thanks man. You just saved my life.
    I’ve been searching for the cause of this issue all day long now.
    Damn you Hibernate!
    That bug still ain’t fixed!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s