Solved

EJB Entity Bean  instance field mapping

Posted on 2010-08-22
2
450 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
V.simple question about Android packages and libraries 1 29
session migration servlets 2 42
javap not working 8 58
restrict decimal places for double datatype 10 19
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

860 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