Solved

CMP and database field mapping

Posted on 2002-03-09
2
231 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
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java Server Faces parameter pass? 6 50
ForLoop Example 3 49
hibernate jars 4 32
CSV file parsing thru Java 13 31
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…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

821 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