lundi 18 juin 2018

Entity class with over 150 fields (members) in java

I have developed an application where I am worried about design I have used. So need experts opinion.

I have defined more then 150 fields in single entity class and all fields have data type String. Will it create any performance or memory leakage issue?

Some times I observer Meta space issue during deployment . Is this something related with my entity where I have defined over 150 fields in single entity class.

Since different modules of our project have many common fields. So to avoid duplicate fields , I merged them all in single entity.

Many Thanks

Aucun commentaire:

Enregistrer un commentaire