Wednesday, 20 April 2016

What is the use of making an persistent class immutable in Hibernate ?


If you are sure that the table values will not change once they are created, you can mark the class as immutable.

By making an entity immutable, we can disable any updates to it.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.