EJB Entity Bean instance field mapping

Is it necessary that Entity Bean's  all  instance fields have to be  mapped to the database table columns ?  If I keep an instance field unmapped , what will happen ?
cofactorAsked:
Who is Participating?
 
a_bConnect With a Mentor Commented:
Nothing will happen. You  can keep unmapped fields in your entity beans.
0
 
afibarraCommented:
Nothing happens. Just be sure to annotate them with @Transient, otherwise they will be treated as a column fields.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.