Solved

EJB Entity Bean  instance field mapping

Posted on 2010-08-22
2
446 Views
Last Modified: 2013-12-29
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
Comment
Question by:cofactor
2 Comments
 
LVL 20

Accepted Solution

by:
a_b earned 100 total points
Comment Utility
Nothing will happen. You  can keep unmapped fields in your entity beans.
0
 
LVL 5

Expert Comment

by:afibarra
Comment Utility
Nothing happens. Just be sure to annotate them with @Transient, otherwise they will be treated as a column fields.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This video teaches viewers about errors in exception handling.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now