Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 456
  • Last Modified:

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 ?
0
cofactor
Asked:
cofactor
1 Solution
 
a_bCommented:
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now