Interviewer And Interviewee Guide

Java EJB Programming Interview Question:

Can the primary key in the entity bean be a Java primitive type such as int?

Submitted by: Administrator
The primary key can't be a primitive type. Use the primitive wrapper classes, instead. For example, you can use java.lang.Integer as the primary key class, but not int (it has to be a class, not a primitive).
Submitted by: Administrator

Read Online Java EJB Programming Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.

Interview Questions Answers .ORG