• 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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!