Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbCreate  RSS feed

 
RAMA KRISHNA AALLA
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what do the following methods return to the EJB 2.0 compliant container?

public Long ejbCreate(THstTStudentexitLocalDTO newTHstTStudentexitLocalDTO)
{
setSteNExitidPk(newTHstTStudentexitLocalDTO.getSteNExitidPk()); // setting primary key field
setErmMExitreasonidFk(newTHstTStudentexitLocalDTO.getErmMExitreasonidFk());
setSteFExitType(newTHstTStudentexitLocalDTO.getSteFExitType());
setSteDExitdate(newTHstTStudentexitLocalDTO.getSteDExitdate());
setModifydate(newTHstTStudentexitLocalDTO.getModifydate());
setModifyuser(newTHstTStudentexitLocalDTO.getModifyuser());
return newTHstTStudentexitLocalDTO.getSteNExitidPk();
}

public Long ejbCreate(THstTStudentexitLocalDTO newTHstTStudentexitLocalDTO)
{
setSteNExitidPk(newTHstTStudentexitLocalDTO.getSteNExitidPk()); // setting primary key field
setErmMExitreasonidFk(newTHstTStudentexitLocalDTO.getErmMExitreasonidFk());
setSteFExitType(newTHstTStudentexitLocalDTO.getSteFExitType());
setSteDExitdate(newTHstTStudentexitLocalDTO.getSteDExitdate());
setModifydate(newTHstTStudentexitLocalDTO.getModifydate());
setModifyuser(newTHstTStudentexitLocalDTO.getModifyuser());
return null;
}
 
RAMA KRISHNA AALLA
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm sorry i should have post the question on EJB certification instead SCWCD
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!