Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejbCreate

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic