Meaningless Drivel is fun!*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes ejbCreate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "ejbCreate" Watch "ejbCreate" New topic
Author

ejbCreate

RAMA KRISHNA AALLA
Greenhorn

Joined: Aug 10, 2005
Posts: 29
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

Joined: Aug 10, 2005
Posts: 29
i'm sorry i should have post the question on EJB certification instead SCWCD
 
Don't get me started about those stupid light bulbs.
 
subject: ejbCreate
 
Similar Threads
primary key generation in CMP
Queries on Entity Beans
BMP without Primary key
ejbCreate()
can setter methods exist for primary key?