Solved

CMP and database field mapping

Posted on 2002-03-09
2
227 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
Comment Utility
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
Comment Utility
Glad to be of assistance.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now