?
Solved

CMP and database field mapping

Posted on 2002-03-09
2
Medium Priority
?
235 Views
Last Modified: 2013-11-24
in a EJB CMP, do you have to map all the coloums/field in the table?
Ex.  I have 10 coloumns/fields but in my cmp i just use the first 3 in my cmp and in  my mapping in the discriptors?

Thanks
0
Comment
Question by:netizen1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
stephendl earned 150 total points
ID: 6861304
I have succesfully created an Entity bean without mapping all of the table columns.

That said, it may depend on the Application server.

Have you tried it? Did it give an error?
0
 

Expert Comment

by:stephendl
ID: 6934240
Glad to be of assistance.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
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.
Suggested Courses
Course of the Month15 days, 3 hours left to enroll

771 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