Solved

CMP and database field mapping

Posted on 2002-03-09
2
233 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 50 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.

726 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