Solved

EJB Entity Bean  instance field mapping

Posted on 2010-08-22
2
449 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
ID: 33498015
Nothing will happen. You  can keep unmapped fields in your entity beans.
0
 
LVL 5

Expert Comment

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

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JUnit 4 @Before and @BeforeClass differences 3 59
servlet doXXX methods 3 49
going to wrong jsp page 2 20
JAVA API design with micro service cloud in mind 1 16
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

773 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